Lemma 4.5 — is non-decreasing
ProvedDynLZ77.Main.lemma_4_5lempel-zivp2o-gran-per-chapterp2o-plan-paperp2o-v1string-algorithms
For every string and every ,
So the parents in the LPF′-tree are non-decreasing in . This monotonicity (from [BCR24, proof of Lemma 19]) underlies the irreducible positions and the tree-oracle leaf test.
Differences from the source:
- encoding: i ∈ [|S| − 1] → 1 ≤ i and i + 1 ≤ |S|; reason: the same range, written without natural-number subtraction
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 4.5** (p. 17). For every string `S` and `i ∈ [1..|S| − 1]`,
`i + LPF′_S(i) ≤ i + 1 + LPF′_S(i + 1)`. -/
theorem lemma_4_5 {α : Type} [DecidableEq α] (S : List α) (i : ℕ) (hi1 : 1 ≤ i)
(hi2 : i + 1 ≤ S.length) :
i + lpf' S i ≤ i + 1 + lpf' S (i + 1) := by sorry
end DynLZ77.Main
Source
Boneh, Fried, Golan, Kraus, Dynamic LZ77: No Space for Improvement, STOC 2027 submission (manuscript sha256 2a15e146…), p. 17 (PDF 19), Lemma 4.5
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.