Phases of Muoncompanion
Section SE · From the algorithm to the deterministic dynamics
Proved in Lean
Lemma SE.2 (Laws of the frozen chains)
Let \(D,m\) be deterministic with \(\cR(D)>0\), and put \(C_M\defeq C_\Sigma^2(\gamma_\star+2)^2\).
  1. (i)
    The sequence \((N_r/\sqrt{2\cR(D)})_{r\ge-1}\) has the law of the buffers \((M_{t'})_{t'\ge t-1}\) of the frozen-state model of Definition SA.3 at the normalized state \(\widehat A(D)\), with the samples indexed by time, and \(V_r=\Qridge\ridge(N_r/\sqrt{2\cR(D)})\) is its update. In particular \((V_r)_{r\ge0}\) is stationary, \(\overline V(D)\) is the expected frozen update \(\EE\,\Qridge\ridge(\Mt)\) at \(\widehat A(D)\), and the lag covariances, the integrated covariance measure \(\mathfrak C_{\mathrm{int}}(\ridge)\) and the finite-time measures \(\mathfrak F_T(\ridge)\) of the volatility section at the state \(\widehat A(D)\) are those of \((V_r)\).
  2. (ii)
    For \(r\ge-1\), \(\widehat N_r-N_r=\bmom^{r+1}(m-N_{-1})\).
  3. (iii)
    \(\EE\norm{N_{-1}}_\F^2\le2\cR(D)\,C_MB\).
  4. (iv)
    At a step \(t<t_{\rm stop}\), the statements (i)–(iii) hold conditionally on \(\cF_t\) with \(D=\Dt\) and \(m=M^\circ_{t-1}\).
Proof.
For (i), write \(d_a=z_a^\T\widehat A(D)w_a\). By (SE.1), \(G^\circ_{t+1}[D]=\sqrt{2\cR(D)}\,G_{t+1}\), where \(G_{t+1}\) is the batch (SA.26) built from the same samples at the normalized state \(\widehat A(D)\). The auxiliary batches and the batches of the steps \(t,t+1,\dots\) are independent, so \(N_r/\sqrt{2\cR(D)}\) is the time-indexed buffer of the frozen-state model. By Proposition SA.3(ii), \(\Qridge{\ridgephys(D)}(N_r)=\Qridge\ridge(N_r/\sqrt{2\cR(D)})\). Stationarity is Lemma SA.5(ii), and the covariances of the volatility section are defined from these updates in Definition SD.1 and Theorem SD.8(iv).
Part (ii) follows by subtracting the two recursions: the difference satisfies \(\widehat N_r-N_r=\bmom(\widehat N_{r-1}-N_{r-1})\) and starts from \(m-N_{-1}\), as in the proof of Proposition SA.6. Part (iii) is (i) together with the bound \(B^{-1}\EE\norm{\Mt}_\F^2\le C_M\) of Lemma SD.3. Part (iv) holds because the batches of the steps \(t,t+1,\dots\) and the auxiliary batches are independent of the past.

Uses

Used by

Lean

Proved in Lean
Muon.Dynamics.lem_app_dyn_chains_i source
theorem lem_app_dyn_chains_i {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
    [IsProbabilityMeasure P] {Ω' : Type*} [MeasurableSpace Ω'] {P' : Measure Ω'}
    [IsProbabilityMeasure P'] (p : DynParams) (C : Covariances m n)
    (cs : ChainSamples P m n B) (t : ℕ) (D M : Mat m n) (hD : 0 < riskSigma C D)
    (F : FrozenParams m n B) (hFC : F.C = C) (hFA : F.A = Ahat C D) (hFβ : F.β = p.β)
    (S : FrozenSamples P' m n B) :
    (∀ᵐ ω ∂P, Summable (fun j : ℕ => emaW p.β j • batchGrad D (physBatch C (cs.aux (t : ℤ) j) ω))) ∧
    P.map (fun ω => normChainPath p C cs t D M ω) =
        P'.map (fun ω' (k : ℕ) => frozenBuf F S ((t : ℤ) + (k : ℤ) - 1) ω') ∧
    P.map (fun ω (k : ℕ) => (def_app_dyn_chains p C cs t D M ω).statV k) =
        P'.map (fun ω' (k : ℕ) => frozenUpd F S p.ϱ ((t : ℤ) + (k : ℤ) - 1) ω') ∧
    ((∀ i j, Integrable (fun ω => (def_app_dyn_chains p C cs t D M ω).statV 1 i j) P) ∧
      (∀ i j, Integrable (fun ω' => frozenUpd F S p.ϱ (t : ℤ) ω' i j) P')) ∧
    mean P (fun ω => (def_app_dyn_chains p C cs t D M ω).statV 1) =
        mean P' (fun ω' => frozenUpd F S p.ϱ (t : ℤ) ω') := by
Muon.Dynamics.lem_app_dyn_chains_ii source
theorem lem_app_dyn_chains_ii (p : DynParams) (C : Covariances m n) {Ω : Type*}
    [MeasurableSpace Ω] {P : Measure Ω} (cs : ChainSamples P m n B) (t : ℕ) (D M : Mat m n)
    (ω : Ω) (k : ℕ) :
    (def_app_dyn_chains p C cs t D M ω).same k - (def_app_dyn_chains p C cs t D M ω).stat k =
      (p.β ^ k) • (M - (def_app_dyn_chains p C cs t D M ω).stat 0) := by
Muon.Dynamics.lem_app_dyn_chains_iii source
theorem lem_app_dyn_chains_iii {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
    [IsProbabilityMeasure P] (p : DynParams) (C : Covariances m n) (cs : ChainSamples P m n B)
    (t : ℕ) (D M : Mat m n) (hD : 0 < riskSigma C D) (hS : SizeFin C B p.γstar p.CSig) :
    (∀ᵐ ω ∂P, Summable (fun j : ℕ => emaW p.β j • batchGrad D (physBatch C (cs.aux (t : ℤ) j) ω))) ∧
    Integrable (fun ω => fro ((def_app_dyn_chains p C cs t D M ω).stat 0) ^ 2) P ∧
    ∫ ω, fro ((def_app_dyn_chains p C cs t D M ω).stat 0) ^ 2 ∂P ≤
      2 * riskSigma C D * cMConst p.CSig p.γstar * (B : ℝ) := by
Muon.Dynamics.lem_app_dyn_chains_iv source
theorem lem_app_dyn_chains_iv {Ω : Type*} (𝓕 : MeasurableSpace Ω) [mΩ : MeasurableSpace Ω]
    {P : Measure Ω} [IsProbabilityMeasure P] (p : DynParams) (C : Covariances m n)
    (cs : ChainSamples P m n B) (t : ℕ) (hS : SizeFin C B p.γstar p.CSig)
    (h𝓕 : 𝓕 ≤ mΩ) (hind : Indep 𝓕 (chainFuture cs t) P)
    (D M : Ω → Mat m n) (hD : Measurable[𝓕] D) (hM : Measurable[𝓕] M)
    (hDpos : ∀ᵐ ω ∂P, 0 < riskSigma C (D ω))
    (hDint : Integrable (fun ω => riskSigma C (D ω)) P) :
    (∀ᵐ ω ∂P, Summable (fun j : ℕ =>
        emaW p.β j • batchGrad (D ω) (physBatch C (cs.aux (t : ℤ) j) ω))) ∧
    Integrable (fun ω => fro ((def_app_dyn_chains p C cs t (D ω) (M ω) ω).stat 0) ^ 2) P ∧
    (∀ᵐ ω ∂P, condExp 𝓕 P
        (fun ω' => fro ((def_app_dyn_chains p C cs t (D ω') (M ω') ω').stat 0) ^ 2) ω ≤
          2 * riskSigma C (D ω) * cMConst p.CSig p.γstar * (B : ℝ)) ∧
    (∀ Φ : (ℕ → Mat m n) → ℝ, Measurable Φ → (∃ K : ℝ, ∀ x, |Φ x| ≤ K) →
      ∀ᵐ ω ∂P, condExp 𝓕 P (fun ω' => Φ (normChainPath p C cs t (D ω') (M ω') ω')) ω =
        ∫ ω', Φ (normChainPath p C cs t (D ω) (M ω) ω') ∂P) := by