Reasoning about static and dynamic properties in alloy: A purely relational approach

We study a number of restrictions associated with the first-order relational specification language Alloy. The main shortcomings we address are: -the lack of a complete calculus for deduction in Alloy's underlying formalism, the so called relational logic, -the inappropriateness of the Alloy la...

Descripción completa

Guardado en:
Detalles Bibliográficos
Autores principales: Frias, M.F., López Pombo, C.G., Baum, G.A., Aguirre, N.M., Maibaum, T.S.E.
Formato: JOUR
Materias:
Acceso en línea:http://hdl.handle.net/20.500.12110/paper_1049331X_v14_n4_p478_Frias
Aporte de:
id todo:paper_1049331X_v14_n4_p478_Frias
record_format dspace
spelling todo:paper_1049331X_v14_n4_p478_Frias2023-10-03T15:58:37Z Reasoning about static and dynamic properties in alloy: A purely relational approach Frias, M.F. López Pombo, C.G. Baum, G.A. Aguirre, N.M. Maibaum, T.S.E. Alloy Fork algebras Relational specifications Automatic analysis Dynamic logic Fork algebras Relational specifications Abstracting Algebra Automation Formal logic Logic design Problem solving Computer programming languages We study a number of restrictions associated with the first-order relational specification language Alloy. The main shortcomings we address are: -the lack of a complete calculus for deduction in Alloy's underlying formalism, the so called relational logic, -the inappropriateness of the Alloy language for describing (and analyzing) properties regarding execution traces. The first of these points was not regarded as an important issue during the genesis of Alloy, and therefore has not been taken into account in the design of the relational logic. The second point is a consequence of the static nature of Alloy specifications, and has been partly solved by the developers of Alloy; however, their proposed solution requires a complicated and unstructured characterization of executions. We propose to overcome the first problem by translating relational logic to the equational calculus of fork algebras. Fork algebras provide a purely relational formalism close to Alloy, which possesses a complete equational deductive calculus. Regarding the second problem, we propose to extend Alloy by adding actions. These actions, unlike Alloy functions, do modify the state. Much the same as programs in dynamic logic, actions can be sequentially composed and iterated, allowing them to state properties of execution traces at an appropriate level of abstraction. Since automatic analysis is one of Alloy's main features, and this article aims to provide a deductive calculus for Alloy, we show that: -the extension hereby proposed does not sacrifice the possibility of using SAT solving techniques for automated analysis, -the complete calculus for the relational logic is straightforwardly extended to a complete calculus for the extension of Alloy. © 2005 ACM. Fil:Frias, M.F. Universidad de Buenos Aires. Facultad de Ciencias Exactas y Naturales; Argentina. Fil:López Pombo, C.G. Universidad de Buenos Aires. Facultad de Ciencias Exactas y Naturales; Argentina. JOUR info:eu-repo/semantics/openAccess http://creativecommons.org/licenses/by/2.5/ar http://hdl.handle.net/20.500.12110/paper_1049331X_v14_n4_p478_Frias
institution Universidad de Buenos Aires
institution_str I-28
repository_str R-134
collection Biblioteca Digital - Facultad de Ciencias Exactas y Naturales (UBA)
topic Alloy
Fork algebras
Relational specifications
Automatic analysis
Dynamic logic
Fork algebras
Relational specifications
Abstracting
Algebra
Automation
Formal logic
Logic design
Problem solving
Computer programming languages
spellingShingle Alloy
Fork algebras
Relational specifications
Automatic analysis
Dynamic logic
Fork algebras
Relational specifications
Abstracting
Algebra
Automation
Formal logic
Logic design
Problem solving
Computer programming languages
Frias, M.F.
López Pombo, C.G.
Baum, G.A.
Aguirre, N.M.
Maibaum, T.S.E.
Reasoning about static and dynamic properties in alloy: A purely relational approach
topic_facet Alloy
Fork algebras
Relational specifications
Automatic analysis
Dynamic logic
Fork algebras
Relational specifications
Abstracting
Algebra
Automation
Formal logic
Logic design
Problem solving
Computer programming languages
description We study a number of restrictions associated with the first-order relational specification language Alloy. The main shortcomings we address are: -the lack of a complete calculus for deduction in Alloy's underlying formalism, the so called relational logic, -the inappropriateness of the Alloy language for describing (and analyzing) properties regarding execution traces. The first of these points was not regarded as an important issue during the genesis of Alloy, and therefore has not been taken into account in the design of the relational logic. The second point is a consequence of the static nature of Alloy specifications, and has been partly solved by the developers of Alloy; however, their proposed solution requires a complicated and unstructured characterization of executions. We propose to overcome the first problem by translating relational logic to the equational calculus of fork algebras. Fork algebras provide a purely relational formalism close to Alloy, which possesses a complete equational deductive calculus. Regarding the second problem, we propose to extend Alloy by adding actions. These actions, unlike Alloy functions, do modify the state. Much the same as programs in dynamic logic, actions can be sequentially composed and iterated, allowing them to state properties of execution traces at an appropriate level of abstraction. Since automatic analysis is one of Alloy's main features, and this article aims to provide a deductive calculus for Alloy, we show that: -the extension hereby proposed does not sacrifice the possibility of using SAT solving techniques for automated analysis, -the complete calculus for the relational logic is straightforwardly extended to a complete calculus for the extension of Alloy. © 2005 ACM.
format JOUR
author Frias, M.F.
López Pombo, C.G.
Baum, G.A.
Aguirre, N.M.
Maibaum, T.S.E.
author_facet Frias, M.F.
López Pombo, C.G.
Baum, G.A.
Aguirre, N.M.
Maibaum, T.S.E.
author_sort Frias, M.F.
title Reasoning about static and dynamic properties in alloy: A purely relational approach
title_short Reasoning about static and dynamic properties in alloy: A purely relational approach
title_full Reasoning about static and dynamic properties in alloy: A purely relational approach
title_fullStr Reasoning about static and dynamic properties in alloy: A purely relational approach
title_full_unstemmed Reasoning about static and dynamic properties in alloy: A purely relational approach
title_sort reasoning about static and dynamic properties in alloy: a purely relational approach
url http://hdl.handle.net/20.500.12110/paper_1049331X_v14_n4_p478_Frias
work_keys_str_mv AT friasmf reasoningaboutstaticanddynamicpropertiesinalloyapurelyrelationalapproach
AT lopezpombocg reasoningaboutstaticanddynamicpropertiesinalloyapurelyrelationalapproach
AT baumga reasoningaboutstaticanddynamicpropertiesinalloyapurelyrelationalapproach
AT aguirrenm reasoningaboutstaticanddynamicpropertiesinalloyapurelyrelationalapproach
AT maibaumtse reasoningaboutstaticanddynamicpropertiesinalloyapurelyrelationalapproach
_version_ 1782030993642749952