Back to Search
Start Over
Alloy Meets the Algebra of Programming: A Case Study.
- Source :
- IEEE Transactions on Software Engineering; Mar2013, Vol. 39 Issue 3, p305-326, 22p, 2 Diagrams
- Publication Year :
- 2013
-
Abstract
- Relational algebra offers to software engineering the same degree of conciseness and calculational power as linear algebra in other engineering disciplines. Binary relations play the role of matrices with similar emphasis on multiplication and transposition. This matches with Alloy's lemma “everything is a relation” and with the relational basis of the Algebra of Programming (AoP). Altogether, it provides a simple and coherent approach to checking and calculating programs from abstract models. In this paper, we put Alloy and the Algebra of Programming together in a case study originating from the Verifiable File System mini-challenge put forward by Joshi and Holzmann: verifying the refinement of an abstract file store model into a journaled (Flash) data model catering to wear leveling and recovery from power loss. Our approach relies on diagrams to graphically express typed assertions. It interweaves model checking (in Alloy) with calculational proofs in a way which offers the best of both worlds. This provides ample evidence of the positive impact in software verification of Alloy's focus on relations, complemented by induction-free proofs about data structures such as stores and lists. [ABSTRACT FROM PUBLISHER]
Details
- Language :
- English
- ISSN :
- 00985589
- Volume :
- 39
- Issue :
- 3
- Database :
- Complementary Index
- Journal :
- IEEE Transactions on Software Engineering
- Publication Type :
- Academic Journal
- Accession number :
- 88233038
- Full Text :
- https://doi.org/10.1109/TSE.2012.15