Adding records to Alloy - Archive ouverte HAL
Communication Dans Un Congrès Année : 2023

Adding records to Alloy

Résumé

Records are a composite data type available in most programming and specification languages, but they are not natively supported by Alloy. As a consequence, users often find themselves having to simulate records in ad hoc ways, a strategy that is error prone and often encumbers the analysis procedures. This paper proposes a conservative extension to the Alloy language to support record signatures. Uniqueness and completeness is imposed on the atoms of such signatures, while still supporting Alloy's flexible signature hierarchy. The Analyzer has been extended to internally expand such record signatures as partial knowledge for the solving procedure. Evaluation shows that the proposed approach is more efficient than commonly used idioms.
Fichier principal
Vignette du fichier
postprint.pdf (379.39 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04074845 , version 1 (19-06-2024)

Identifiants

Citer

Julien Brunel, David Chemouil, Alcino Cunha, Nuno Macedo. Adding records to Alloy. 9th international conference on rigorous state-based methods, May 2023, Nancy, France. ⟨10.1007/978-3-031-33163-3_16⟩. ⟨hal-04074845⟩

Collections

ONERA DTIS_ONERA
44 Consultations
25 Téléchargements

Altmetric

Partager

More