Reverse viable-prefix lemmas #
The soundness development follows item edges forward. Completeness needs the
converse structural fact. The first such fact is proved here: a valid item at
dot position zero is either the untouched start configuration, or is obtained
by one closure edge from a valid parent item. It is a direct item-level form
of CF_grammar.derivesRightmost_nonterminal_ancestry.
Semantic item validity with an exact count of the rightmost derivation steps reaching the item's prehandle.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Extensionality for dependent canonical items, stated through their public projections.
The distinguished start rule is the only augmented rule headed by the fresh nonterminal.
An augmented item at the untouched fresh-start configuration is exactly the distinguished start item.
A valid item with a positive dot position is obtained by one goto advancement from a valid item at the prefix with its final symbol removed.
Counted form of Valid.positive_position_predecessor; reversing a goto
keeps the derivation count unchanged and shortens the scanned prefix.
A valid zero-dot item is either rooted at the untouched initial nonterminal, or has a valid parent connected by one canonical closure edge.
Counted zero-dot ancestry. In the non-root case the valid parent is reached in strictly fewer rightmost steps.
Full viable-prefix completeness for the augmented canonical item automaton, with an exact derivation witness.