Syntactic cancellation at characteristic handles #
Every nonempty right side of the characteristic grammar ends in a list
nonterminal. A rightmost-reachable prefix, on the other hand, contains only
terminals and single nonterminals. Thus that final list is a genuine
marker: equality of two post-handle forms determines the text on both sides
of it.
A grammar symbol is one of the characteristic list nonterminals.
Equations
- DPDA_to_LR.IsListSymbol M (symbol.nonterminal (PDA_to_CFG.N.list a a_1 a_2)) = True
- DPDA_to_LR.IsListSymbol M x✝ = False
Instances For
Cancellation around a marker which cannot occur in either surrounding list. This elementary list lemma is kept independent of grammar syntax.
Pending rightmost prefixes contain no characteristic list symbol.
Terminal words contain no characteristic list symbol.
Appending a terminal preserves absence of characteristic list symbols.
Appending a single preserves absence of characteristic list symbols.
Appending a terminal word preserves absence of list symbols.
Specialized cancellation for the final list nonterminal of two
characteristic right sides.