Reasoning About Set Comprehensions
Authors: Edmund S. L. Lam and Iliano Cervesato
Paper Information
| Title: | Reasoning About Set Comprehensions |
| Authors: | Edmund S. L. Lam and Iliano Cervesato |
| Proceedings: | SMT 2014 Proceedings |
| Editors: | Philipp Ruemmer and Christoph M. Wintersteiger |
| Keywords: | Set Comprehension, Set Theory, First-Order Logic, SMT |
| Abstract: | ABSTRACT. Set comprehension is a mathematical notation for defining sets on the basis of a property of their members. Although set comprehension is widely used in mathematics and some programming languages, direct support for reasoning about it is still not readily available in state-of-the-art SMT solvers. This paper presents a technique for translating formulas which express constraints involving set comprehensions into first-order formulas that can be verified by off-the-shelf SMT solvers. More specifically, we have developed a lightweight Python library that extends the popular Z3 SMT solver with the ability to reason about the satisfiability of set comprehension patterns. This technique is general and can be deployed in a broad range SMT solvers. |
| Pages: | 11 |
| Talk: | Jul 17 12:15 |
| Paper: | ![]() |
