Alloy*: A General-Purpose Higher-Order Relational Constraint Solver
Author(s)
Milicevic, Aleksandar; Near, Joseph Paul; Kang, Eunsuk; Jackson, Daniel
DownloadAlloy.pdf (528.9Kb)
OPEN_ACCESS_POLICY
Open Access Policy
Creative Commons Attribution-Noncommercial-Share Alike
Terms of use
Metadata
Show full item recordAbstract
The last decade has seen a dramatic growth in the use of constraint solvers as a computational mechanism, not only for analysis of software, but also at runtime. Solvers are available for a variety of logics but are generally restricted to first-order formulas. Some tasks, however, most notably those involving synthesis, are inherently higher order; these are typically handled by embedding a first-order solver (such as a SAT or SMT solver) in a domain-specific algorithm. Using strategies similar to those used in such algorithms, we show how to extend a first-order solver (in this case Kodkod, a model finder for relational logic used as the engine of the Alloy Analyzer) so that it can handle quantifications over higher-order structures. The resulting solver is sufficiently general that it can be applied to a range of problems; it is higher order, so that it can be applied directly, without embedding in another algorithm; and it performs well enough to be competitive with specialized tools. Just as the identification of first-order solvers as reusable backends advanced the performance of specialized tools and simplified their architecture, factoring out higher-order solvers may bring similar benefits to a new class of tools.
Date issued
2015-08Department
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer ScienceJournal
2015 IEEE/ACM 37th IEEE International Conference on Software Engineering
Publisher
Institute of Electrical and Electronics Engineers (IEEE)
Citation
Milicevic, Aleksandar, et al. "Alloy*: A General-Purpose Higher-Order Relational Constraint Solver." 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering (ICSE), 16-24 May, 2015, Florence, Italy, IEEE, 2015, pp. 609–19.
Version: Original manuscript
ISBN
978-1-4799-1934-5