Lifting Boolean-reasoning techniques to the SMT level most often requires producing theory lemmas that rule out theory-inconsistent truth assignments. With standard SMT solving, it is common to “lazily” generate such lemmas on demand during the search; with some harder SMT-level tasks —such as unsat-core extraction, MaxSMT, T-OBDD or T-SDD compilation— it may be beneficial or even necessary to “eagerly” pre-compute all the needed theory lemmas upfront. Whereas in principle “classic” eager SMT encodings could do the job, they are specific for very few and easy theories, they do not comply with theory combination, and may produce lots of unnecessary lemma In this paper, we present theory-agnostic methods for enumerating complete sets of theory lemmas tailored to a given formula. Starting from AllSMT as a baseline approach, we propose improved lemma-enumeration techniques, including divide&conquer, projected enumeration, and theory-driven partitioning, which are highly parallelizable and which may drastically improve scalability. An experimental evaluation demonstrates that these techniques significantly enhance efficiency and enable the method to scale to substantially more complex instances.
Beyond Eager Encodings: A Theory-Agnostic Approach to Theory-Lemma Enumeration in SMT / Civini, E., Masina, G., Spallitta, G., Sebastiani, R.. - 16688:(2026), pp. 286-304. (13th International Joint Conference on Automated Reasoning, IJCAR 2026 prt 2026) [10.1007/978-3-032-32589-1_18].
Beyond Eager Encodings: A Theory-Agnostic Approach to Theory-Lemma Enumeration in SMT
Masina, Gabriele
;Spallitta, Giuseppe
;Sebastiani, Roberto
2026-01-01
Abstract
Lifting Boolean-reasoning techniques to the SMT level most often requires producing theory lemmas that rule out theory-inconsistent truth assignments. With standard SMT solving, it is common to “lazily” generate such lemmas on demand during the search; with some harder SMT-level tasks —such as unsat-core extraction, MaxSMT, T-OBDD or T-SDD compilation— it may be beneficial or even necessary to “eagerly” pre-compute all the needed theory lemmas upfront. Whereas in principle “classic” eager SMT encodings could do the job, they are specific for very few and easy theories, they do not comply with theory combination, and may produce lots of unnecessary lemma In this paper, we present theory-agnostic methods for enumerating complete sets of theory lemmas tailored to a given formula. Starting from AllSMT as a baseline approach, we propose improved lemma-enumeration techniques, including divide&conquer, projected enumeration, and theory-driven partitioning, which are highly parallelizable and which may drastically improve scalability. An experimental evaluation demonstrates that these techniques significantly enhance efficiency and enable the method to scale to substantially more complex instances.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione



