Pattern-row kernels from physically placed group calls
ProvedExactPatternStream.ImplementationProof.pattern_kernels_of_groupexact-pattern-matchingstreaming-algorithmsword-ram
Let have lengths , and fix the seeds and one coin tape. Suppose the word width is at least , the counted-row instructions are present at the required addresses, and the grouped-child routine implements every call reached by the pattern. Then the physically placed pattern sweep realizes its child-kernel contract with the packed row contents prescribed by the abstract pattern state.
Preamble
import Definitions.Def_ExactPatternStream_StreamingImplementation open ExactPatternStream open ExactPatternStream.ImplementationProof open DynBrooks MachineProof PackedRAM HashProof CounterProof SoundProof CompletenessProof OnlineReport GroupReader Dispatch
Formal statement
theorem ExactPatternStream.ImplementationProof.pattern_kernels_of_group {σ p w : ℕ} (P T : List (Fin σ)) (s : Seeds σ P.length) (a : ZMod p)
(hm : 1≤ P.length) (mn : P.length≤ T.length) (twice : T.length≤2*P.length)
(wide : 5*ell T.length≤ w) (Q : Program) (ω : Tape w) (body : ℕ→Program)
(sites : PatternWordSites Q (countedGroupRow body)) (kernel : PatternGroupsAt P T s a Q ω body) :
PatternChildKernels P T s a ω Q (countedGroupRow body) (countedPatternMeaning P T s a w) := by sorrySource
Gawrychowski, Janczewski, Jin and Nelson, An Improved Streaming Algorithm for Exact Pattern Matching, STOC 2027 submission, §9, Lemma 9.2, p. 29 (PDF p. 30). Derived implementation lemma in Stage.PatternGroupVisit, declaration pattern_kernels_of_group.