A parked long-key row retains the updated hash, count and annotation
ProvedExactPatternStream.ImplementationProof.persistent_long_childLet and have lengths with , over an alphabet of size . Fix the hierarchy seed and a word width , where is the integer logarithmic length used by the implementation. Choose a live nonfinal level, either expanded parse stream, and a valid position in it. A packed long-key row initially represents the children preceding that position, with matching projection seed, counter stack, header fields and annotation state. Under the row’s register, separation and address conditions, the child routine implements
where is the slot in the group, is its next child, is the balanced counter state, and folds the group annotation over its prefix. The resulting state is represented in the same RAM record. The routine preserves the stream cursors and confines writes to the specified working cells in arbitrary surrounding code.
import Definitions.Def_ExactPatternStream_StreamingImplementation open ExactPatternStream open ExactPatternStream.ImplementationProof open CounterProof DynBrooks MachineProof SoundProof PackedRAM CompletenessProof HashProof GroupReader
theorem ExactPatternStream.ImplementationProof.persistent_long_child {σ w exponent base start save : ℕ} (P T : List (Fin σ)) (seed : Seeds σ P.length)
(hm : 1≤ P.length) (hmn : P.length≤ T.length) (short : T.length≤2*P.length)
(hn : 3≤ T.length) (alphabet : σ≤ T.length^exponent) (word : 2*(64*(exponent+1)+33)*ell T.length≤ w)
(j : ℕ) (live : j< topIndex (seededBuild P T seed)) (pre post : Program) (ω : ℕ→BitVec w)
(low : 60≤ save) (safe : save+48≤ base) :
PersistentLongChild P T seed j pre post ω base start save := by sorry