Langlib

Langlib.Classes.ContextFree.Closure.UnionBonus

Context-Free Union Bonus Construction #

This file records a direct grammar construction for context-free closure under union.

Main declarations #

theorem bonus_CF_of_CF_u_CF {T : Type} (L₁ L₂ : Language T) :
is_CF L₁ is_CF L₂is_CF (L₁ + L₂)

An explicit grammar construction witnessing closure of context-free languages under union.