Skip to main content

On the Coalgebraic Theory of Kleene Algebra with Tests

  • Chapter
  • First Online:
Rohit Parikh on Logic, Language and Society

Part of the book series: Outstanding Contributions to Logic ((OCTR,volume 11))

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

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 119.99
Price excludes VAT (USA)
  • Durable hardcover 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

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.

    Google Scholar 

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

    Google Scholar 

  • Brzozowski, J. A. (1964). Derivatives of regular expressions. Journal of the Association for Computing Machinery, 11, 481–494.

    Google Scholar 

  • Chen, H., & Pucella, R. (2003). A coalgebraic approach to Kleene algebra with tests. Electronic Notes in Theoretical Computer Science, 82(1),

    Google Scholar 

  • Cohen, E., Kozen, D., & Smith, F. (1996). The complexity of Kleene algebra with tests. Technical Report TR96-1598, Computer Science Department, Cornell University.

    Google Scholar 

  • Conway, J. H. (1971). Regular algebra and finite machines. London: Chapman and Hall.

    Google Scholar 

  • Kaplan, D. M. (1969). Regular expressions and the equivalence of programs. Journal of Computer and System Sciences, 3, 361–386.

    Google Scholar 

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

    Google Scholar 

  • Kozen, D. (1994). A completeness theorem for Kleene algebras and the algebra of regular events. Computing and Information, 110(2), 366–390.

    Google Scholar 

  • Kozen, D. (1997). Kleene algebra with tests. Transactions on Programming Languages and Systems, 19(3), 427–443.

    Google Scholar 

  • Kozen, D. (2000). On Hoare logic and Kleene algebra with tests. Transactions on Computational Logic, 1(1), 60–76.

    Google Scholar 

  • Kozen, D. (2003). Automata on guarded strings and applications. Matématica Contemporânea, 24, 117–139.

    Google Scholar 

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

    Google Scholar 

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

    Google Scholar 

  • Savitch, W. (1970). Relationship between nondeterministic and deterministic tape complexities. Journal of Computer and System Sciences, 4(2), 177–192.

    Google Scholar 

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

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Dexter Kozen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics