Section SE · From the algorithm to the deterministic dynamics · top-level result
Proved in Lean
Theorem SE.1 (Dynamical comparison)
Fix \(\macrostep>0\), \(\ridge>0\), \(\bmom\in[0,1)\), \(\gamma_\star<\infty\), \(C_\Sigma\ge1\), \(E_\star<\infty\), \(c_M<\infty\) and \(0<r_0\le r_1<\infty\). Along a sequence of dimensions with \(B\to\infty\) assume:
- (H1)Assumption S1 and Assumption S2 hold with deterministic covariances, \(\max(\Nin,\Nout)\le\gamma_\star B\) and \(\norm{\Sigmain},\norm{\Sigmaout}\le C_\Sigma\);
- (H2)the algorithm of Definition SA.2 is run with momentum \(\bmom\), normalized ridge \(\ridge\) and step \(\lr_t=\macrostep/B\);
- (H3)\(W_0\) is deterministic, \(\norm{\Delta_0}_\F^2\le E_\star\), \(r_0\le\cR(0)\le r_1\), and \(\norm{\widehat A_0}\to0\);
- (H4)the initial buffer \(M^\circ_{-1}\) is independent of all batches and \(\EE\norm{M^\circ_{-1}}_\F^2\le c_MB\).
Let \(T_\star\) be given by (SE.10) and let \((\fQ_{ij})\) be the solution of (SE.7) of Proposition SE.1. Then the following hold.
- (i)With probability tending to one,\[ t_{\rm stop}>BT_\star,\qquad \inf_{t\le BT_\star}\cR(t)\ge r_0/2,\qquad \sup_{t\le BT_\star}\norm{\Dt}_\F^2\le E_\star+1. \]
- (ii)\(\sup_{\macrotime\le T_\star}\norm{\chi^{\mathrm{act}}(\macrotime)-\chi^{\mathrm{ode}}(\macrotime)}_\BL\to0\) in probability.
- (iii)\(\sup_{\macrotime\le T_\star}\norm{\mu\lambda\,(\chi^{\mathrm{act}}(\macrotime)-\chi^{\mathrm{ode}}(\macrotime))}_\BL\to0\) and \(\sup_{\macrotime\le T_\star}\abs{\cR(\lfloor B\macrotime\rfloor)-\fRisk(\macrotime)}\to0\) in probability.
- (iv)On the event of (i), \(\sup_{t\le BT_\star}\norm{\Ahat}\to0\) in probability.
Proof of Theorem SE.1.
Part (i) is Lemma SE.27, since \(\norm{\Delta_0}_\F^2+\frac14\le E_\star+1\) and \(\cR(0)-\min(r_0,1)/4\ge r_0/2\). Part (iv) is Lemma SE.24 with \(T=T_\star+1\) on the event \(\{t_{b_c}>BT_\star+L\}\).
For (ii), consider the residual signed measure
\[
\mathcal R_B(\macrotime)\defeq\chi^{\mathrm{act}}(\macrotime\wedge\macrotime_c)-\chi^{\mathrm{act}}(0)-\int_0^{\macrotime\wedge\macrotime_c}\mathsf F_B\big(\chi^{\mathrm{act}}(\sigma)\big)\,\dif\sigma\qquad(\macrotime\le T_\star).
\]
Its total variation is bounded by a deterministic constant: the two measures have masses at most \(2E_\star+4\), and the field has total variation at most \(C\) on the stopped interval, by the argument in the proof of Lemma SE.27. The residual tends to zero against products of hat functions. Let \(\epsilon>0\), let \(0=x_0<\dots<x_n=C_\Sigma\) be a grid of mesh at most \(\epsilon\), and let \(a_0,\dots,a_n\) be the piecewise linear hat functions with \(a_r(x_s)=\mathbf 1_{r=s}\), which form a partition of unity. By Lemma SE.26 applied to the finitely many tests \(a_r\tensor a_s\),
\[
\sup_{\macrotime\le T_\star}\sum_{r,s\le n}\Big|\int a_r\tensor a_s\,\dif\mathcal R_B(\macrotime)\Big|\longrightarrow0\quad\text{in probability}.
\]
Every test \(\phi\) of the unit ball of the bounded-Lipschitz norm is close to its interpolant \(\phi_\epsilon\defeq\sum_{r,s}\phi(x_r,x_s)\,a_r\tensor a_s\): at each point \(\phi_\epsilon\) is a convex combination of values of \(\phi\) at points within \(\ell^1\) distance \(2\epsilon\), so \(\norm{\phi-\phi_\epsilon}_\infty\le2\epsilon\). Since \(\abs{\phi(x_r,x_s)}\le1\),
\[
\norm{\mathcal R_B(\macrotime)}_\BL\le\sum_{r,s}\Big|\int a_r\tensor a_s\,\dif\mathcal R_B(\macrotime)\Big|+2\epsilon\norm{\mathcal R_B(\macrotime)}_{\mathrm{TV}},
\]
and since \(\epsilon\) is arbitrary, \(\sup_{\macrotime\le T_\star}\norm{\mathcal R_B(\macrotime)}_\BL\to0\) in probability.
Gronwall’s inequality closes the argument. On the event of Lemma SE.27, \(\macrotime_c>T_\star\) and \(\chi^{\mathrm{act}}(\macrotime)\in\mathfrak M\) for \(\macrotime\le T_\star\), and by Proposition SE.1 so is \(\chi^{\mathrm{ode}}(\macrotime)\). Subtracting (SE.9) from the definition of \(\mathcal R_B\), with \(\chi^{\mathrm{ode}}(0)=\chi^{\mathrm{act}}(0)\), and using Lemma SE.1(iii),
\[
\norm{\chi^{\mathrm{act}}(\macrotime)-\chi^{\mathrm{ode}}(\macrotime)}_\BL\le\sup_{\sigma\le T_\star}\norm{\mathcal R_B(\sigma)}_\BL+C_{\mathsf F}\int_0^\macrotime\norm{\chi^{\mathrm{act}}(\sigma)-\chi^{\mathrm{ode}}(\sigma)}_\BL\,\dif\sigma ,
\]
and Gronwall’s inequality [98, Lemma 2.7] gives
\[
\sup_{\macrotime\le T_\star}\norm{\chi^{\mathrm{act}}(\macrotime)-\chi^{\mathrm{ode}}(\macrotime)}_\BL\le e^{C_{\mathsf F}T_\star}\sup_\sigma\norm{\mathcal R_B(\sigma)}_\BL.
\]
This proves (ii).
For (iii), multiplication by \(\mu\lambda\) maps the unit ball of the bounded-Lipschitz norm into \(C_\Sigma(C_\Sigma+1)\) times itself, because \(\norm{\mu\lambda\,\phi}_\infty\le C_\Sigma^2\) and \(\mu\lambda\phi\) is \((C_\Sigma^2+C_\Sigma)\)-Lipschitz for \(\abs\cdot_1\); and \(\cR(\lfloor B\macrotime\rfloor)-\fRisk(\macrotime)=\frac12\int\mu\lambda\,\dif(\chi^{\mathrm{act}}(\macrotime)-\chi^{\mathrm{ode}}(\macrotime))\).
Uses
- Lemma SE.27 No exit before \(T_\star\)
- Lemma SE.24 Persistence of diffuseness
- Lemma SE.26 Block residual
- Proposition SE.1 Well-posedness
- Lemma SE.1 The field
- Assumption S1 Data-target normalization
- Assumption S2 Proportional regime
- Definition SA.2 The algorithm
- Definition SE.1 Deterministic mode-energy equations
Used by
- Corollary SE.1 Half-anisotropic input
- Corollary SE.2 Continuum equation
- Remark SE.1 Scope
- Remark SE.2 No momentum
- Lemma SE.24 Persistence of diffuseness
- Lemma SE.25 Uniformity over diffuse states
- Corollary SF.1 Isotropic dynamics
- Remark SG.3 Scope for the dynamics
Lean
Proved in Lean
Compare this theorem with its Lean statements ↗
Muon.Dynamics.thm_app_dyn_main_i source
theorem thm_app_dyn_main_i
(cert : Muon.External.GaussianOpNorm) (certOp : Muon.External.GaussianOpNormL6)
(certP : Muon.External.GaussianPoincare) (certQ : Muon.External.GaussianQuadFormLp)
-- (H1)–(H4) along a sequence of dimensions with `B → ∞`
(hB : Tendsto (fun k : ℕ => B k) atTop atTop)
(F : ∀ k : ℕ, FrozenParams (m k) (n k) (B k))
(hyp : DynHyp p P m n B (fun k => (F k).C))
(S : ∀ k : ℕ, SpectralData (F k).C)
(c : ∀ k : ℕ, DynCoeff p (S k) (B k))
(hc : ∀ k : ℕ, IsActualCoeff cert (F k) (S k) (c k)) :
Tendsto (fun k : ℕ => P (mainEvent hyp k)) atTop (𝓝 1) := byMuon.Dynamics.thm_app_dyn_main_ii source
theorem thm_app_dyn_main_ii
(cert : Muon.External.GaussianOpNorm) (certOp : Muon.External.GaussianOpNormL6)
(certP : Muon.External.GaussianPoincare) (certQ : Muon.External.GaussianQuadFormLp)
(hB : Tendsto (fun k : ℕ => B k) atTop atTop)
(F : ∀ k : ℕ, FrozenParams (m k) (n k) (B k))
(hyp : DynHyp p P m n B (fun k => (F k).C))
(S : ∀ k : ℕ, SpectralData (F k).C)
(c : ∀ k : ℕ, DynCoeff p (S k) (B k))
(hc : ∀ k : ℕ, IsActualCoeff cert (F k) (S k) (c k))
(e : ∀ k : ℕ, ℝ → Fin (m k) → Fin (n k) → ℝ)
(he : ∀ k : ℕ, def_app_dyn_ode p (S k) (c k) (dev0 hyp k) (Tstar p) (e k)) :
(∀ k : ℕ, ∀ ω : Ω, ∀ τ ∈ Icc (0 : ℝ) (Tstar p), ∀ φ ∈ blTest p.CSig,
Integrable φ (actMeas hyp S k ω τ) ∧
Integrable φ (odeMeasure (B k : ℝ) (S k).μ (S k).lam (e k τ))) ∧
∀ ε : ℝ, 0 < ε → Tendsto (fun k : ℕ => P {ω | ENNReal.ofReal ε <
⨆ τ ∈ Icc (0 : ℝ) (Tstar p), ENNReal.ofReal
(blDist p.CSig (actMeas hyp S k ω τ) (odeMeasure (B k : ℝ) (S k).μ (S k).lam (e k τ)))})
atTop (𝓝 0) := byMuon.Dynamics.thm_app_dyn_main_iii source
theorem thm_app_dyn_main_iii
(cert : Muon.External.GaussianOpNorm) (certOp : Muon.External.GaussianOpNormL6)
(certP : Muon.External.GaussianPoincare) (certQ : Muon.External.GaussianQuadFormLp)
(hB : Tendsto (fun k : ℕ => B k) atTop atTop)
(F : ∀ k : ℕ, FrozenParams (m k) (n k) (B k))
(hyp : DynHyp p P m n B (fun k => (F k).C))
(S : ∀ k : ℕ, SpectralData (F k).C)
(c : ∀ k : ℕ, DynCoeff p (S k) (B k))
(hc : ∀ k : ℕ, IsActualCoeff cert (F k) (S k) (c k))
(e : ∀ k : ℕ, ℝ → Fin (m k) → Fin (n k) → ℝ)
(he : ∀ k : ℕ, def_app_dyn_ode p (S k) (c k) (dev0 hyp k) (Tstar p) (e k)) :
(∀ k : ℕ, ∀ ω : Ω, ∀ τ ∈ Icc (0 : ℝ) (Tstar p), ∀ φ ∈ blTest p.CSig,
Integrable (fun x => x.1 * x.2 * φ x) (actMeas hyp S k ω τ) ∧
Integrable (fun x => x.1 * x.2 * φ x) (odeMeasure (B k : ℝ) (S k).μ (S k).lam (e k τ))) ∧
(∀ ε : ℝ, 0 < ε → Tendsto (fun k : ℕ => P {ω | ENNReal.ofReal ε <
⨆ τ ∈ Icc (0 : ℝ) (Tstar p), ENNReal.ofReal
(blDistLam p.CSig (actMeas hyp S k ω τ) (odeMeasure (B k : ℝ) (S k).μ (S k).lam (e k τ)))})
atTop (𝓝 0)) ∧
(∀ ε : ℝ, 0 < ε → Tendsto (fun k : ℕ => P {ω | ENNReal.ofReal ε <
⨆ τ ∈ Icc (0 : ℝ) (Tstar p), ENNReal.ofReal
|riskSigma (F k).C (errPath hyp k ⌊(B k : ℝ) * τ⌋₊ ω) - odeRisk (S k).μ (S k).lam (B k : ℝ) (e k τ)|})
atTop (𝓝 0)) := byMuon.Dynamics.thm_app_dyn_main_iv source
theorem thm_app_dyn_main_iv
(cert : Muon.External.GaussianOpNorm) (certOp : Muon.External.GaussianOpNormL6)
(certP : Muon.External.GaussianPoincare) (certQ : Muon.External.GaussianQuadFormLp)
(hB : Tendsto (fun k : ℕ => B k) atTop atTop)
(F : ∀ k : ℕ, FrozenParams (m k) (n k) (B k))
(hyp : DynHyp p P m n B (fun k => (F k).C))
(S : ∀ k : ℕ, SpectralData (F k).C)
(c : ∀ k : ℕ, DynCoeff p (S k) (B k))
(hc : ∀ k : ℕ, IsActualCoeff cert (F k) (S k) (c k)) :
∀ ε : ℝ, 0 < ε → Tendsto (fun k : ℕ => P (mainEvent hyp k ∩ {ω | ENNReal.ofReal ε <
⨆ (t : ℕ) (_ : (t : ℝ) ≤ (B k : ℝ) * Tstar p),
ENNReal.ofReal (opNorm (normState (F k).C (errPath hyp k t ω)))}))
atTop (𝓝 0) := byMuon.Dynamics.mainEvent source
def mainEvent (hyp : DynHyp p P m n B C) (k : ℕ) : Set Ω :=
Muon.Dynamics.blDistLam source
def blDistLam (Cs : ℝ) (μ ν : Measure (ℝ × ℝ)) : ℝ :=
Uses proved foundation results:
GaussianOpNorm, GaussianOpNormL6, GaussianPoincare, GaussianQuadFormLp.