Kleene algebra with tests

We introduce Kleene algebra with tests, an equational system for manipulating programs. We give a purely equational proof, using Kleene algebra with tests and commutativity conditions, of the following classical result: every while program can be simulated by a while program can be simulated by a while program with at most one while loop. The proof illustrates the use of Kleene algebra with tests and commutativity conditions in program equivalence proofs.

[1]  Corrado Böhm,et al.  Flow diagrams, turing machines and languages with only two formation rules , 1966, CACM.

[2]  Alfred V. Aho,et al.  The Design and Analysis of Computer Algorithms , 1974 .

[3]  Kan Ching Ng,et al.  Relation algebras with transitive closure , 1984 .

[4]  Arto Salomaa,et al.  Semirings, Automata and Languages , 1985 .

[5]  Wojciech Rytter,et al.  On the Decidability of Some Problems about Rational Subsets of Free Partially Commutative Monoids , 1986, Theor. Comput. Sci..

[6]  Dexter Kozen,et al.  Kleene Algebra with Tests: Completeness and Decidability , 1996, CSL.

[7]  Zoltán Ésik,et al.  Equational axioms for regular sets , 1993, Mathematical Structures in Computer Science.

[8]  Werner Kuich,et al.  The Kleene and the Parikh Theorem in Complete Semirings , 1987, ICALP.

[9]  J. Conway Regular algebra and finite machines , 1971 .

[10]  S C Kleene,et al.  Representation of Events in Nerve Nets and Finite Automata , 1951 .

[11]  V N Redko,et al.  On the determinative aggregate of relationships of the algebra of regular events , 1964 .

[12]  Jerzy Tiuryn,et al.  Logics of Programs , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[13]  Kenneth Steiglitz,et al.  A Semiring on Convex Polygons and Zero-Sum Cycle Problems , 1990, SIAM J. Comput..

[14]  Arto Salomaa ALGEBRA OF REGULAR EXPRESSIONS , 1969 .

[15]  Dexter Kozen A Completeness Theorem for Kleene Algebras and the Algebra of Regular Events , 1994, Inf. Comput..

[16]  Dexter Kozen,et al.  On Induction vs. *-Continuity , 1981, Logic of Programs.

[17]  Albert R. Meyer,et al.  Word problems requiring exponential time(Preliminary Report) , 1973, STOC.

[18]  Vaughan R. Pratt,et al.  Action Logic and Pure Induction , 1990, JELIA.

[19]  E. Cohen Hypotheses in kleene algebra , 1993 .

[20]  Dexter Kozen,et al.  On Kleene Algebras and Closed Semirings , 1990, MFCS.

[21]  Maurice Boffa,et al.  Une remarque sur les systèmes complets d'identités rationnelles , 1990, RAIRO Theor. Informatics Appl..

[22]  Richard E. Ladner,et al.  Propositional Dynamic Logic of Regular Programs , 1979, J. Comput. Syst. Sci..

[23]  Jacques Sakarovitch Kleene's theorem revisited , 1986, IMYCS.

[24]  Roland Carl Backhouse Closure algorithms and the star-height problem of regular languages , 1976 .

[25]  D. Kozen,et al.  The Complexity of Kleene Algebra with Tests , 1996 .

[26]  Dexter Kozen,et al.  The Design and Analysis of Algorithms , 1991, Texts and Monographs in Computer Science.

[27]  Vaughan R. Pratt,et al.  Dynamic algebras as a well-behaved fragment of relation algebras , 1988, Algebraic Logic and Universal Algebra in Computer Science.

[28]  Shizuo Kakutani Review: Katsumi Nakamura, On a Mode of Definition in Geometry--On Implicit Definition , 1941 .

[29]  Dexter Kozen,et al.  Kleene Algebra with Tests and Commutativity Conditions , 1996, TACAS.

[30]  Daniel Krob,et al.  A Complete System of B-Rational Identities , 1990, ICALP.

[31]  David Harel,et al.  On folk theorems , 1980, SIGA.

[32]  Daniel Krob,et al.  Complete Systems of B-Rational Identities , 1991, Theor. Comput. Sci..

[33]  Arto Salomaa,et al.  Two Complete Axiom Systems for the Algebra of Regular Events , 1966, JACM.

[34]  Dexter Kozen,et al.  On the complexity of reasoning in Kleene algebra , 1997, Proceedings of Twelfth Annual IEEE Symposium on Logic in Computer Science.

[35]  Yehuda Afek,et al.  Lazy caching , 1993, TOPL.

[36]  Jozef Kelemen,et al.  Trends, Techniques, and Problems in Theoretical Computer Science , 1986, Lecture Notes in Computer Science.

[37]  KozenDexter Kleene algebra with tests , 1997 .

[38]  P. V. Gorshkov Rational data structures and their applications , 1989 .

[39]  Alfred Tarski,et al.  Relational selves as self-affirmational resources , 2008 .

[40]  Jean Berstel,et al.  Transductions and context-free languages , 1979, Teubner Studienbücher : Informatik.