Closure Properties of General Grammars – Formally Verified - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2023

Closure Properties of General Grammars – Formally Verified

Abstract

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
Origin Files produced by the author(s)

Dates and versions

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

Licence

Identifiers

Cite

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⟩
30 View
12 Download

Altmetric

Share

Gmail Mastodon Facebook X LinkedIn More