Abstract
We develop a coalgebraic theory of Kleene algebra with tests (\(\mathsf {KAT}\)) along the lines of Rutten (1998) for Kleene algebra (\(\mathsf {KA}\)) and Chen and Pucella (Electron Notes Theor Comput Sci 82(1), 2003) for a limited version of \(\mathsf {KAT}\), resolving some technical issues raised by Chen and Pucella. Our treatment includes a simple definition of the Brzozowski derivative for \(\mathsf {KAT}\) expressions and an automata-theoretic interpretation involving automata on guarded strings. We also give a complexity analysis, showing that an efficient implementation of coinductive equivalence proofs in this setting is tantamount to a standard automata-theoretic construction. It follows that coinductive equivalence proofs can be generated automatically in PSPACE. This matches the bound of Worthington (2008) for the automatic generation of equational proofs in \(\mathsf {KAT}\).
In honor of Rohit Parikh
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bonsangue, M. M., Rutten, J. J. M. M., & Silva, A. M. (2007). Regular expressions for polynomial coalgebras. Technical Report SEN-E0703, Centrum voor Wiskunde en Informatica, Amsterdam.
Bonsangue, M. M., Rutten, J. J. M. M., & Silva, A. M. (2009). A Kleene theorem for polynomial coalgebras. In L. de Alfaro (Ed.), Proceedings of the 12th international conference foundations of software science and computation structures (FoSSaCS 2009) (Vol. 5504, pp. 122–136)., of lecture notes in computer science New York: Springer.
Brzozowski, J. A. (1964). Derivatives of regular expressions. Journal of the Association for Computing Machinery, 11, 481–494.
Chen, H., & Pucella, R. (2003). A coalgebraic approach to Kleene algebra with tests. Electronic Notes in Theoretical Computer Science, 82(1),
Cohen, E., Kozen, D., & Smith, F. (1996). The complexity of Kleene algebra with tests. Technical Report TR96-1598, Computer Science Department, Cornell University.
Conway, J. H. (1971). Regular algebra and finite machines. London: Chapman and Hall.
Kaplan, D. M. (1969). Regular expressions and the equivalence of programs. Journal of Computer and System Sciences, 3, 361–386.
Kleene, S. C. (1956). Representation of events in nerve nets and finite automata. In C. E. Shannon & J. McCarthy (Eds.), Automata studies (pp. 3–41). Princeton, NJ: Princeton University Press.
Kozen, D. (1994). A completeness theorem for Kleene algebras and the algebra of regular events. Computing and Information, 110(2), 366–390.
Kozen, D. (1997). Kleene algebra with tests. Transactions on Programming Languages and Systems, 19(3), 427–443.
Kozen, D. (2000). On Hoare logic and Kleene algebra with tests. Transactions on Computational Logic, 1(1), 60–76.
Kozen, D. (2003). Automata on guarded strings and applications. Matématica Contemporânea, 24, 117–139.
Kozen, D. (2008). On the coalgebraic theory of Kleene algebra with tests. Technical Report.? http://hdl.handle.net/1813/10173, Computing and Information Science, Cornell University.
Kozen, D., & Smith, F. (1996). Kleene algebra with tests: Completeness and decidability. In D. van Dalen & M. Bezem (Eds.), Proceedings of the 10th international workshop computer science logic (CSL’96) (Vol. 1258, pp. 244–259)., of lecture notes in computer science Utrecht: Springer.
Rutten, J. J. M. M. (1998). Automata and coinduction (an exercise in coalgebra). Proceedings of CONCUR’98 (Vol. 1466, pp. 193–217)., lecture notes in computer science Berlin: Springer.
Savitch, W. (1970). Relationship between nondeterministic and deterministic tape complexities. Journal of Computer and System Sciences, 4(2), 177–192.
Worthington, J. (2008). Automatic proof generation in Kleene algebra. In R. Berghammer, B. Möller, & G. Struth (Eds.), 10th International conference relational methods in computer science (RelMiCS10) and 5th international conference applications of Kleene algebra (AKA5) (Vol. 4988, pp. 382–396)., of lecturer notes in computer science Berlin: Springer.
Acknowledgements
Many thanks to Jiřà Adámek, Marcello Bonsangue, Helle Hvid Hansen, Raul Leal, Jan Rutten, Mehrnoosh Sadrzadeh, Luigi Santocanale, Alexandra Silva, Yde Venema, and James Worthington. An earlier version of this work (Kozen 2008) was presented at CMCS 2008 and was supported by NSF Grant CCF-0635028. The preparation of this revised version was supported by NSF grants CCF-1535952 and CCF-1637532 and by the National Security Agency.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this chapter
Cite this chapter
Kozen, D. (2017). On the Coalgebraic Theory of Kleene Algebra with Tests. In: BaÅŸkent, C., Moss, L., Ramanujam, R. (eds) Rohit Parikh on Logic, Language and Society. Outstanding Contributions to Logic, vol 11. Springer, Cham. https://doi.org/10.1007/978-3-319-47843-2_15
Download citation
DOI: https://doi.org/10.1007/978-3-319-47843-2_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-47842-5
Online ISBN: 978-3-319-47843-2
eBook Packages: Religion and PhilosophyPhilosophy and Religion (R0)