Phases of Muoncompanion
Section SE · From the algorithm to the deterministic dynamics
Proved in Lean
Proposition SE.2 (Causal resolvent reduction)
Let \(D\) be deterministic with \(2\cR(D)=1\), consider the stationary chain at \((t,D)\), let \(0\le j\le r\), \(\varpi\defeq\emaw{r-j}\) and \(s\ge s_\circ>0\), and let \(E\) be a random matrix such that the batch of step \(t+j\) is independent of \(E\) together with all other samples, auxiliary batches included, with \(\norm E\le c_E\) and \(\norm E_\F\le c_E\sqrt B\). For each sample \(a\) of that batch let \(T_a\defeq N_r-\varpi d_{j,a}\mathsf u_{j,a}\tensor\mathsf v_{j,a}\), let \(\sigma_a,\tilde\sigma_a,x_a\) be the quantities (SE.22) of \(T_a\), and put
\begin{equation}\tag{SE.24} \begin{gathered} F_s(T_a)\defeq s\,b(x_a)\Big\{\tilde\sigma_a\big\langle\Pi,R_s(T_a)\Sigmaout\mathsf X_s(T_a)\big\rangle+\sigma_a\big\langle\Pi,\mathsf X_s(T_a)\Sigmain\widetilde R_s(T_a)\big\rangle\Big\},\\ g(E)\defeq\langle\Sigmaout D\Sigmain,E\rangle . \end{gathered} \end{equation}
Then
\[ \Big|\EE\big\langle\Pi,D\mathsf X_s(N_r)\big[\varpi G^\circ_{t+j+1}[E]\big]\big\rangle+\frac{\varpi^2}{B}\sum_{a\le B}\EE\big[F_s(T_a)\,g(E)\big]\Big|\le\frac{C\sqrt B\,\varpi}{s}, \]
with \(C\) depending only on \((s_\circ,c_\Pi,c_E,\gamma_\star,C_\Sigma)\).
Proof.
Fix a sample \(a\) and condition on all samples other than \((z_{t+j,a},w_{t+j,a})\) and on \(E\); write \(\EE_*\) for this conditional expectation, drop the index \(a\), and write \(R_0,\widetilde R_0,\mathsf X_0\) for the resolvents of \(T=T_a\). These are fixed under \(\EE_*\), and the target sample is independent of them and of \(E\). By Lemma SE.9 the derivative is the sum over \(a\) of the four terms of (SE.21). The norms used are: \(\norm{R_0},\norm{\widetilde R_0}\le1/s\) and \(\norm{\mathsf X_0}\le(2\sqrt s)^{-1}\) (Lemma SB.3); \(\norm e_{p,*}\le C_p\norm{C_E}_\F\le C_pC_\Sigma c_E\sqrt B\); and the Bessel bounds (SC.22), which give \(C\norm\cdot_{2,*}/\sqrt B\) for the quadratic structures \(\mathsf u\tensor\mathsf u\), \(\mathsf v\tensor\mathsf v\) and \(C\norm\cdot_{2,*}/B\) for the mixed ones.
Coefficient errors. Replace \(\partial_d\alpha_1,\partial_d\alpha_2,\partial_d\alpha_3\) by \(\varpi f_x'(d)\), \(\varpi^2\sigma\psi_x'(d)\), \(-s\varpi^2\tilde\sigma\psi_x'(d)\). By Lemma SE.10 and Hölder’s inequality, the errors multiplied by \(e\) have conditional \(L^2\) norms at most \(C\varpi\), \(C\varpi^2/s\) and \(C\varpi^2\). With the exterior norms, the four error matrices have Frobenius norms at most
\[ \frac1s\cdot\frac1{2\sqrt s}\cdot\frac{C\varpi^2}{\sqrt B},\qquad s\cdot\frac1{s^2}\cdot\frac{C\varpi}{B},\qquad \frac1{4s}\cdot\frac{C\varpi}{B},\qquad s\cdot\frac{1}{2\sqrt s}\cdot\frac1s\cdot\frac{C\varpi^2}{s\sqrt B}, \]
and summing over the \(B\) samples gives at most \(C(\varpi^2\sqrt Bs^{-3/2}+\varpi s^{-1})\le C\sqrt B\varpi/s\), using \(\varpi^2\le\varpi\) and \(s^{-3/2}\le s_\circ^{-1/2}s^{-1}\).
Mixed and centered target terms. The mixed terms carry \(\varpi f_x'(d)e\), with conditional \(L^2\) norm at most \(\varpi\norm e_{2,*}\le C\varpi\sqrt B\) since \(\abs{f_x'}\le1\); each has Frobenius norm at most \(C\varpi\sqrt B/(sB)\), and the \(B\) samples give \(C\sqrt B\varpi/s\). In the quadratic terms we split \(\mathsf u\tensor\mathsf u=B^{-1}\Sigmaout^{1/2}(z\tensor z-\Id)\Sigmaout^{1/2}+B^{-1}\Sigmaout\) and \(\mathsf v\tensor\mathsf v=B^{-1}\Sigmain^{1/2}(w\tensor w-\Id)\Sigmain^{1/2}+B^{-1}\Sigmain\). The centered parts are bounded by Lemma SB.7: the scalars \(s\varpi^2\tilde\sigma\psi_x'(d)e\) and \(s\varpi^2\sigma\psi_x'(d)e\) have conditional \(L^2\) norms at most \(C\varpi^2\sqrt B\), since \(s\sigma,s\tilde\sigma\le C_\Sigma\gamma_\star\) and \(\abs{\psi_x'(d)}\le2\abs d\); each centered part has Frobenius norm at most \(C\varpi^2\sqrt Bs^{-3/2}/B\), and the \(B\) samples give \(C\varpi^2\sqrt Bs^{-3/2}\le C\sqrt B\varpi/s\).
Identity parts. What remains is, for each sample,
\[ -\frac{s\varpi^2}{B}\,\EE_*\big[e\,\psi_x'(d)\big]\Big\{\tilde\sigma\,R_0\Sigmaout\mathsf X_0+\sigma\,\mathsf X_0\Sigmain\widetilde R_0\Big\}. \]
By Lemma SE.11, \(\EE_*[e\psi_x'(d)]=g(E)b(x)+\rho\) with \(\abs\rho\le24xC_\Sigma c_E\delta\le C\). Pairing with \(\Pi\), the term with \(g(E)b(x)\) is \(-\varpi^2B^{-1}F_s(T)g(E)\). The term with \(\rho\) is at most \((s\varpi^2/B)\cdot C\cdot(\tilde\sigma+\sigma)\,c_\Pi\,C_\Sigma\sqrt{\gamma_\star B}\,s^{-3/2}\), because \(\norm{R_0\Sigmaout\mathsf X_0}_\F,\norm{\mathsf X_0\Sigmain\widetilde R_0}_\F\le C_\Sigma\sqrt{\gamma_\star B}\,s^{-3/2}/2\); with \(s\sigma,s\tilde\sigma\le C\) and the \(B\) samples this is at most \(C\varpi^2\sqrt Bs^{-3/2}\le C\sqrt B\varpi/s\).
Pairing the error matrices with \(\Pi\) costs the factor \(c_\Pi\). Taking expectations and summing the contributions proves the claim.

Uses

Used by

Lean

Proved in Lean
Muon.Dynamics.prop_app_dyn_reduction source
theorem prop_app_dyn_reduction (certQ : Muon.External.GaussianQuadFormLp) (γ CS s0 cP cE : ℝ) (hs0 : 0 < s0) :
    ∃ C : ℝ, ∀ (p : DynParams), p.γstar = γ → p.CSig = CS → ∀ (m n B : ℕ) (Ω : Type) [MeasurableSpace Ω] (P : Measure Ω)
      [IsProbabilityMeasure P] (Cv : Covariances m n) (cs : ChainSamples P m n B)
      (t j r : ℕ) (D Pt : Mat m n) (E : Ω → Mat m n) (piT s : ℝ),
      (m : ℝ) ≤ p.γstar * B → (n : ℝ) ≤ p.γstar * B →
      opNorm Cv.Sout ≤ p.CSig → opNorm Cv.Sin ≤ p.CSig → 0 < B →
      riskSigma Cv D = 1 / 2 → IsTest cP piT Pt → j ≤ r → s0 ≤ s →
      (∀ ω, opNorm (E ω) ≤ cE ∧ fro (E ω) ≤ cE * Real.sqrt B) →
      -- Independence in the strengthened form of CORRECTIONS row 19 (the source, ll. 1240–1241, asks only
      -- independence of `E` and the batch; its proof, l. 1259, uses joint independence with all other samples).
      (∀ (i : Fin m) (k : Fin n), Measurable (fun ω => E ω i k)) →
      Indep ((⨆ (i : Fin m) (k : Fin n), MeasurableSpace.comap (fun ω => E ω i k) inferInstance) ⊔
          otherSigma cs t j) (batchSigma cs t j) P →
      Integrable (fun ω => frobIP Pt (dirX (stationaryN p Cv cs t D r ω)
          (emaW p.β (r - j) • batchGrad (E ω) (physBatch Cv (cs.act ((t : ℤ) + j + 1)) ω)) s)) P ∧
      (∀ a : Fin B, Integrable (fun ω => Fs Cv B (Ahat Cv D) Pt (emaW p.β (r - j)) s
          (sampleRemainder p Cv cs t j r D a ω) * pairSigma Cv D (E ω)) P) ∧
      |(∫ ω, frobIP Pt (dirX (stationaryN p Cv cs t D r ω)
            (emaW p.β (r - j) • batchGrad (E ω) (physBatch Cv (cs.act ((t : ℤ) + j + 1)) ω)) s) ∂P)
          + (emaW p.β (r - j)) ^ 2 / (B : ℝ) * ∑ a : Fin B,
              (∫ ω, Fs Cv B (Ahat Cv D) Pt (emaW p.β (r - j)) s
                (sampleRemainder p Cv cs t j r D a ω) * pairSigma Cv D (E ω) ∂P)|
        ≤ C * Real.sqrt B * emaW p.β (r - j) / s := by