Phases of Muoncompanion
Section SE · From the algorithm to the deterministic dynamics
Proved in Lean
Lemma SE.23 (Matrix martingale)
Let \(Z_0,Z_1,\dots\) be random selfadjoint \(d\times d\) matrices such that \(Z_b\) is determined by the past at block \(b+1\), has conditional mean zero given the past at block \(b\), and satisfies \(\norm{Z_b}\le c\). Then for \(x>0\) and every integer \(N\ge1\),
\[ \Pr\Big(\max_{j\le N}\Big\|\sum_{b<j}Z_b\Big\|\ge x\Big)\le2dN\exp\Big(-\frac{x^2}{2Nc^2}\Big). \]
Proof.
A centered increment has a subgaussian matrix moment generating function. For \(u>0\) and \(\abs y\le c\), convexity gives \(e^{uy}\le\cosh(uc)+(y/c)\sinh(uc)\), so by the spectral theorem \(e^{uZ_b}\preceq\cosh(uc)\Id+\sinh(uc)Z_b/c\); conditioning on the past at block \(b\) and using \(\cosh(uc)\le e^{u^2c^2/2}\) gives \(\EE_b\,e^{uZ_b}\preceq e^{u^2c^2/2}\Id\).
The trace exponential of the sum is bounded by induction. Put \(S_j\defeq\sum_{b<j}Z_b\). The Golden–Thompson inequality [81, Theorem IX.3.7 and (IX.19)] gives \(\Tr e^{uS_{j+1}}\le\Tr\big(e^{uS_j}e^{uZ_j}\big)\). Conditioning on the past at block \(j\), and using \(\Tr(PQ)\le\Tr(PQ')\) for \(P\succeq0\) and \(Q\preceq Q'\),
\[ \EE\,\Tr e^{uS_{j+1}}\le e^{u^2c^2/2}\,\EE\,\Tr e^{uS_j}\le d\,e^{(j+1)u^2c^2/2}. \]
Markov’s inequality applied to \(\Tr e^{uS_j}\ge e^{u\lambda_{\max}(S_j)}\) with \(u=x/(jc^2)\) gives \(\Pr(\lambda_{\max}(S_j)\ge x)\le d\,e^{-x^2/(2jc^2)}\le d\,e^{-x^2/(2Nc^2)}\) for \(j\le N\). The same bound for \(-S_j\) and a union bound over \(j\le N\) prove the claim.

Used by

Lean

Proved in Lean
Muon.Dynamics.lem_app_dyn_matrix_martingale source
theorem lem_app_dyn_matrix_martingale {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω)
    [IsProbabilityMeasure P]
    -- the dimension `d` and the filtration `ℱ` (the past at block `b`)
    (d : ℕ) (ℱ : ℕ → MeasurableSpace Ω) (hmono : Monotone ℱ) (hle : ∀ b, ℱ b ≤ mΩ)
    -- the increments `Z_b`
    (Z : ℕ → Ω → Matrix (Fin d) (Fin d) ℝ) (hsa : ∀ b ω, (Z b ω).IsHermitian)
    -- `Z_b` is determined by the past at block `b+1`
    (hmeas : ∀ b i j, Measurable[ℱ (b + 1)] (fun ω => Z b ω i j))
    -- conditional mean zero given the past at block `b` (entrywise)
    (hmean : ∀ b i j, MeasureTheory.condExp (ℱ b) P (fun ω => Z b ω i j) =ᵐ[P] 0)
    -- the bound `‖Z_b‖ ≤ c`
    (c : ℝ) (hbd : ∀ b ω, opNorm (Z b ω) ≤ c)
    -- `x > 0` and `N ≥ 1`
    (x : ℝ) (hx : 0 < x) (N : ℕ) (hN : 1 ≤ N) :
    (∀ b i j, Integrable (fun ω => Z b ω i j) P) ∧
    P {ω | ∃ j ≤ N, x ≤ opNorm (∑ b ∈ Finset.range j, Z b ω)} ≤
      ENNReal.ofReal (2 * (d : ℝ) * (N : ℝ) * Real.exp (-(x ^ 2) / (2 * (N : ℝ) * c ^ 2))) := by