Alloy Meets the Algebra of Programming: A Case Study

dc.contributor.author José Nuno Oliveira en
dc.contributor.author Ferreira,MA en
dc.date.accessioned 2018-01-17T09:59:24Z
dc.date.available 2018-01-17T09:59:24Z
dc.date.issued 2013 en
dc.description.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. en
dc.identifier.uri http://repositorio.inesctec.pt/handle/123456789/6582
dc.identifier.uri http://dx.doi.org/10.1109/tse.2012.15 en
dc.language eng en
dc.relation 5601 en
dc.rights info:eu-repo/semantics/openAccess en
dc.title Alloy Meets the Algebra of Programming: A Case Study en
dc.type article en
dc.type Publication en
Files
Original bundle
Now showing 1 - 1 of 1
Thumbnail Image
Name:
P-002-05P.pdf
Size:
420.62 KB
Format:
Adobe Portable Document Format
Description: