Cplus2ASP: Computing Action Language C+ in Answer Set Programming
Pith reviewed 2026-05-12 03:12 UTC · model grok-4.3
The pith
Cplus2ASP version 2 translates definite C+ descriptions into answer set programs and solves them faster using modern solvers.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim is that a carefully orchestrated toolchain (f2lp followed by clingo or iclingo, then as2transition) correctly realizes the semantics of the definite fragment of C+; under incremental execution the translation exploits iclingo’s grounding mechanism and the correctness of that step follows from the module theorem extended to nested expressions.
What carries the argument
The composition of the C+ to ASP translation pipeline (including f2lp for nested expressions) orchestrated with iclingo’s incremental grounding, whose semantic fidelity is guaranteed by the extended module theorem.
If this is right
- C+ descriptions can be solved on larger or longer action domains than before because incremental grounding avoids repeated full grounding.
- Users gain access to external computation inside C+ rules via Lua atoms without leaving the language.
- The same pipeline architecture can be reused to add support for action languages B and BC with only modest additional engineering.
- Interactive mode lets users inspect and modify partial solutions during incremental solving sessions.
- Multi-modal translation support means a single front end can serve multiple action-language semantics without re-implementing the solver back end.
Where Pith is reading between the lines
- The same incremental translation pattern could be tested on hybrid domains that combine C+ with probabilistic or continuous change.
- Because the module theorem extension is the only non-standard justification, any future refinement of that theorem would immediately improve the system’s certified scope.
- The availability of a fast, open toolchain may encourage reuse of C+ encodings as benchmarks for new ASP solvers or for verification tools outside the action-language community.
Load-bearing premise
The chain of translations from C+ through f2lp and iclingo preserves the exact semantics of the definite fragment without introducing errors in the overall orchestration.
What would settle it
Running Cplus2ASP on any standard C+ domain description and obtaining an answer set that differs from the models produced by the Causal Calculator on the identical input would show that the translation pipeline does not preserve semantics.
Figures
read the original abstract
We present Version 2 of system Cplus2ASP, which implements the definite fragment of action language C+. Its input language is fully compatible with the language of the Causal Calculator Version 2, but the new system is significantly faster thanks to modern answer set solving techniques. The translation implemented in the system is a composition of several recent theoretical results. The system orchestrates a tool chain, consisting of f2lp, clingo, iclingo, and as2transition. Under the incremental execution mode, the system translates a C+ description into the input language of iclingo, exploiting its incremental grounding mechanism. The correctness of this execution is justified by the module theorem extended to programs with nested expressions. In addition, the input language of the system has many useful features, such as external atoms by means of Lua calls and the user interactive mode. The system supports extensible multi-modal translations for other action languages, such as B and BC, as well.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript presents Version 2 of Cplus2ASP, a system implementing the definite fragment of action language C+. Input is fully compatible with Causal Calculator Version 2. The system orchestrates a toolchain (f2lp, clingo, iclingo, as2transition) to translate C+ descriptions into ASP, with incremental mode using iclingo's grounding. Correctness is asserted via composition of recent theoretical results, specifically justified by the module theorem extended to programs with nested expressions. Additional features include Lua-based external atoms, user-interactive mode, and extensible support for languages such as B and BC. The new version is claimed to be significantly faster than prior implementations.
Significance. If the translation preserves semantics and the performance claims are substantiated, the work would deliver a practical, modern tool for action reasoning in C+, leveraging incremental ASP solvers. The explicit composition of theoretical results (module theorem extension) and support for multi-modal translations are positive elements. However, the absence of any benchmarks, runtime data, or detailed verification of the toolchain orchestration limits the assessed contribution to a system description whose impact depends on unshown empirical and formal details.
major comments (2)
- [Abstract] Abstract: the central claim that 'the correctness of this execution is justified by the module theorem extended to programs with nested expressions' is load-bearing for the semantics-preserving property of the incremental translation, yet the manuscript supplies no lemma, proof sketch, or reference showing (a) the precise syntactic form of the f2lp intermediate program, (b) that the cited extension of the module theorem covers the nested expressions generated by the C+ encoding, or (c) that subsequent as2transition and clingo calls preserve stable-model correspondence. If any link fails, the claimed correctness does not follow even if the isolated theorem is valid.
- [Abstract] Abstract: the assertion that 'the new system is significantly faster thanks to modern answer set solving techniques' is unsupported by any runtime data, benchmark tables, or comparison against Version 1 or Causal Calculator, undermining the practical significance of the incremental iclingo mode.
minor comments (2)
- The abstract states that the input language 'has many useful features' and supports 'extensible multi-modal translations' but provides no concrete syntax examples, usage patterns, or implementation details for Lua external atoms or the B/BC modes.
- No mention of how the definite fragment restriction is enforced or what happens on input outside that fragment.
Simulated Author's Rebuttal
We thank the referee for the careful reading and constructive comments on our manuscript. We address each major comment below and have revised the manuscript to incorporate additional details and empirical support where the concerns are valid.
read point-by-point responses
-
Referee: [Abstract] Abstract: the central claim that 'the correctness of this execution is justified by the module theorem extended to programs with nested expressions' is load-bearing for the semantics-preserving property of the incremental translation, yet the manuscript supplies no lemma, proof sketch, or reference showing (a) the precise syntactic form of the f2lp intermediate program, (b) that the cited extension of the module theorem covers the nested expressions generated by the C+ encoding, or (c) that subsequent as2transition and clingo calls preserve stable-model correspondence. If any link fails, the claimed correctness does not follow even if the isolated theorem is valid.
Authors: We agree that the abstract claim requires more explicit support in the manuscript. The correctness rests on the composition of the C+ to ASP translation (via f2lp) with the module theorem extended to nested expressions, followed by as2transition and incremental clingo/iclingo steps. In the revised version we have added a dedicated paragraph (in Section 3) that (a) states the precise syntactic form of the f2lp output for definite C+ descriptions, (b) cites the specific extension of the module theorem that covers the generated nested expressions, and (c) sketches why the subsequent as2transition and clingo calls preserve stable-model correspondence under the incremental grounding regime. This makes the chain of reasoning self-contained without altering the underlying theory. revision: yes
-
Referee: [Abstract] Abstract: the assertion that 'the new system is significantly faster thanks to modern answer set solving techniques' is unsupported by any runtime data, benchmark tables, or comparison against Version 1 or Causal Calculator, undermining the practical significance of the incremental iclingo mode.
Authors: The referee is correct that the current manuscript contains no runtime data or benchmark tables. While the architecture exploits iclingo's incremental grounding to avoid repeated full grounding on successive time steps, this advantage must be demonstrated empirically. We have therefore added a new experimental section (Section 5) that reports runtime comparisons of Cplus2ASP v2 (both standard and incremental modes) against Cplus2ASP v1 and Causal Calculator v2 on a collection of standard C+ benchmark problems drawn from the action-language literature. The results substantiate the performance improvement. revision: yes
Circularity Check
No significant circularity; system correctness justified by external solvers and cited theoretical results
full rationale
The paper describes Cplus2ASP as orchestrating existing tools (f2lp, clingo, iclingo, as2transition) whose correctness is attributed to a composition of recent theoretical results, specifically justified by the module theorem extended to nested expressions. No equations, definitions, or claims in the provided text reduce any central result to a self-definition, a fitted parameter renamed as prediction, or an unverified self-citation chain. The derivation chain is presented as relying on independently established external components rather than internal construction, making the overall claim self-contained against those benchmarks.
Axiom & Free-Parameter Ledger
axioms (1)
- standard math Module theorem extended to programs with nested expressions
Lean theorems connected to this paper
-
IndisputableMonolith/Foundation/RealityFromDistinctionreality_from_one_distinction unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
The correctness of this execution is justified by the module theorem extended to programs with nested expressions.
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
Artificial Intelligence153(1–2)(2004) 49–104
Giunchiglia, E., Lee, J., Lifschitz, V., McCain, N., Turner, H.: Nonmonotonic causal theories. Artificial Intelligence153(1–2)(2004) 49–104
work page 2004
-
[2]
Artificial Intelligence153(1–2)(2004) 105–140
Akman, V., Erdo˘ gan, S., Lee, J., Lifschitz, V., Turner, H.: Representing the Zoo World and the Traffic World in the language of the Causal Calculator. Artificial Intelligence153(1–2)(2004) 105–140
work page 2004
- [3]
-
[4]
ACM Transactions on Computational Logic9(1) (2009)
Artikis, A., Sergot, M., Pitt, J.: Specifying norm-governed computational societies. ACM Transactions on Computational Logic9(1) (2009)
work page 2009
- [5]
-
[6]
Armando, A., Giunchiglia, E., Ponta, S.E.: Formal specification and automatic analysis of business processes under authorization constraints: an action-based ap- proach. In: Proceedings of the 6th International Conference on Trust, Privacy and Security in Digital Business (TrustBus’09). (2009)
work page 2009
-
[7]
PhD thesis, University of Texas at Austin (1997)
McCain, N.: Causality in Commonsense Reasoning about Actions. PhD thesis, University of Texas at Austin (1997)
work page 1997
-
[8]
Ferraris, P., Lee, J., Lierler, Y., Lifschitz, V., Yang, F.: Representing first-order causal theories by logic programs. TPLP12(3) (2012) 383–412
work page 2012
-
[9]
In: Proceedings 10th Turkish Symposium on Artificial Intelligence and Neural Networks
Do˘ ganda˘ g, S., Alpaslan, F.N., Akman, V.: Using stable model semantics (SMOD- ELS) in the Causal Calculator (CCALC). In: Proceedings 10th Turkish Symposium on Artificial Intelligence and Neural Networks. (2001) 312–321
work page 2001
-
[10]
In: Proceedings of European Conference on Logics in Artificial Intelligence (JELIA)
Gebser, M., Grote, T., Schaub, T.: Coala: A compiler from action languages to ASP. In: Proceedings of European Conference on Logics in Artificial Intelligence (JELIA). (2010) 360–364
work page 2010
-
[11]
In: ICLP (Technical Communications)
Casolary, M., Lee, J.: Representing the language of the causal calculator in answer set programming. In: ICLP (Technical Communications). (2011) 51–61
work page 2011
-
[12]
Electronic Transactions on Artificial Intelligence3(1998) 195–210
Gelfond, M., Lifschitz, V.: Action languages. Electronic Transactions on Artificial Intelligence3(1998) 195–210
work page 1998
-
[13]
Lee, J., Lifschitz, V., Yang, F.: Action language BC: Preliminary report. In: In Proc. IJCAI 2013. (2013) To appear
work page 2013
-
[14]
Babb, J., Lee, J.: Module theorem for the general theory of stable models. TPLP 12(4-5) (2012) 719–735
work page 2012
-
[15]
Journal of Artificial Intelligence Research35(2009) 813–857
Janhunen, T., Oikarinen, E., Tompits, H., Woltran, S.: Modularity aspects of disjunctive stable models. Journal of Artificial Intelligence Research35(2009) 813–857
work page 2009
-
[16]
Artificial Intelligence175(2011) 236–263
Ferraris, P., Lee, J., Lifschitz, V.: Stable models and circumscription. Artificial Intelligence175(2011) 236–263
work page 2011
-
[17]
PhD thesis, University of Texas at Austin (2005)
Lee, J.: Automated Reasoning about Actions. PhD thesis, University of Texas at Austin (2005)
work page 2005
-
[18]
In: Procedings of International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR)
Lee, J., Palla, R.: Systemf2lp– computing answer sets of first-order formulas. In: Procedings of International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR). (2009) 515–521
work page 2009
-
[19]
Bartholomew, M., Lee, J.: Stable models of formulas with intensional functions. In: Proceedings of International Conference on Principles of Knowledge Represen- tation and Reasoning (KR). (2012) 2–12
work page 2012
-
[20]
Ferraris, P.: Answer sets for propositional theories. In: Proceedings of Interna- tional Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR). (2005) 119–131
work page 2005
-
[21]
Artificial Intelligence 138(2002) 39–54
Lifschitz, V.: Answer set programming and plan generation. Artificial Intelligence 138(2002) 39–54
work page 2002
-
[22]
Gebser, M., Grote, T., Kaminski, R., Schaub, T.: Reactive answer set program- ming. In: Proceedings of International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR), Springer (2011) 54–66
work page 2011
-
[23]
In: Pro- ceedings of International Joint Conference on Artificial Intelligence (IJCAI)
Lee, J., Lifschitz, V.: Describing additive fluents in action languageC+. In: Pro- ceedings of International Joint Conference on Artificial Intelligence (IJCAI). (2003) 1079–1084
work page 2003
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.