NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A New Decision Procedure for Finite Sets and Cardinality Constraints in SMT

Kshitij Bansal, Andrew Reynolds, Clark W. Barrett, Cesare Tinelli

Abstract

We consider the problem of deciding the theory of finite sets with cardinality constraints using a satisfiability modulo theories solver. Sets are a common high-level data structure used in programming; thus, such a theory is useful for modeling program constructs directly. More importantly, sets are a basic construct of mathematics and thus natural to use when formalizing the properties of computational systems. We develop a calculus describing a modular combination of a procedure for reasoning about membership constraints with a procedure for reasoning about cardinality constraints. Cardinality reasoning involves tracking how different sets overlap. For efficiency, we avoid considering Venn regions directly, as done previous work. Instead, we develop a novel technique wherein potentially overlapping regions are considered incrementally as needed. We use a graph to track the interaction among the different regions. Initial experimental results demonstrate that the new technique is competitive with previous techniques and scales much better on certain classes of problems.
BibTeX
@inproceedings{bansal2016new,
  author = {Kshitij Bansal and Andrew Reynolds and Clark W. Barrett and Cesare Tinelli},
  title = {{A New Decision Procedure for Finite Sets and Cardinality Constraints in SMT}},
  booktitle = {IJCAR},
  year = {2016},
  doi = {10.1007/978-3-319-40229-1\_7},
}

Loading related content...

Figure