Documentation

ReflectiveSubsystems.PersistentWalk

The persistent walk: a single-orbit tail whose constant is an inverse spectral gap #

ReflectiveSubsystems/ParityWalk.lean supplies the tail of a two-state chain whose per-step multiplier has a negative mean — the parity walk x ↦ ¬x ⊕ ξ, where consecutive states are anti-correlated and the Birkhoff sums cancel in pairs. That cancellation is why its constant carries no dependence on the noise rate.

This module treats the opposite sign: a persistent walk, whose multiplier has mean ρ ∈ [0, 1). Here nothing cancels, the telescope divides by the gap 1 − ρ, and a gap-dependent constant is unavoidable. It is the minimal genuinely spectral case, and it is what a pair of coordinates of a two-state chain looks like: two anti-correlated walks multiplied together have their sign flips cancel, leaving persistence ρ = λ² at gap 1 − λ².

Two devices do the work.

Main results #

Combining dependent summands: the arithmetic–geometric mean step #

theorem ReflectiveSubsystems.hasSubgaussianMGF_sum_range {Ω : Type u_1} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} {K : ℕ} (hK : 0 < K) (S : ℕ → Ω → ℝ) (J : NNReal) (hS : ∀ (c : ℕ), ProbabilityTheory.HasSubgaussianMGF (S c) J P) :
ProbabilityTheory.HasSubgaussianMGF (fun (ω : Ω) => ∑ c ∈ Finset.range K, S c ω) (↑K ^ 2 * J) P

The combination step. K summands, each sub-Gaussian with parameter J and with no independence assumed between them, add up to a variable sub-Gaussian with parameter K²·J.

The tool is the arithmetic–geometric mean inequality applied pointwise to the exponentials: exp(t·∑ S_c) = ∏ (exp(K·t·S_c))^{1/K} ≤ K⁻¹·∑ exp(K·t·S_c). Integrating and using each summand's own bound at the inflated argument K·t gives the claim.

At the independent extreme the true parameter would be K·J; the extra factor K is exactly what arbitrary dependence costs, and it is paid inside the exponent where the SQ interface can absorb it into the mixing constant.

The time axis, decomposed into residue classes #

theorem ReflectiveSubsystems.sum_range_mul_eq {α : Type u_1} [AddCommMonoid α] {K : ℕ} (hK : 0 < K) (M : ℕ) (f : ℕ → α) :
∑ t ∈ Finset.range (K * M), f t = ∑ c ∈ Finset.range K, ∑ u ∈ Finset.range M, f (c + K * u)

The time axis [0, K·M) is the disjoint union of its K residue classes mod K, each of length M. This is the interleaving the tail below runs on: the blocks a single class reads are pairwise disjoint even when blocks of different classes overlap.

The tail #

theorem ReflectiveSubsystems.persistentSum_tail {Ω : Type u_1} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure P] {ξ : ℕ → Ω → Bool} {ρ : ℝ} {K : ℕ} (hmeas : ∀ (i : ℕ), Measurable (ξ i)) (hindep : ProbabilityTheory.iIndepFun ξ P) (hK : 0 < K) (hρ0 : 0 ≤ ρ) (hρ : ρ ≤ 1 / 2) (o : ℕ → Ω → Bool) (Y : ℕ → Ω → ℝ) (A : ℕ → Set ℕ) (hdisj : ∀ (c u v : ℕ), u ≠ v → Disjoint (A (c + K * u)) (A (c + K * v))) (hYmeas : ∀ (t : ℕ), Measurable (Y t)) (hYbdd : ∀ (t : ℕ) (ω : Ω), Y t ω ∈ Set.Icc (-1) 1) (hYmean : ∀ (t : ℕ), ∫ (ω : Ω), Y t ω ∂P = ρ) (hom : ∀ (c u : ℕ), Measurable (o (c + K * u))) (hrec : ∀ (t : ℕ) (ω : Ω), chi (o t ω) * Y t ω = chi (o (t + K) ω)) (M : ℕ) {ε : ℝ} (hε : 0 ≤ ε) :
P.real {ω : Ω | 2 * ε + 4 * ↑K ≤ |∑ t ∈ Finset.range (K * M + K), chi (o t ω)|} ≤ 2 * Real.exp (-ε ^ 2 / (2 * (↑K ^ 2 * ↑M)))

The persistent-walk tail. Let o be a Bool process whose character obeys the lag-K multiplicative recursion χ(o t)·Y t = χ(o (t+K)), where each multiplier Y t is a [−1, 1]-valued reading of a noise block A t, all multipliers have the same mean ρ, and — within each residue class mod K — the blocks are pairwise disjoint and the process is readable off everything the class's later blocks do not touch. If the accumulated persistence satisfies ρ ≤ 1/2, then the Birkhoff sum of χ ∘ o through time K·M + K obeys an exponential tail with boundary allowance 4K and variance proxy K²·M.

Read at a horizon n = K·M + K and a tolerance τ, this is the Hoeffding shape at a mixing constant proportional to K — so choosing K as the blocking length that brings the persistence below 1/2 prices the constant linearly in the inverse gap. Telescoping at lag one instead would divide by the gap itself and square it.

Axiom audit #

The combination step and the persistent tail are #print axioms-clean on the standard triple, and the guards below make that build-enforced.