Lefebvre's variations: two shifted uniform distributions on nearby intervals admit a coupling that disagrees with probability at most 3h over L plus 1
ProvedLefebvreVariations.kmp_shifted_split_couplingLet and with , and . Then there is a coupling of and such that
This is the maximal-coupling step in the paper's mixing-time analysis of the KMP process: two shifted uniform laws on intervals whose endpoints differ by at most and overlap in at least points, so their total-variation distance is at most . It is the second of the two parts of Lemma 4.9 of "A Tale of Two Walks: From Kac to KMP and Back"; the explicit floor coupling of part (i) is not part of this statement.
Formalization Note A coupling is a function q : Fin (B+1) × Fin (D+1) → ℝ with q ≥ 0, row sums 1/(B+1) and column sums 1/(D+1). The probability of A + Z ≠ C + Z̃ is the sum of q over the pairs (z, z') with A + z ≠ C + z'. The parameters h and L are real, with |A - C| ≤ h, |B - D| ≤ h, L ≤ B, L ≤ D.
Why this is a variation. This varies KMPMixing.lemma_4_9 on the platform, an open lemma with two parts (arXiv:2609.38044, Lemma 4.9). It is part (ii) only, the maximal-coupling bound 3h/(L+1); part (i), the explicit floor coupling with the identity (15), is omitted. The paper's proof (overlap of the two integer intervals is at least B+1-3h, then maximal coupling) was read and re-checked; the statement is the second conjunct of the parent.
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib
namespace LefebvreVariations
/-- Part (ii) of Lemma 4.9 of Chen, Liu, Qin, Schulman, Song, Yao and Zhao (arXiv:2609.38044):
if `|A - C| ≤ h`, `|B - D| ≤ h` and `B, D ≥ L`, the uniform laws on `{0, …, B}` and `{0, …, D}`
admit a coupling `q` (a nonnegative function on `Fin (B+1) × Fin (D+1)` with the two uniform
marginals) under which `A + Z ≠ C + Z̃` with probability at most `3h/(L+1)`. Part (i), the explicit
floor coupling, is not stated here. -/
theorem kmp_shifted_split_coupling (B D : ℕ) (A C : ℕ) (h L : ℝ) (hh : 0 ≤ h) (hL : 0 ≤ L)
(hAC : |(A : ℝ) - (C : ℝ)| ≤ h) (hBD : |(B : ℝ) - (D : ℝ)| ≤ h)
(hLB : L ≤ (B : ℝ)) (hLD : L ≤ (D : ℝ)) :
∃ q : Fin (B + 1) × Fin (D + 1) → ℝ,
(∀ p, 0 ≤ q p) ∧
(∀ z : Fin (B + 1), ∑ z' : Fin (D + 1), q (z, z') = 1 / ((B : ℝ) + 1)) ∧
(∀ z' : Fin (D + 1), ∑ z : Fin (B + 1), q (z, z') = 1 / ((D : ℝ) + 1)) ∧
∑ p ∈ Finset.univ.filter (fun p : Fin (B + 1) × Fin (D + 1) =>
A + (p.1 : ℕ) ≠ C + (p.2 : ℕ)), q p ≤ 3 * h / (L + 1) := by
sorry
end LefebvreVariations