Online matching from packed row realizations
ProvedExactPatternStream.ImplementationProof.counted_implementation_of_rowsexact-pattern-matchingstreaming-algorithmsword-ram
Let be the pattern and text, with lengths , , over an alphabet of size . The machine uses words of bits.
Suppose a single choice of pattern and text row routines realizes the first-change and later-promotion cases for almost every sampled tape at every sufficiently large word width. Then a single streaming program and constants realize the full implementation of the seeded matcher. The program respects the space bound
at every clock on every tape, produces the required number of answers at each completed prefix and completes almost surely. Its final answers agree with a uniformly distributed seed map and every completed partial answer list extends to an answer list for some seeds.
Preamble
import Definitions.Def_ExactPatternStream_StreamingImplementation open ExactPatternStream open ExactPatternStream.ImplementationProof open DynBrooks MachineProof PackedRAM CounterProof SoundProof SeedRow OnlineReport MeasureTheory MainProof
Formal statement
theorem ExactPatternStream.ImplementationProof.counted_implementation_of_rows (h : CountedRowsRealized) : Implementation := by sorry
Source
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.CountedImplementation, declaration counted_implementation_of_rows.