Hostname: page-component-74656f9884-7drmj Total loading time: 0 Render date: 2026-11-05T10:10:42.380Z Has data issue: false hasContentIssue false

EZSMT Version 3, Matured

Published online by Cambridge University Press:  30 September 2026

KEERAN DHAKAL
Affiliation:
Computer Science Department, University of Nebraska at Omaha, USA (e-mails: kdhakal@unomaha.edu, ylierler@unomaha.edu)
YULIYA LIERLER
Affiliation:
Computer Science Department, University of Nebraska at Omaha, USA (e-mails: kdhakal@unomaha.edu, ylierler@unomaha.edu)
Rights & Permissions [Opens in a new window]

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.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Fig. 1. Mapping of CAS programs to respective SMT formulas.

Figure 1

Listing 1. Encoding of LIA Logic in gringo version 5.

Figure 2

Fig. 2. Sample TS instance and solutions.

Figure 3

Listing 2. Encoding of the TS Instance.

Figure 4

Listing 3. Encoding of the TS Problem.

Figure 5

Listing 4. Listing 4 long description.Part of the Grounded TS Problem with respect to TS Instance in Listing 2.

Figure 6

Listing 5. ezsmtv3 output for the TS sample problem.

Figure 7

Listing 6. Sample CAS(LIA) ezsmtv3 program with multiple (extended) answer sets.

Figure 8

Listing 7. Encoding of IDL Logic in gringo version 5.

Figure 9

Fig. 3. ezsmtv3 architecture.

Figure 10

Fig. 4. Mapping of logics from CAS programs with weak constraints to respective SMT formulas.

Figure 11

Fig. 5. Summary of experimental data on CAS(LIRA) encodings.

Figure 12

Fig. 6. Summary of experimental data on CAS(LRA) encodings.

Figure 13

Fig. 7. Summary of experimental data on CAS(LIA) encodings.

Figure 14

Fig. 8. Summary of experimental data on variants of routing problems: CAS(IDL) and CAS(LIA) encodings combined.