English

Analyzing Alloy Formulas using an SMT Solver: A Case Study

Logic in Computer Science 2015-05-05 v1

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.

Cite

@article{arxiv.1505.00672,
  title  = {Analyzing Alloy Formulas using an SMT Solver: A Case Study},
  author = {Aboubakr Achraf El Ghazi and Mana Taghdiri},
  journal= {arXiv preprint arXiv:1505.00672},
  year   = {2015}
}

Comments

5th International Workshop on Automated Formal Methods (AFM), 2010

R2 v1 2026-06-22T09:27:42.746Z