Astra Version 1.0: Evaluating Translations from Alloy to SMT-LIB

Loading...
Thumbnail Image

Date

2019-06-13

Authors

Abbassi, Ali
Day, Nancy A.
Rayside, Derek

Advisor

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

We present a variety of translation options for converting Alloy to SMT-LIB via Alloy’s Kodkod interface. Our translations, which are implemented in a library that we call Astra, are based on converting the set and relational operations of Alloy into their equivalent in typed first-order logic (TFOL). We investigate and compare the performance of an SMT solver for many translation options. We compare using only one universal type to recovering Alloy type information from the Kod- kod representation and using multiple types in TFOL. We compare a direct translation of the relations to predicates in TFOL to one where we recover functions from their relational form in Kodkod and repre- sent these as functions in TFOL. We compare representations in TFOL with unbounded scopes to ones with bounded scopes, either pre or post quantifier expansion. Our results across all these dimensions provide di- rections for portfolio solvers, modelling improvements, and optimizing SMT solvers.

Description

Keywords

LC Subject Headings

Citation