Algebras for correctness of sequential computations

被引:5
作者
Guttmann, Walter [1 ]
机构
[1] Univ Canterbury, Dept Comp Sci & Software Engn, Christchurch, New Zealand
关键词
Axiomatic program semantics; Conway semirings; Hoare calculus; Multirelations; Preconditions; UNIFYING THEORIES; KLEENE ALGEBRAS; NONDETERMINISM; REFINEMENT; ITERATION; AXIOMS;
D O I
10.1016/j.scico.2013.08.008
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Previous work gives algebras for uniformly describing correctness statements and calculi in various relational and matrix-based computation models. These models support a single kind of non-determinism, which is either angelic, demonic or erratic with respect to the infinite executions of a computation. Other models, notably isotone predicate transformers or up-closed multirelations, offer both angelic and demonic choice with respect to finite executions. We propose algebras for a theory of correctness which covers these multirelational models in addition to relational and matrix-based models. Existing algebraic descriptions, in particular general refinement algebras and monotonic Boolean transformers, are instances of our theory. Our new description includes a precondition operation that instantiates to both modal diamond and modal box operators. We verify all results in Isabelle, heavily using its automated theorem provers. We integrate our theories with the Isabelle theory of monotonic Boolean transformers making our results applicable to that setting. (C) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:224 / 240
页数:17
相关论文
共 48 条
[1]  
[Anonymous], 1976, A discipline of programming
[2]  
Apt K.R., 2009, Texts in Computer Science, DOI 10.1007/978-1-84882-745-5
[3]  
Back R.-J., 1998, Refinement Calculus: A Systematic Introduction
[4]   DUALITY IN SPECIFICATION LANGUAGES - A LATTICE-THEORETICAL APPROACH [J].
BACK, RJR ;
VONWRIGHT, J .
ACTA INFORMATICA, 1990, 27 (07) :583-625
[5]   GAMES AND WINNING STRATEGIES [J].
BACK, RJR ;
VONWRIGHT, J .
INFORMATION PROCESSING LETTERS, 1995, 53 (03) :165-172
[6]   COMBINING ANGELS, DEMONS AND MIRACLES IN PROGRAM SPECIFICATIONS [J].
BACK, RJR ;
VONWRIGHT, J .
THEORETICAL COMPUTER SCIENCE, 1992, 100 (02) :365-383
[7]  
Blanchette JC, 2010, LECT NOTES COMPUT SC, V6172, P131, DOI 10.1007/978-3-642-14052-5_11
[8]   MATRIX AND MATRIC ITERATION THEORIES .1. [J].
BLOOM, SL ;
ESIK, Z .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1993, 46 (03) :381-408
[9]  
BLOOM SL, 1993, EATCS MONOGRAPHS THE
[10]   Angelic nondeterminism in the unifying theories of programming [J].
Cavalcanti, Ana ;
Woodcock, Jim ;
Dunne, Steve .
FORMAL ASPECTS OF COMPUTING, 2006, 18 (03) :288-307