Proof of Lemma 1.2 — the highly periodic part:
ProvedDynLZ77.Main.lemma_1_2_percombinatorics-on-wordslz77strings
For a string with let
where a string is highly periodic if . There is a universal constant such that for every string ,
This is the second half of the proof of Lemma 1.2 ("Bounding "). The paper maps each injectively to a non-dominated extension point of the set of the two leftmost Lyndon-root positions of the highly periodic runs containing a phrase start, using Claims 8.11 and 8.12, Observations 8.6 and 8.7, Lemma 8.5 () and Lemma 2.2. Together with the bound on the non-highly-periodic part it gives Lemma 1.2.
Formalization Note. is written as , as in the mission's statement of Lemma 1.2; HighlyPeriodic and Ired are those of DynLZ77_Main_Structure.
Preamble
import Mathlib.Analysis.SpecialFunctions.Log.Base import Definitions.Def_DynLZ77_Main_Strings import Definitions.Def_DynLZ77_Main_Structure set_option autoImplicit false
Formal statement
namespace DynLZ77.Main
open Classical in
/-- **Proof of Lemma 1.2, bounding `Ired_Per`** (pp. 52–53). There is a universal constant `C` such
that for every string `S`, the irreducible positions `i` whose equality interval
`S[i..i + LPF′_S(i))` is highly periodic number at most `C·z·(1 + log₂|S|)³`. -/
theorem lemma_1_2_per : ∃ C : ℝ, ∀ {α : Type} [DecidableEq α] (S : List α),
(((Ired S).filter (fun i => HighlyPeriodic (sub S i (i + lpf' S i - 1)))).card : ℝ) ≤
C * (z S : ℝ) * (1 + Real.logb 2 (S.length : ℝ)) ^ 3 := by sorry
end DynLZ77.Main
Source
Boneh, Fried, Golan, Kraus, Dynamic LZ77: No Space for Improvement, STOC 2027 submission (manuscript sha256 2a15e146…, https://github.com/sigact-stoc/stoc2027/releases/download/papers-2/1131.pdf), proof of Lemma 1.2, "Bounding Ired_Per", pp. 52–53 (PDF 54–55)