A one-factor shrinking theorem for indexed languages #
This is the m = 1 form of Gilman's shrinking theorem. A long generated
word contains one critical scope. Its ordered nonempty factors have bounded
length, and after any one factor is distinguished a proper retained
subproduct can replace that scope while remaining generated.
structure
IndexedGrammar.NFParse.ScopedOneFactorShrinking
{T : Type}
(g : IndexedGrammar T)
(w : List T)
(bound : ℕ)
:
The critical-scope form of the one-factor shrinking conclusion. The two contexts are kept fixed; adding either nonempty context as an outer factor recovers the usual proper-subproduct statement for the whole word.
Instances For
theorem
IndexedGrammar.NFParse.exists_scopedOneFactorShrinking
{T : Type}
(g : IndexedGrammar T)
[Fintype T]
[Fintype g.nt]
[Fintype g.flag]
[DecidableEq g.nt]
(hNF : g.IsNormalForm)
:
Grammar-level one-factor shrinking theorem.