Lemma 8.8 — a string of period at least has a substring of every length with period at least
ProvedDynLZ77.Main.lemma_8_8lempel-zivp2o-gran-per-chapterp2o-plan-paperp2o-v1string-algorithms
Let be a string and an integer with . For every integer there is a substring of of length with
In the proof of Lemma 1.2 this finds a window of length that is not -periodic, which the density property of a synchronizing set then turns into a synchronizing position.
Differences from the source:
- encoding: every integer w ∈ [2p..|S|] → every natural number w with 2p ≤ w ≤ |S| (p an integer); reason: a substring has a length w ≥ 0; a negative w (possible only when p < 0) names no substring
Preamble
import Mathlib import Definitions.Def_DynLZ77_Main_Strings import Definitions.Def_DynLZ77_Main_Structure set_option autoImplicit false
Formal statement
namespace DynLZ77.Main
/-- **Lemma 8.8** (p. 50). Let `p` be an integer with `per(S) ≥ p`. For every integer
`w ∈ [2p..|S|]` there is a substring `S_w` of `S` of length `w` with `per(S_w) ≥ p`. -/
theorem lemma_8_8 {α : Type} (S : List α) (p : ℤ) (hp : p ≤ (per S : ℤ)) (w : ℕ)
(hw1 : 2 * p ≤ (w : ℤ)) (hw2 : w ≤ S.length) :
∃ i : ℕ, 1 ≤ i ∧ i + w ≤ S.length + 1 ∧ p ≤ (per (sub S i (i + w - 1)) : ℤ) := by sorry
end DynLZ77.Main
Source
Boneh, Fried, Golan, Kraus, Dynamic LZ77: No Space for Improvement, STOC 2027 submission (manuscript sha256 2a15e146…), p. 50 (PDF 52), Lemma 8.8
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.