Skip to main content

On the Complexity of Kleene Algebra with Domain

  • Conference paper
  • First Online:
Relational and Algebraic Methods in Computer Science (RAMiCS 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13896))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Extensionality is closely related to the property of separability, well known from the literature on dynamic algebra [12, 22].

  2. 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. 3.

    In the original formulation [3], Kleene algebras with domain were expansions of Kleene algebras with test.

  4. 4.

    As before, we save letters by re-using pq etc. as variables ranging over KAD terms, \(Tm_{KAD}\) (defined as expected), and letting the context disambiguate.

  5. 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. 6.

    Extensionality is closely related to the property of separability, well known from the literature on dynamic algebra [12, 22].

  7. 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

  1. 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)

    Article  MathSciNet  MATH  Google Scholar 

  2. Cohen, E., Kozen, D., Smith, F.: The complexity of Kleene algebra with tests. Technical report TR96-1598, Computer Science Department, Cornell University, July 1996

    Google Scholar 

  3. Desharnais, J., Möller, B., Struth, G.: Kleene algebra with domain. ACM Trans. Comput. Log. 7(4), 798–833 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  4. 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

    Chapter  MATH  Google Scholar 

  5. 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)

    Google Scholar 

  6. Fischer, M.J., Ladner, R.E.: Propositional dynamic logic of regular programs. J. Comput. Syst. Sci. 18, 194–211 (1979)

    Article  MathSciNet  MATH  Google Scholar 

  7. Groenendijk, J., Stokhof, M.: Dynamic predicate logic. Linguist. Philos. 14(1), 39–100 (1991)

    Article  MATH  Google Scholar 

  8. Harel, D., Kozen, D., Tiuryn, J.: Dynamic Logic. MIT Press, Cambridge (2000)

    Google Scholar 

  9. Hirsch, R., Mikulás, S.: Axiomatizability of representable domain algebras. J. Log. Algebr. Program. 80(2), 75–91 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  10. 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

    Chapter  Google Scholar 

  11. Hopcroft, J.E., Ullman, J.D.: Introduction to Automata Theory, Languages and Computation. Addison-Wesley Publishing Company, Boston (1979)

    Google Scholar 

  12. 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

    Chapter  Google Scholar 

  13. 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

    Chapter  Google Scholar 

  14. Kozen, D.: The Design and Analysis of Algorithms. Springer, New York (1992). https://doi.org/10.1007/978-1-4614-1701-9

  15. Kozen, D.: A completeness theorem for Kleene algebras and the algebra of regular events. Inf. Comput. 110(2), 366–390 (1994)

    Article  MathSciNet  MATH  Google Scholar 

  16. Kozen, D.: Kleene algebra with tests. ACM Trans. Program. Lang. Syst. 19(3), 427–443 (1997)

    Article  MATH  Google Scholar 

  17. Kozen, D., Parikh, R.: An elementary proof of the completeness of PDL. Theor. Comput. Sci. 14, 113–118 (1981)

    Article  MathSciNet  MATH  Google Scholar 

  18. 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

    Chapter  Google Scholar 

  19. Mbacke, S.D.: Completeness for Domain Semirings and Star-continuous Kleene Algebras with Domain. mathesis, Université Laval (2018)

    Google Scholar 

  20. McLean, B.: Free Kleene algebras with domain. J. Log. Algebr. Methods Program. 117, 100606 (2020)

    Google Scholar 

  21. 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

    Google Scholar 

  22. Pratt, V.: Dynamic algebras: examples, constructions, applications. Stud. Log. 50(3), 571–605 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  23. 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)

    Google Scholar 

  24. Struth, G.: On the expressive power of Kleene algebra with domain. Inf. Process. Lett. 116(4), 284–288 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  25. Trnková, V., Reiterman, J.: Dynamic algebras with test. J. Comput. Syst. Sci. 35(2), 229–242 (1987)

    Article  MathSciNet  MATH  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Igor Sedlár .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics