REVIEW 3 major objections 5 minor 14 references
EZSMT Version 3, Matured
T0 review · 3 major / 5 minor · reviewed 2026-08-02 · deepseek-v4-flash
Pith's one-line read EZSMTV3 claims that constraint answer-set programs in four arithmetic logics — LIA, LRA, LIRA, and IDL — can be solved by grounding them, computing completion and level rankings, translating to SMT-LIB, and letting off-the-shelf SMT solvers
desk verdict A real system artifact with a genuine hole: the weak-constraint semantics diverge from ASP-Core-2 when duplicate labels collapse, so the optimization feature needs proof or a fix before the paper can be trusted. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing device is the completion-and-level-ranking translation: completion turns a CAS program into an SMT formula whose models over-approximate its answer sets, and, for non-tight programs, integer level-ranking atoms of the form |lr_a − lr_b ≥ 1| cut the over-approximation back to the true answer sets. Around that core, EZSMTV3 wraps a GRINGO-5 #theory grammar for each supported logic, an ASPIF reader with type assignment for integer versus real variables, and a solver interface that emits SMT-LIB and uses incremental solving to enumerate multiple (extended) answer sets. For optimization, the new mechanism is the weak-constraint rewriting: after grounding, each weak constraint bec
What would settle it
Take the o-program (P1, W1) from Example 7, whose true optimal answer sets are {c} and {c, |x ≥ 12|}, and run EZSMTV3 with weak constraints on it. If the system returns {a, b} — the unique pw-optimal answer set — as optimal, then GRINGO's normalization plus the w-system rewriting has changed the optimization semantics. More generally, brute-force enumerate optimal answer sets for all gringo o-programs up to a few atoms and compare with EZSMTV3's answers; the first mismatch refutes the optimization claim.
Extended reading notes
Core claim
The central claim is that the translational approach to CASP can act as a maturation framework: EZSMTV3 is a multi-stage pipeline — GRINGO 5 grounding under per-logic #theory grammars, ASPIF parsing, completion and level ranking, SMT-LIB emission, incremental SMT solving — that supports tight and non-tight programs in CAS(LIA), CAS(LRA), CAS(LIRA), and CAS(IDL). The system further claims that ASP-Core-2 weak constraints can be added to this pipeline soundly: after GRINGO normalizes weak constraints to a simpler gringo o-program form, w-system rewritings — positive-weight normalization, per-level rescaling, and collapse to level 1 — preserve pw-optimal answer sets, and by Proposition 2 these
Load-bearing premise
Optimization correctness rests on two unproved links: Proposition 2's condition that the set of weak-constraint tuples has the same cardinality as the weak-constraint set, and the claim that GRINGO's normalization of weak constraints produces gringo o-programs for which that condition and the w-system rewritings preserve optimal answer sets; if GRINGO introduces duplicate tuples or auxiliary atoms in a way that violates this, EZSMTV3's 'optimal' answer sets could be merely pw
Editorial extensions
If this is right
- Any improvement in SMT solving for QF_LIA, QF_LRA, QF_IDL, or AUFLIRA becomes an improvement in EZSMTV3 automatically, since the interface is standard SMT-LIB.
- Programs written for EZSMTV3's CAS(LIA) fragment can also be run by CLINGCON, and the CAS(LRA) and CAS(IDL) fragments align with CLINGO[LP] and CLINGO[DL], so shared encodings permit direct cross-system comparison.
- Weak-constraint optimization extends the framework to minimization and maximization problems, and the anytime behavior means a user can interrupt and keep the best answer set found so far.
- Non-tight programs are handled through configurable level-ranking schemes and upper bounds, giving users a trade-off between formula size and solving difficulty.
- The LIRA mode lets one encoding mix integer and real decision variables, opening domains such as hybrid planning to declarative CASP modeling without a dedicated solver.
Reading between the lines
- If the pipeline is as modular as claimed, the natural next step is to treat CASP as a logic-programming front-end to SMT-LIB: new theories such as arrays, bit-vectors, or strings would enter by adding a GRINGO #theory block and small reader and type-handling rules, not by writing a solver.
- The unformalized GRINGO normalization of weak constraints is where the optimization correctness argument has a gap; a formal specification of that normalization, or a brute-force differential test over thousands of small o-programs, would close or refute it.
- The experimental gap between CLINGCON on LIA and EZSMTV3 suggests the next performance leap lies in translating aggregate expressions such as #sum more cleverly, not in making the completion-to-SMT translation faster.
- Because the same encoding can be handed to four different SMT solvers, per-instance solver selection or portfolio solving is a cheap robustness improvement; the reported data already show CVC4 and CVC5 beating Z3 on LIRA and Yices leading on some IDL runs.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper presents EZSMTV3, an SMT-based constraint answer set programming framework that extends the earlier EZSMT+ system. The system uses GRINGO 5 with user-defined theory specifications for grounding, applies completion and level-ranking routines inherited from CMODELS(DIFF), translates the result into SMT-LIB, and uses CVC4/CVC5/Yices/Z3 to enumerate (extended) answer sets. The new features are support for CAS(LRA), CAS(LIRA), and CAS(IDL) languages in addition to CAS(LIA), and weak-constraint optimization. The paper defines a formal semantics for weak constraints over CAS programs, describes the implementation of the optimization interface via Lierler's w-system rewritings, and reports cumulative-time experiments on shared encodings against CLINGCON, CLINGO[LP], and CLINGO[DL].
Significance. If the weak-constraint issue is resolved, the paper has real value: the system and benchmarks are hosted, the encodings are shared across compared systems, no parameters are fitted to benchmark data, the architecture is modular, and the LIRA support is genuinely unique among the compared peers. The experimental presentation is honest, including the explicit admission that CLINGCON is superior on many CAS(LIA) instances. The completion/level-ranking translation builds on published, externally grounded work. However, the central new feature—weak-constraint optimization—is not yet established as sound for ASP-Core-2 programs; this is a correctness-level concern, not a presentation issue.
major comments (3)
- [Section 4, Definition 6 and Example 7] Definition 6 defines weak(P,X) as a set of tuples (w@ℓ,t1,...,tn), so the level cost P^X_ℓ sums the weight only once when several satisfied weak constraints carry the same (w@ℓ, terms). This is not the ASP-Core-2 semantics cited at the start of Section 4. In Example 7, W1 contains three weak constraints with weight −1@1 and no terms. Under ASP-Core-2, the answer set {a,b} satisfies all three and has level-1 cost −3, whereas {c} has cost −2 (from :∼ c. [−2@1]); thus {a,b} is the unique optimal answer set. The paper instead declares {c} and {c,|x≥12|} optimal, reflecting a set-based cost in which the three −1@1 constraints contribute once in total. If EZSMTV3 is to claim support for ASP-Core-2 weak constraints, the objective must count each grounded weak constraint whose body holds; as written, the paper defines a nonstandard optimization semantics. Please either implement and prove the st
- [Section 4.1, Proposition 2 and the GRINGO normalization claim] The soundness bridge for the implementation rests on two unproved assertions: (i) Proposition 2, stated without proof, and (ii) the claim that GRINGO rewrites every optimization program into a 'gringo o-program' whose weak-constraint labels are unique, after which Lierler's pw-optimality-preserving rewritings apply. The paper explicitly declines to formalize GRINGO's normalization ('Here we avoid describing formally the procedure implemented within GRINGO for "normalizing" optimization statements'). The illustrative rewriting of W1 in Section 4.1 merges the three weak constraints :∼ a, :∼ b, :∼ a,b into a single auxiliary rule aux1 plus :∼ aux1 [−1@1]; this is precisely the step that changes the objective from the sum over satisfied weak constraints to an indicator. Without a formal description of GRINGO's actual behavior (or a direct proof that it preserves ASP-Core-2 costs), Propositio
- [Section 4.1, Example 9 and the optimal vs pw-optimal distinction] Example 9 shows that for W1 the optimal and pw-optimal answer sets differ: the set-based optimal is {c}, while the pw-optimal is {a,b}. This is exactly the difference between Definition 6 and the standard per-instance sum semantics. The paper's subsequent claim that 'any gringo o-program satisfies the if-condition of Proposition 2' is therefore the load-bearing step, but it is asserted rather than proved. Even if the reader accepts Lierler's rewritings as preserving pw-optimality, the leap to Definition-6-optimality for the original program depends entirely on the unformalized GRINGO normalization. The manuscript should either state clearly that EZSMTV3 optimizes a set-based objective, or supply the missing equivalence proof.
minor comments (5)
- [Section 3.1.2, bullet list] The line 'Lines 30-35 are due to Line 12 in Listing 3...' is repeated twice verbatim. The second occurrence should be deleted or replaced with the intended explanation.
- [Section 3, first sentence] The text reads 'EZSMT V ersion 3' instead of 'EZSMT Version 3'; also the paper title on page 1 says 'EZSMT Version 3, Matured' while the body sometimes uses 'EZSMTV 3'. Please standardize the typography.
- [References] Calimeri et al. 2020a and 2020b are the same paper listed twice with different publication years/pages. Please consolidate to a single reference and use consistent citation keys.
- [Section 5, Figures 5-8] The notation for unsolved instances is ambiguous in some rows, e.g., 'E(YICES) 592.44 (100)' in Figure 7. If the parenthetical numbers are timeouts, the cumulative time should be much larger; if they denote something else (e.g., number of instances), please state this explicitly and clarify whether timeout instances contribute to the cumulative time.
- [Section 5, paragraph 1] The paper says 'all encodings used were identical for all systems involved' but later states that encodings were 'augmented with additional domain restrictions.' Please clarify that the shared encodings are identical only after the augmentation, and specify which systems used the augmented versions.
Circularity Check
No circular derivation: the translation from CAS programs to SMT and the weak-constraint optimization are stated from explicit definitions and prior published results; benchmark claims are external.
full rationale
The paper's core translation (completion + level rankings to SMT) is presented as a restatement of Lierler & Susman (2017) and Shen & Lierler (2018b), with definitions and formulas given in Sections 2.3 and 3.2; no parameter is fitted and no 'prediction' is derived from its own input. The weak-constraint feature is the only new piece, and it is developed by first defining optimization-program semantics (Definition 6/7), then characterizing 'gringo o-programs' by unique labels, then applying Lierler's published w-system rewritings. The claim that these rewritings preserve pw-optimal models is supported by citation to Lierler (2023b, 2024), which is peer-reviewed prior work, not a self-referential restatement of this paper's conclusions. The paper explicitly leaves GRINGO's normalization unformalized ('Here we avoid describing formally the procedure implemented within GRINGO for “normalizing” optimization statements', Section 4.1) and Proposition 2 is stated without proof; these are correctness/omission concerns about whether EZSMTV3's optimization matches ASP-Core-2 cost semantics, not circular reductions. Benchmarking is against external systems with identical encodings and is therefore independent evidence. Hence no circular step is demonstrated; at most there is minor reliance on same-author prior work, which does not push the score above low range.
Assumptions & free parameters
assumptions (6)
- standard math Stable models / answer sets are characterized by completion plus level ranking for nontight programs
- domain assumption The CAS-to-SMT translations in Figure 1 produce SMT formulas whose models coincide with extended answer sets
- domain assumption GRINGO 5 theory specifications and ASPIF output faithfully capture user CAS programs, including aggregate and theory-atom semantics
- domain assumption w-system rewritings preserve pw-optimal answer sets, and Proposition 2 links optimal and pw-optimal for gringo o-programs
- domain assumption CVC4/CVC5/Yices/Z3 correctly implement the SMT-LIB logics QF_LIA, QF_LRA, QF_IDL and AUFLIRA
- domain assumption SCC-based level ranking (default upper bound = SCC size) preserves answer-set semantics
Cite this review
Pith. "Pith review of EZSMT Version 3, Matured." pith.science (2026). https://pith.science/paper/YKVNBLCZ
@misc{pith2026260713344,
author = {Pith},
title = {Pith review of: EZSMT Version 3, Matured},
year = {2026},
howpublished = {\url{https://pith.science/paper/YKVNBLCZ}},
note = {Machine review of arXiv:2607.13344}
}
read the original abstract
Constraint Answer Set Programming (CASP) is a hybrid reasoning paradigm that combines Answer Set Programming (ASP) with Constraint Processing and Satisfiability Modulo Theories (SMT), enabling powerful declarative encodings of complex combinatorial search problems. This paper presents the design and implementation of EZSMTV3, an extensible SMT-based CASP framework that advances the translational approach to CASP solving. Building upon the foundation of the EZSMT+ system, EZSMTV3 introduces a more expressive input language, supports optimization via weak constraints, and offers foundations for streamlined integration of new constraint types. Rather than implementing custom search procedures, EZSMTV3 leverages state-of-the-art SMT solvers, such as CVC5, YICES, and Z3 to perform reasoning. The paper provides benchmarking results comparing EZSMTV3 with its CASP peers such as CLINGCON, CLINGO[DL], and CLINGO[LP], while showcasing its ability to handle mixed-domain constraints involving both integers and reals. The system provides a robust platform for future extensions and theoretical exploration within the CASP domain.
Figures
Figures from the paper (5 more)
Reference graph
Works this paper leans on
-
[8]
Leonardo De Moura and Nikolaj Bjørner
URL https://smt-comp.github.io/ 2021/system-descriptions/cvc5.pdf. Leonardo De Moura and Nikolaj Bjørner. Z3: An efficient smt solver. In International conference on Tools and Algorithms for the Construction and Analysis of Systems, pages 337–340. Springer,
2021
-
[9]
Smt-based answer set solver cmodels-diff (system description)
Da Shen and Yuliya Lierler. Smt-based answer set solver cmodels-diff (system description). In Technical Communications of the 34th International Conference on Logic Programming (ICLP 2018), 2018b. Benjamin Susman and Yuliya Lierler. Smt-based constraint answer set solver ezsmt (system description). In Technical Communications of the 32nd International Con...
2018
-
[12]
Enrico Giunchiglia, Yuliya Lierler, and Marco Maratea
doi: 10.1017/S1471068417000187. Enrico Giunchiglia, Yuliya Lierler, and Marco Maratea. Answer set programming based on propositional satisfiability. Journal of Automated Reasoning, 36:345–377,
-
[37]
URL http://dx.doi.org/10.1007/978-3-319-11558-0_37 . Tomi Janhunen, Roland Kaminski, Max Ostrowski, Torsten Schaub, Sebastian Schellhorn, and Philipp Wanko. Clingo goes linear constraints over reals and integers.CoRR, abs/1707.04053,
-
[2003]
Predicate logic as a modelling language: The IDP system
38 Broes de Cat, Bart Bogaerts, Maurice Bruynooghe, and Marc Denecker. Predicate logic as a modelling language: The IDP system. CoRR, abs/1401.6312,
-
[2006]
E´en and N
N. E´en and N. S¨orensson. An extensible SAT solver. In Proceedings of SAT-2003, pages 502–518,
2003
-
[2008]
Christian Drescher and Toby Walsh
available at https: //lirias.kuleuven.be/bitstream/123456789/229814/1/lash08.pdf. Christian Drescher and Toby Walsh. A translational approach to constraint answer set solving. Theory and Practice of Logic programming (TPLP), 10(4-6):465–480,
-
[2012]
36 Michael Bartholomew and Joohyung Lee
URL https://www.aaai.org/ ocs/index.php/KR/KR12/paper/view/4516. 36 Michael Bartholomew and Joohyung Lee. Logics in Artificial Intelligence: 14th European Confer- ence, JELIA 2014, Funchal, Madeira, Portugal, September 24-26,
2014
Show all 14 references
- [2014]
-
[2016]
Francesco Calimeri, Wolfgang Faber, Martin Gebser, Giovambattista Ianni, Roland Kaminski, Thomas Krennwallner, Nicola Leone, Marco Maratea, Francesco Ricca, and Torsten Schaub
Schloss-Dagstuhl-Leibniz Zentrum f¨ur Informatik, 2016b. Francesco Calimeri, Wolfgang Faber, Martin Gebser, Giovambattista Ianni, Roland Kaminski, Thomas Krennwallner, Nicola Leone, Marco Maratea, Francesco Ricca, and Torsten Schaub. ASP-Core-2 in- put language format. Theory ...
-
[2017]
SMT-Based Constraint Answer Set Solver EZSMT (System Descrip- tion)
Benjamin Susman and Yuliya Lierler. SMT-Based Constraint Answer Set Solver EZSMT (System Descrip- tion). In Technical Communications of the 32nd International Conference on Logic Programming (ICLP 2016), volume 52, pages 1:1–1:15, 2016a. Da Shen and Yuliya Lierler. Smt-based c...
2016
-
[2021]
SMT-COMP 2021 system description,
2021
-
[2023]
Clark Barrett, Christopher L Conway, Morgan Deters, Liana Hadarean, Dejan Jovanovi´c, Tim King, Andrew Reynolds, and Cesare Tinelli. cvc4. InComputer Aided Verification: 23rd International Conference, CAV 2011, Snowbird, UT, USA, July 14-20,
2011
-
[2024]
URL https://doi.org/10.1007/ s10472-023-09914-6
doi: 10.1007/S10472-023-09914-6. URL https://doi.org/10.1007/ s10472-023-09914-6 . Zhaohui Fu and Sharad Malik. On solving the partial max-sat problem. In Armin Biere and Carla P. Gomes, editors, Theory and Applications of Satisfiability Testing - SAT 2006, pages 252–265, Berl...
2006 doi
Reviewed August 2, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.