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

Relational Constraint Solving in SMT

Baoluo Meng, Andrew Reynolds, Cesare Tinelli, Clark W. Barrett

Abstract

Relational logic is useful for reasoning about computational problems with relational structures, including high-level system design, architectural configurations of network systems, ontologies, and verification of programs with linked data structures. We present a modular extension of an earlier calculus for the theory of finite sets to a theory of finite relations with such operations as transpose, product, join, and transitive closure. We implement this extension as a theory solver of the SMT solver CVC4. Combining this new solver with the finite model finding features of CVC4 enables several compelling use cases. For instance, native support for relations enables a natural mapping from Alloy, a declarative modeling language based on first-order relational logic, to SMT constraints. It also enables a natural encoding of several description logics with concrete domains, allowing the use of an SMT solver to analyze, for instance, Web Ontology Language (OWL) models. We provide an initial evaluation of our solver on a number of Alloy and OWL models which shows promising results.
BibTeX
@inproceedings{meng2017relational,
  author = {Baoluo Meng and Andrew Reynolds and Cesare Tinelli and Clark W. Barrett},
  title = {{Relational Constraint Solving in SMT}},
  booktitle = {CADE},
  year = {2017},
  doi = {10.1007/978-3-319-63046-5\_10},
}

Loading related content...

Figure