Phases of Muoncompanion
Section SE · From the algorithm to the deterministic dynamics
Proved in Lean
Lemma SE.6 (Covariance inequality)
Let \(F,G\) be square-integrable functions of countably many independent random coordinates \((\xi_l)_{l\ge1}\), and let \(F^{[l]}\), \(G^{[l]}\) denote \(F\), \(G\) with \(\xi_l\) replaced by an independent copy. Then
\[ \abs{\Cov(F,G)}\le\sum_{l\ge1}\norm{F-F^{[l]}}_2\,\norm{G-G^{[l]}}_2 . \]
Proof.
Let \(\mathcal A_l\) be generated by \(\xi_1,\dots,\xi_l\) and \(D_lF\defeq\EE[F\mid\mathcal A_l]-\EE[F\mid\mathcal A_{l-1}]\). By Lévy’s upward theorem [101, Theorem 14.2], \(\EE[F\mid\mathcal A_l]\to F\) in \(L^2\), so \(F-\EE F=\sum_lD_lF\) in \(L^2\), and likewise for \(G\). Distinct martingale differences are orthogonal, so \(\Cov(F,G)=\sum_l\EE[D_lF\,D_lG]\). Since the copy of \(\xi_l\) is independent, \(\EE[F^{[l]}\mid\mathcal A_l]=\EE[F\mid\mathcal A_{l-1}]\), hence \(D_lF=\EE[F-F^{[l]}\mid\mathcal A_l]\) and \(\norm{D_lF}_2\le\norm{F-F^{[l]}}_2\) by Jensen’s inequality. The Cauchy–Schwarz inequality applied to each term proves the claim.

Used by

Lean

Proved in Lean
Muon.Dynamics.lem_app_dyn_covariance source
theorem lem_app_dyn_covariance {Ω : Type*} [MeasurableSpace Ω] {β : Type*} [MeasurableSpace β]
    (P : Measure Ω) [IsProbabilityMeasure P] (ξ ξ' : ℕ → Ω → β)
    (hξ : ∀ l, Measurable (ξ l)) (hξ' : ∀ l, Measurable (ξ' l))
    (hlaw : ∀ l, P.map (ξ' l) = P.map (ξ l))
    (hind : iIndepFun (Sum.elim ξ ξ' : ℕ ⊕ ℕ → Ω → β) P)
    (F G : (ℕ → β) → ℝ) (hF : Measurable F) (hG : Measurable G)
    (hF2 : MemLp (fun ω => F (fun l => ξ l ω)) 2 P)
    (hG2 : MemLp (fun ω => G (fun l => ξ l ω)) 2 P) :
    ENNReal.ofReal |covariance (fun ω => F (fun l => ξ l ω)) (fun ω => G (fun l => ξ l ω)) P| ≤
      ∑' l : ℕ,
        eLpNorm (fun ω => F (fun k => ξ k ω) -
            F (Function.update (fun k => ξ k ω) l (ξ' l ω))) 2 P *
        eLpNorm (fun ω => G (fun k => ξ k ω) -
            G (Function.update (fun k => ξ k ω) l (ξ' l ω))) 2 P := by