Langlib

Langlib.Classes.RecursivelyEnumerable.Closure.Star

RE Closure Under Kleene Star #

This file proves that the class of recursively enumerable languages is closed under Kleene star. The proof constructs an unrestricted grammar for L* given an unrestricted grammar for L, following the construction from the Lean 3 proof RE_star.lean.

Grammar Construction #

Given a grammar g for L with nonterminals N and start symbol S:

Main declarations #

theorem RE_of_star_RE {T : Type} (L : Language T) :

The class of recursively enumerable languages is closed under the Kleene star.

The class of recursively enumerable languages is closed under Kleene star.