An Eager Satisfiability Modulo Theories Solver for Algebraic Datatypes
Shah, Amar, Mora, Federico, Seshia, Sanjit A.
–arXiv.org Artificial Intelligence
Algebraic data types (ADTs) are a construct classically found in functional programming languages that capture data structures like enumerated types, lists, and trees. In recent years, interest in ADTs has increased. For example, popular programming languages, like Python, have added support for ADTs. Automated reasoning about ADTs can be done using satisfiability modulo theories (SMT) solving, an extension of the Boolean satisfiability problem with constraints over first-order structures. Unfortunately, SMT solvers that support ADTs do not scale as state-of-the-art approaches all use variations of the same \emph{lazy} approach. In this paper, we present an SMT solver that takes a fundamentally different approach, an \emph{eager} approach. Specifically, our solver reduces ADT queries to a simpler logical theory, uninterpreted functions (UF), and then uses an existing solver on the reduced query. We prove the soundness and completeness of our approach and demonstrate that it outperforms the state-of-theart on existing benchmarks, as well as a new, more challenging benchmark set from the planning domain.
arXiv.org Artificial Intelligence
Oct-18-2023
- Country:
- North America > United States
- New York > New York County
- New York City (0.04)
- California > Alameda County
- Berkeley (0.04)
- New York > New York County
- Europe
- United Kingdom > England
- Oxfordshire > Oxford (0.14)
- Netherlands > North Holland
- Amsterdam (0.04)
- United Kingdom > England
- Asia > Middle East
- Israel > Haifa District > Haifa (0.04)
- North America > United States
- Genre:
- Research Report (0.84)
- Technology: