Analyzing Alloy Formulas using an SMT Solver: A Case Study
Abstract
This paper describes how Yices, a modern SAT Modulo theories solver, can be used to analyze the address-book problem expressed in Alloy, a first-order relational logic with transitive closure. Current analysis of Alloy models - as performed by the Alloy Analyzer - is based on SAT solving and thus, is done only with respect to finitized types. Our analysis generalizes this approach by taking advantage of the background theories available in Yices, and avoiding type finitization when possible. Consequently, it is potentially capable of proving that an assertion is a tautology - a capability completely missing from the Alloy Analyzer. This paper also reports on our experimental results that compare the performance of our analysis to that of the Alloy Analyzer for various versions of the address book problem.
- Publication:
-
arXiv e-prints
- Pub Date:
- May 2015
- DOI:
- 10.48550/arXiv.1505.00672
- arXiv:
- arXiv:1505.00672
- Bibcode:
- 2015arXiv150500672A
- Keywords:
-
- Computer Science - Logic in Computer Science
- E-Print:
- 5th International Workshop on Automated Formal Methods (AFM), 2010