Automated Software Analysis Group

Analyzing Alloy Formulas using an SMT Solver: A Case Study

  • Author:

    Aboubakr Achraf El Ghazi, Mana Taghdiri

  • Place:

    Automated Formal Methods (AFM), 2010

  • Date: July 2010
  • 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.

BibTex

@InProceedings{elghazi-taghdiri-afm2010,
    author    = {Aboubakr Achraf {El Ghazi} and Mana Taghdiri},
    title     = {Analyzing Alloy Constraints using an SMT Solver: A Case Study},
    booktitle = {5th International Workshop on Automated Formal Methods (AFM)},
    address   = {Edinburgh, United Kingdom},
    year      = {2010},
    urn       = {urn:nbn:de:swb:90-422245}
}