Input-track soundness for Aho's padded rows #
The work-track checker is independent of the immutable input letters and their consumed-prefix
bits. This file isolates the latter component. It shows that the finite input scan accepts
exactly a stationary input head for every structural certificate, and exactly one checked input
advance for matchTerminal.
The running cells underlying encodeRunRowFrom, before applying RowCell.run.
Equations
Instances For
The running cells underlying a packed configuration row.
Equations
Instances For
A block-independent presentation of a running input track whose first inputPos cells have
their consumed bit set.
Equations
Instances For
The input scan of an encoded row depends only on the input word and the two head positions, not on either packed work word.
The input-position effect prescribed by a composite certificate.
Equations
- (IndexedGrammar.Aho.CompositeCert.matchTerminal a).InputAction input oldPos newPos = (input[oldPos]? = some a ∧ newPos = oldPos + 1)
- cert.InputAction input oldPos newPos = (newPos = oldPos)
Instances For
Every semantic certificate step has the input-head action checked by the independent input track.
Decoding arbitrary accepted physical input tracks #
Erase the packed work block while retaining exactly the input letter and consumed bit.
Equations
- IndexedGrammar.Aho.RunCell.clearBlock g cell = { input := cell.input, consumed := cell.consumed, block := IndexedGrammar.Aho.blankBlock g }
Instances For
Block-independent view of a physical running row.
Equations
Instances For
Clearing blocks from a genuine encoded row gives its canonical input-position track.
Packed work blocks underlying an encoded list of running cells.
Running rows are determined by their input/consumption projection and their packed blocks.
Combine an input-track decoder with a packed-block decoder to reconstruct the exact running cells of an encoded work cursor.
Soundness decoder for arbitrary physical running rows. An accepted input scan reconstructs a common immutable input word, canonical consumed-prefix positions, and exactly the input action named by its certificate. Packed work blocks are intentionally erased from the row equalities.
Exact input-track correctness for encoded configurations.
Completeness direction of evalInputBlocks_encodeRunCells_accepts_iff.
Soundness direction of evalInputBlocks_encodeRunCells_accepts_iff.