First-Order Logic in Finite Domains: Where Semantic Evaluation Competes with SMT Solving
Wolfgang Schreiner (Johannes Kepler University Linz), Franz-Xaver, Reichl (TU Wien)

TL;DR
This paper compares semantic evaluation and SMT solving for first-order formulas over finite domains in RISCAL, showing SMT generally outperforms but identifying cases where semantic evaluation is competitive, highlighting potential for improvements.
Contribution
It provides a comparative analysis of semantic evaluation and SMT solving in finite domain first-order logic, including empirical benchmarks and insights into their relative strengths.
Findings
SMT solving generally outperforms semantic evaluation
SMT solvers show significant performance variation
Certain classes of formulas favor semantic evaluation
Abstract
In this paper, we compare two alternative mechanisms for deciding the validity of first-order formulas over finite domains supported by the mathematical model checker RISCAL: first, the original approach of semantic evaluation (based on an implementation of the denotational semantics of the RISCAL language) and, second, the later approach of SMT solving (based on satisfiability preserving translations of RISCAL formulas to SMT-LIB formulas as inputs for SMT solvers). After a short presentation of the two approaches and a discussion of their fundamental pros and cons, we quantitatively evaluate them, both by a set of artificial benchmarks and by a set of benchmarks taken from real-life applications of RISCAL; for this, we apply the state-of-the-art SMT solvers Boolector, CVC4, Yices, and Z3. Our benchmarks demonstrate that (while SMT solving generally vastly outperforms semantic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel-Driven Software Engineering Techniques · Business Process Modeling and Analysis · Formal Methods in Verification
