Counted derivations for indexed normal form #
Exact-step derivations, append splitting, terminal-source rigidity, and the four normal-form rule cases used to turn derivations into data-carrying parse certificates.
Minimal sentential counting support #
Counted derivations #
DerivesIn g n w₁ w₂ means that w₁ derives w₂ in exactly n indexed-grammar
steps. This is a counted counterpart to Derives, useful when extracting minimal accepting
derivations.
Equations
Instances For
Split a counted derivation at any index i ≤ n.
Append splitting #
A one-step indexed rewrite remains valid after appending an unchanged right context.
A one-step indexed rewrite remains valid after prepending an unchanged left context.
Counted terminal-word composition over append.
There is no indexed-grammar rewrite step whose source sentential form is empty.
A one-step indexed rewrite of an appended sentential form rewrites either the left side or the right side of the append.
A counted derivation from an appended sentential form can be factored into counted derivations from the two sides of the append. The two side budgets add up to the original budget.
Counted split of an appended terminal derivation.
Counted split for the pair produced by a normal-form binary branch.
Normal-form rule decomposition #
Equations
- One or more equations did not get rendered due to their size.
Instances For
A normal-form flag-pop step A[f :: σ] ↦ B[σ].
Equations
- One or more equations did not get rendered due to their size.
Instances For
A normal-form flag-push step A[σ] ↦ B[f :: σ].
Equations
- One or more equations did not get rendered due to their size.
Instances For
A normal-form terminal-emission step A[σ] ↦ a.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A one-step rewrite in normal form has exactly one of the four indexed-normal-form shapes: binary split, flag pop, flag push, or terminal emission.
Counted first-step analysis for a terminal derivation from one indexed nonterminal in normal form. The binary case splits both the terminal word and the remaining step budget.
Exact counted recursive characterization of terminal derivations from one indexed nonterminal in normal form.
Counted recursive characterization using concrete normal-form rules from g.rules.
This is the finite-search-facing form of singleton terminal derivability.
Counted forward rule-level singleton decomposition with explicit decreasing sub-budgets and target-compatible child yields. This is the finite-search form of the first-step analysis: every recursive premise has a strictly smaller counted budget, and binary premises also have nonempty, strictly smaller terminal yields contained in the ambient target.