Abstract
We prove that the equational theory of Kleene algebra with domain is EXPTIME-complete. Our proof makes essential use of Hollenberg’s equational axiomatization of program equations valid in relational test algebra. We also show that the equational theory of Kleene algebra with domain coincides with the equational theory of *-continuous Kleene algebra with domain.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
We note that the the main result of our original submission was an EXPTIME-completeness result on the equational theory of *-continuous KAD. The proof was essentially the same as the one given here, but we relied on the assumption of *-continuity in the proof of Theorem 4 (in particular, the argument showing that the translation of T8 is valid). An anonymous reviewer showed that the proof of Theorem 4 can be carried out without assuming *-continuity and that the resulting argument establishes in conjunction with Lemma 4 that the equational theory of KAD coincides with the equational theory of *-continuous KAD. We gratefully acknowledge the input of the reviewer and we suggest that the results of this paper be considered joint work of the official author and the anonymous reviewer.
- 3.
In the original formulation [3], Kleene algebras with domain were expansions of Kleene algebras with test.
- 4.
As before, we save letters by re-using p, q etc. as variables ranging over KAD terms, \(Tm_{KAD}\) (defined as expected), and letting the context disambiguate.
- 5.
McLean [20] studies the equational theory of relational Kleene algebras expanded by the relational domain operator D seen as primitive. He shows that this theory is decidable, with a 3EXPTIME upper bound. The *-free fragment of \(Eq(\textsf{RKAD})\) is not finitely based [9], in contrast to the *-free fragment of \(Eq(\textsf{KAD})\).
- 6.
- 7.
Strictly speaking, we should replace \(\textsf{a}\) (a total operation) by its restriction to \(\textsf{d}(\mathcal {D})\), but we will not bother with this detail.
References
Armstrong, A., Gomes, V.B.F., Struth, G.: Building program construction and verification tools from algebraic principles. Form. Aspects Comput. 28(2), 265–293 (2016)
Cohen, E., Kozen, D., Smith, F.: The complexity of Kleene algebra with tests. Technical report TR96-1598, Computer Science Department, Cornell University, July 1996
Desharnais, J., Möller, B., Struth, G.: Kleene algebra with domain. ACM Trans. Comput. Log. 7(4), 798–833 (2006)
Desharnais, J., Struth, G.: Modal semirings revisited. In: Audebaud, P., Paulin-Mohring, C. (eds.) MPC 2008. LNCS, vol. 5133, pp. 360–387. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-70594-9_19
Desharnais, J., Struth, G.: Internal axioms for domain semirings. Sci. Comput. Program. 76(3), 181–203 (2011). Special issue on the Mathematics of Program Construction (MPC 2008)
Fischer, M.J., Ladner, R.E.: Propositional dynamic logic of regular programs. J. Comput. Syst. Sci. 18, 194–211 (1979)
Groenendijk, J., Stokhof, M.: Dynamic predicate logic. Linguist. Philos. 14(1), 39–100 (1991)
Harel, D., Kozen, D., Tiuryn, J.: Dynamic Logic. MIT Press, Cambridge (2000)
Hirsch, R., Mikulás, S.: Axiomatizability of representable domain algebras. J. Log. Algebr. Program. 80(2), 75–91 (2011)
Hollenberg, M.: Equational axioms of test algebra. In: Nielsen, M., Thomas, W. (eds.) CSL 1997. LNCS, vol. 1414, pp. 295–310. Springer, Heidelberg (1998). https://doi.org/10.1007/BFb0028021
Hopcroft, J.E., Ullman, J.D.: Introduction to Automata Theory, Languages and Computation. Addison-Wesley Publishing Company, Boston (1979)
Kozen, D.: A representation theorem for models of *-free PDL. In: de Bakker, J., van Leeuwen, J. (eds.) ICALP 1980. LNCS, vol. 85, pp. 351–362. Springer, Heidelberg (1980). https://doi.org/10.1007/3-540-10003-2_83
Kozen, D.: On Kleene algebras and closed semirings. In: Rovan, B. (ed.) MFCS 1990. LNCS, vol. 452, pp. 26–47. Springer, Heidelberg (1990). https://doi.org/10.1007/BFb0029594
Kozen, D.: The Design and Analysis of Algorithms. Springer, New York (1992). https://doi.org/10.1007/978-1-4614-1701-9
Kozen, D.: A completeness theorem for Kleene algebras and the algebra of regular events. Inf. Comput. 110(2), 366–390 (1994)
Kozen, D.: Kleene algebra with tests. ACM Trans. Program. Lang. Syst. 19(3), 427–443 (1997)
Kozen, D., Parikh, R.: An elementary proof of the completeness of PDL. Theor. Comput. Sci. 14, 113–118 (1981)
Kozen, D., Smith, F.: Kleene algebra with tests: completeness and decidability. In: van Dalen, D., Bezem, M. (eds.) CSL 1996. LNCS, vol. 1258, pp. 244–259. Springer, Heidelberg (1997). https://doi.org/10.1007/3-540-63172-0_43
Mbacke, S.D.: Completeness for Domain Semirings and Star-continuous Kleene Algebras with Domain. mathesis, Université Laval (2018)
McLean, B.: Free Kleene algebras with domain. J. Log. Algebr. Methods Program. 117, 100606 (2020)
Möller, B., Struth, G.: Algebras of modal operators and partial correctness. Theor. Comput. Sci. 351(2):221–239 (2006). Algebraic Methodology and Software Technology
Pratt, V.: Dynamic algebras: examples, constructions, applications. Stud. Log. 50(3), 571–605 (1991)
Pratt, V.R.: Models of program logics. In: Proceedings of the 20th Annual Symposium on Foundations of Computer Science, FOCS 1979, pp. 115–122. IEEE Computer Society, USA (1979)
Struth, G.: On the expressive power of Kleene algebra with domain. Inf. Process. Lett. 116(4), 284–288 (2016)
Trnková, V., Reiterman, J.: Dynamic algebras with test. J. Comput. Syst. Sci. 35(2), 229–242 (1987)
Acknowledgement
The author is grateful to three anonymous reviewers for valuable comments, and to Johann J. Wannenburg and Adam Přenosil for helpful discussions. Work on this paper was supported by the long-term strategic development financing of the Institute of Computer Science (RVO:67985807).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Sedlár, I. (2023). On the Complexity of Kleene Algebra with Domain. In: Glück, R., Santocanale, L., Winter, M. (eds) Relational and Algebraic Methods in Computer Science. RAMiCS 2023. Lecture Notes in Computer Science, vol 13896. Springer, Cham. https://doi.org/10.1007/978-3-031-28083-2_13
Download citation
DOI: https://doi.org/10.1007/978-3-031-28083-2_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-28082-5
Online ISBN: 978-3-031-28083-2
eBook Packages: Computer ScienceComputer Science (R0)