First parent digest on the public input stream
ProvedExactPatternStream.ImplementationProof.first_public_digest_at_leastexact-pattern-matchingstreaming-algorithmsword-ram
Let be the pattern and text, with lengths , , over an alphabet of size . The machine uses words of bits.
Given any minimum multiplier, choose a word multiplier at least that large and a space constant. The joint seed draw has uniform law. For almost every tape and every nonconstant pattern, feeding the first unequal symbol reaches the digest return with the first parent of the seeded parse represented in the designated hash word. The first-record storage and sampler cursor remain valid and every clock through this calculation has space at most
Preamble
import Definitions.Def_ExactPatternStream_StreamingImplementation open ExactPatternStream open ExactPatternStream.ImplementationProof open DynBrooks MachineProof PackedRAM CounterProof HashProof SoundProof OnlineReport SeedRow MeasureTheory
Formal statement
theorem ExactPatternStream.ImplementationProof.first_public_digest_at_least (k minWidth : ℕ) :
∃ cw K : ℕ, minWidth≤ cw ∧ FirstPublicDigestAt k cw K := 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.FirstPublicDigest, declaration first_public_digest_at_least.