RE Closure Under Intersection #
This file proves the search-level closure theorem for recursively enumerable
languages under intersection. The key result is RE_of_RE_i_RE: after replacing
both grammar witnesses by finite-nonterminal equivalents, a single computable
test checks both derivation witnesses and the existing search-to-TM compiler
turns that test back into an RE witness.
Main declarations #
Search test for membership in the intersection of two grammar languages.
Equations
- reIntersectionTest g₁ g₂ p w = (grammarTest g₁ p.1 w && grammarTest g₂ p.2 w)
Instances For
The two-witness intersection search test is computable.
Recursively enumerable languages over a finite alphabet are closed under intersection.
The class of recursively enumerable languages is closed under intersection.
RE languages are closed under intersection with a Mathlib-regular language.
The class of RE languages is closed under intersection with regular languages.