Abstract
This paper defines a static check for clash-freedom of ASM rules, including sequential and parallel composition, nondeterministic choice, and recursion. The check computes a formula that, if provable, makes a relational encoding of ASM rules possible, which is an important prerequisite for efficient deduction. The check is general enough to cover all sequential rules as well as many typical uses of parallel composition.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
We regard potential clashes that occur only under some specific non-deterministic choices to be even worse than guaranteed clashes in every run. Even simulating runs of the ASM may fail to detect them. We also regard computing the same update twice as undesirable, and our approach will return in both cases.
References
Börger, E., Rosenzweig, D.: The WAM–definition, compiler correctness. In: Logic Programming: Formal Methods and Practical Applications, Studies in Computer Science and Artificial Intelligence, vol. 11, pp. 20–90. Elsevier (1995)
Börger, E., Stärk, R.F.: Abstract State Machines–a Method for High-level System Design and Analysis. Springer, Heidelberg (2003)
Ernst, G., Pfähler, J., Schellhorn, G., Haneberg, D., Reif, W.: KIV - overview and VerifyThis competition. Softw. Tools Techn. Transfer 17(6), 677–694 (2015)
Ferrarotti, F., Schewe, K.-D., Tec, L., Wang, Q.: A logic for non-deterministic parallel Abstract State Machines. In: Gyssens, M. (ed.) FoIKS 2016. LNCS, vol. 9616, pp. 334–354. Springer, Heidelberg (2016). doi:10.1007/978-3-319-30024-5_18
Leuschel, M., Börger, E.: A compact encoding of sequential ASMs in Event-B. In: Butler, M., Schewe, K.D., Mashkoor, A., Biro, M. (eds.) ABZ 2016. LNCS, vol. 9675, pp. 119–134. Springer, Heidelberg (2016)
Schellhorn, G., Tofan, B., Ernst, G., Pfähler, J., Reif, W.: RGITL: a temporal logic framework for compositional reasoning about interleaved programs. Ann. Math. Artif. Int. (AMAI) 71, 131–174 (2014)
Stärk, R.F., Nanchen, S.: A complete logic for Abstract State Machines. J. Univ. Comput. Sci. (J.UCS) 7(11), 981–1006 (2001)
Stärk, R.F., Schmid, J., Börger, E.: Java and the Java Virtual Machine: Definition, Verification. Springer, Validation (2001)
A relational encoding for a clash-free subset of ASMs: Formalization and proofs. https://swt.informatik.uni-augsburg.de/swt/projects/Refinement/ASM-clashfreedom.html
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Schellhorn, G., Ernst, G., Pfähler, J., Reif, W. (2016). A Relational Encoding for a Clash-Free Subset of ASMs. In: Butler, M., Schewe, KD., Mashkoor, A., Biro, M. (eds) Abstract State Machines, Alloy, B, TLA, VDM, and Z. ABZ 2016. Lecture Notes in Computer Science(), vol 9675. Springer, Cham. https://doi.org/10.1007/978-3-319-33600-8_15
Download citation
DOI: https://doi.org/10.1007/978-3-319-33600-8_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-33599-5
Online ISBN: 978-3-319-33600-8
eBook Packages: Computer ScienceComputer Science (R0)