Closure Properties of General Grammars – Formally Verified - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2023

Closure Properties of General Grammars – Formally Verified

Résumé

We formalized general (i.e., type-0) grammars using the Lean 3 proof assistant. We defined basic notions of rewrite rules and of words derived by a grammar, and used grammars to show closure of the class of type-0 languages under four operations: union, reversal, concatenation, and the Kleene star. The literature mostly focuses on Turing machine arguments, which are possibly more difficult to formalize. For the Kleene star, we could not follow the literature and came up with our own grammar-based construction.
Fichier principal
Vignette du fichier
paper.pdf (600.64 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04298533 , version 1 (21-11-2023)

Licence

Identifiants

Citer

Martin Dvorak, Jasmin Blanchette. Closure Properties of General Grammars – Formally Verified. ITP 2023, 2023, Białystok, Poland. ⟨10.4230/LIPIcs.ITP.2023.15⟩. ⟨hal-04298533⟩
43 Consultations
29 Téléchargements

Altmetric

Partager

More