Context
At the midpoint, a valid prefix is summarized by its unmatched opener stack. Neutrals permit every height through N; without neutrals, only heights congruent to N modulo two occur. Irreparable failure supplies one additional all-zero row when N is positive.
Definitions
- A generalized Dyck word uses typed openers and matching closers; neutral symbols leave the stack unchanged.
- counts the live typed stacks reachable after exactly symbols.
- adds the reachable failure row when .
Hypotheses and scope
- Inputs have total length exactly 2N and the memory cut is after N symbols.
- Recognition is exact, deterministic, and one pass.
- The lower bound counts complete mutable configurations, including an absorbing failure configuration.
Proof or evidence
Every reachable live stack has a canonical length-N prefix and a padded canonical completion. The resulting prefix-versus-completion submatrix is the identity, so distinct stacks have distinct future rows. A malformed prefix supplies one zero row for N at least one. Two distinct rows cannot share a deterministic midpoint configuration. A typed stack plus failure flag gives the matching asymptotic upper bound.
Verification notes
The proof and closure audit separately check neutral padding, parity without neutrals, the zero-row correction, exact ceiling rounding, ranks over several fields, and a one-pass simulator. The new independent interpreter checks 11,358,802 literal midpoint row cells across 24 hostile parameter cases.
Limitations
- The classical deterministic linear lower bound for multiple bracket types is not claimed as new.
- The explicit stack encoding is asymptotically, not bit-for-bit, optimal in every parameter regime.
- The theorem is for exact fixed-length midpoint recognition, not arbitrary streaming promises.
Notes
The deterministic two-type linear lower bound is classical. M23 proves the exact residual-shadow, Hankel, and midpoint-width bridge, including the logarithmic one-type and neutral/parity cases, exact ceiling rounding, and a readout-correct typed-stack realization.