Abstract
Regular algebra is the algebra of regular expressions as induced by regular language identity. We use Isabelle/HOL for a detailed systematic study of the regular algebra axioms given by Boffa, Conway, Kozen and Salomaa. We investigate the relationships between these systems, formalise a soundness proof for the smallest class (Salomaa’s) and obtain completeness for the largest one (Boffa’s) relative to a deep result by Krob. As a case study in formalised mathematics, our investigations also shed some light on the power of theorem proving technology for reasoning with algebras and their models, including proof automation and counterexample generation.
Similar content being viewed by others
References
Armstrong, A., Struth, G., Weber, T.: Kleene algebra. Archive of Formal Proofs 2013 (2013)
Benzmüller, C., Sultana, N.: Leo-II Version 1.5. In: Blanchette, J.C., Urban, J. (eds.) PxTP 2013, EPiC Series, vol. 14, pp. 2–10. EasyChair (2013)
Blanchette, J.C., Bulwahn, L., Nipkow, T.: Automatic proof and disproof in Isabelle/HOL. In: Tinelli, C., Sofronie-Stokkermans, V. (eds.) FroCos 2011, LNAI, vol. 6989, pp. 12–27. Springer (2011)
Blanchette, J.C., Nipkow, T.: Nitpick: A counterexample generator for higher-order logic based on a relational model finder. In: Kaufmann, M., Paulson, L.C. (eds.) Interactive Theorem Proving, LNCS, vol. 6172, pp. 131–146. Springer (2010)
Bloom, S.L., Ésik, Z.: Equational axioms for regular sets. Math. Struct. Comput. Sci. 3(1), 1–24 (1993)
Boffa, M.: Une remarque sur les systèmes complets d’identités rationnelles. Inf. théorique et Appl. 24(4), 419–423 (1990)
Boffa, M.: Une condition impliquant toutes les identités rationnelles. Inf. théorique et Appl. 29(6), 515–518 (1995)
Braibant, T., Pous, D.: An efficient Coq tactic for deciding Kleene algebras. In: Kaufmann, M., Paulson, L. (eds.) ITP 2010, LNCS, vol. 6172, pp. 163–178. Springer (2010)
Bulwahn, L.: The new Quickcheck for Isabelle. In: Hawblitzel, C., Miller, D. (eds.) Certified Programs and Proofs, LNCS, vol. 7679, pp. 92–108. Springer (2012)
Conway, J.H.: Regular Algebra and Finite Machines. Chapman and Hall (1971)
Eilenberg, S.: Automata, Languages and Machines. Academic Press (1976)
Ésik, Z.: Group axioms for iteration. Inf. Comput. 148(2), 131–180 (1999)
Foster, S., Struth, G.: Regular algebras. Archive of Formal Proofs 2014 (2014)
Ginzburg, A.: Algebraic Theory of Automata. Academic Press (1968)
Gordon, M.J.C., Reynolds, J., Hunt, W.A., Kaufmann, M.: An integration of HOL and ACL2, FMCAD 2006, pp 153–160. IEEE Computer Society (2006)
Höfner, P., Struth, G.: Algebraic notions of nontermination: Omega and divergence in idempotent semirings. J. Logic Algebraic Program. 79(8), 794–811 (2010)
Huffman, B., Kuncar, O.: Lifting and transfer: A modular design for quotients in Isabelle/HOL. In: Gonthier, G., Norrish, M. (eds.) CPP 2013, LNCS, vol. 8307, pp. 131–146. Springer International Publishing (2013)
Iancu, M., Rabe, F.: Formalizing foundations of mathematics. Math. Struct. Comput. Sci. 21, 883–911 (2011)
Kleene, S.C.: Representation of events in nerve nets and finite automata. In: Shannon, C.E., McCarthy, J. (eds.) Automata Studies, chapter 1956, pp 3–41. Princeton University Press (1956)
Kozen, D.: On Kleene algebras and closed semirings. In: Rovan, B. (ed.) MFCS’90, LNCS, vol. 452, pp 26–47. Springer (1990)
Kozen, D.: A completeness theorem for Kleene algebras and the algebra of regular events. Inf. Comput. 110(2), 366–390 (1994)
Kozen, D., Silva, A.: Left-handed completeness. In: Kahl, W., Griffin, T.G. (eds.) RAMiCS 2012, LNCS, vol. 7560, pp 162–178. Springer (2012)
Krob, D.: Complete systems of \(\mathcal {B}\)-rational identities. Theor. Comput. Sci. 89, 207–343 (1991)
Nipkow, T., Paulson, L.C., Wenzel, M.: Isabelle/HOL: A Proof Assistant for Higher-Order Logic, LNCS, vol. 2283. Springer (2002)
Nipkow, T., Traytel, D.: Unified decision procedures for regular expression equivalence. In: Klein, G., Gamboa, R. (eds.) ITP 2014, LNCS, vol. 8558, pp 450–466. Springer (2014)
Pratt, V.: Action logic and pure induction. Technical Report STAN-CS-90-1343, Department of Computer Science. Stanford University (1990)
Redko, V.N.: On the determining totality of an algebra of regular events. Ukrain. Math. Z 16, 120–126 (1964). (in Russian)
Salomaa, A.: Two complete axiom systems for the algebra of regular events. J. ACM 13(1), 158–169 (1966)
Wu, C., Zhang, X., Urban, C.: A formalisation of the myhill-nerode theorem based on regular expressions. J. Autom. Reason. 52(4), 451–480 (2014)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Foster, S., Struth, G. On the Fine-Structure of Regular Algebra. J Autom Reasoning 54, 165–197 (2015). https://doi.org/10.1007/s10817-014-9318-9
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10817-014-9318-9