Section SE · From the algorithm to the deterministic dynamics
Proved in Lean
Lemma SE.16 (Coupling)
Let \(\mathcal K=\mathcal K(r_-,r_+,E)\) with \(B_0\) as in Lemma SE.14. At a step \(t\), on the event \(\{\Dt\in\mathcal K\}\), let the chains at time \(t\) be those of Definition SE.2 with \(D=\Dt\) and \(m=M^\circ_{t-1}\). Then for \(0\le r\le4L\):
- (i)\(\EE_t\norm{M^\circ_{t+r}-\widehat N_r}_\F^2+\EE_t\norm{{\mathsf S}_{t+r}-\widehat V_r}_\F^2\le Cr^2\) and \(\EE_t\norm{M^\circ_{t+r}-\widehat N_r}^2\le Cr^2\log^2(2B)/B\);
- (ii)\(\EE_t\norm{\widehat V_r-V_r}_\F^2\le C\bmom^{2(r+1)}(\norm m_\F^2+B)\) and \(\EE_t\norm{\widehat V_r-V_r}^2\le C\bmom^{2(r+1)}(\norm m^2+\log^2(2B))\);
- (iii)\(\EE_t\big\|\sum_{r<L}({\mathsf S}_{t+r}-V_r)\big\|_\F^2\le C(L^4+B+\norm m_\F^2)\);
- (iv)\(\EE_t\big\|\sum_{r<L}({\mathsf S}_{t+r}-V_r)\big\|\le C(\norm m+\log(2B))+CL^2\log(2B)/\sqrt B\).
The constant \(C\) depends only on \(\mathcal K\) and the fixed parameters.
Proof.
By Lemma SE.14(ii) the states \(\Delta_{t+r}\), \(r\le4L\), lie in \(\mathcal K'\), so the physical ridges are at least \(\ridge r_-\).
For (i), subtracting the recursions of the algorithm and of the same-buffer chain, which start from the same buffer \(m\), gives
\[
M^\circ_{t+r}-\widehat N_r=\sum_{j\le r}\emaw{r-j}\,G^\circ_{t+j+1}\big[\Delta_{t+j}-\Dt\big].
\]
The matrix \(\Delta_{t+j}-\Dt\) is determined by the past and the batches before step \(t+j\), and its weighted Frobenius norm is at most \(C_\Sigma\macrostep\sqrt{\gamma_\star}j/\sqrt B\) by Lemma SE.14(i). Lemma SE.3(i),(ii) applied conditionally, and Minkowski’s inequality with \(\sum_j\emaw j\le1\), give the two bounds on \(M^\circ_{t+r}-\widehat N_r\). For the updates,
\[
{\mathsf S}_{t+r}-\widehat V_r=\big[\Qridge{\ridgephys(\Delta_{t+r})}(M^\circ_{t+r})-\Qridge{\ridgephys(\Dt)}(M^\circ_{t+r})\big]
+\big[\Qridge{\ridgephys(\Dt)}(M^\circ_{t+r})-\Qridge{\ridgephys(\Dt)}(\widehat N_r)\big].
\]
The ridges differ by \(2\ridge\abs{\cR(\Delta_{t+r})-\cR(\Dt)}\le Cr/\sqrt B\), so by Lemma SE.4(iv) the first bracket has Frobenius norm at most \(\sqrt{\gamma_\star B}\cdot Cr/\sqrt B=Cr\). The second has Frobenius norm at most \((\ridge r_-)^{-1/2}\norm{M^\circ_{t+r}-\widehat N_r}_\F\) by (SA.13).
For (ii), Lemma SE.2(ii) gives \(\widehat V_r-V_r=\Qridge{\ridgephys(\Dt)}(\widehat N_r)-\Qridge{\ridgephys(\Dt)}(N_r)\) with \(\widehat N_r-N_r=\bmom^{r+1}(m-N_{-1})\). By Lemma SE.4(ii), Lemma SE.2(iii) and, for the operator norm, \((\EE\norm{N_{-1}}^2)^{1/2}\le\sum_j\emaw j\,C\log(2B)\sqrt{2r_+}\) from Lemma SE.3(ii), both bounds follow.
Parts (iii) and (iv) sum (i) and (ii) over \(r<L\) with Minkowski’s inequality. In Frobenius norm the sum of \(Cr\) is at most \(CL^2\) and the sum of \(C\bmom^{r+1}(\norm m_\F+\sqrt B)\) is at most \(C(\norm m_\F+\sqrt B)\). In operator norm the ridge bracket of (i) has norm at most \(Cr/\sqrt B\) by Lemma SE.4(iv), the matrix bracket has expected norm at most \(Cr\log(2B)/\sqrt B\) by Lemma SE.4(ii) and (i), and the startup difference has expected norm at most \(C\bmom^{r+1}(\norm m+\log(2B))\).
Uses
- Lemma SE.14 Movement
- Lemma SE.3 Moments of one batch
- Lemma SE.4 Schatten sensitivity of the filter
- Lemma SA.2 Filter bounds and Lipschitz estimate
- Lemma SE.2 Laws of the frozen chains
- Definition SE.2 Frozen chains
Used by
- Lemma SE.17 Stationary block sums and the startup cross term
- Lemma SE.18 Taylor transfer
- Lemma SE.20 Block martingale
- Lemma SE.21 Delayed projections and prefixes
- Proposition SE.6 Post-prefix response
- Lemma SE.22 Quadratic block response
- Lemma SE.24 Persistence of diffuseness
Lean
Proved in Lean
Muon.Dynamics.lem_app_dyn_coupling_i source
theorem lem_app_dyn_coupling_i (certOp : Muon.External.GaussianOpNormL6) (p : DynParams) (rlo rhi E : ℝ) (hrlo : 0 < rlo) (hle : rlo ≤ rhi) :
∃ B0 : ℕ, ∃ K : ℝ, ∀ (Ω : Type) [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(m n B : ℕ) (S : DynSetup p P m n B), B0 ≤ B → ∀ t r : ℕ, r ≤ 4 * blockLen B →
(Integrable ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => fro (dynErrM p S t r ω) ^ 2 + fro (dynErrS p S t r ω) ^ 2)) P ∧
∀ᵐ ω ∂P, ω ∈ dynInK S t (rlo, rhi, E) →
condExp (dynPast S t) P ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => fro (dynErrM p S t r ω) ^ 2 + fro (dynErrS p S t r ω) ^ 2)) ω ≤ K * (r : ℝ) ^ 2) ∧
(Integrable ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => opNorm (dynErrM p S t r ω) ^ 2)) P ∧
∀ᵐ ω ∂P, ω ∈ dynInK S t (rlo, rhi, E) →
condExp (dynPast S t) P ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => opNorm (dynErrM p S t r ω) ^ 2)) ω ≤
K * (r : ℝ) ^ 2 * Real.log (2 * (B : ℝ)) ^ 2 / B) := byMuon.Dynamics.lem_app_dyn_coupling_ii source
theorem lem_app_dyn_coupling_ii (certOp : Muon.External.GaussianOpNormL6) (p : DynParams) (rlo rhi E : ℝ) (hrlo : 0 < rlo) (hle : rlo ≤ rhi) :
∃ B0 : ℕ, ∃ K : ℝ, ∀ (Ω : Type) [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(m n B : ℕ) (S : DynSetup p P m n B), B0 ≤ B → ∀ t r : ℕ, r ≤ 4 * blockLen B →
(Integrable ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => fro (dynErrV p S t r ω) ^ 2)) P ∧
∀ᵐ ω ∂P, ω ∈ dynInK S t (rlo, rhi, E) →
condExp (dynPast S t) P ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => fro (dynErrV p S t r ω) ^ 2)) ω ≤
K * p.β ^ (2 * (r + 1)) * (fro (dynBuf S t ω) ^ 2 + B)) ∧
(Integrable ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => opNorm (dynErrV p S t r ω) ^ 2)) P ∧
∀ᵐ ω ∂P, ω ∈ dynInK S t (rlo, rhi, E) →
condExp (dynPast S t) P ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => opNorm (dynErrV p S t r ω) ^ 2)) ω ≤
K * p.β ^ (2 * (r + 1)) * (opNorm (dynBuf S t ω) ^ 2 + Real.log (2 * (B : ℝ)) ^ 2)) := byMuon.Dynamics.lem_app_dyn_coupling_iii source
theorem lem_app_dyn_coupling_iii (certOp : Muon.External.GaussianOpNormL6) (p : DynParams) (rlo rhi E : ℝ) (hrlo : 0 < rlo) (hle : rlo ≤ rhi) :
∃ B0 : ℕ, ∃ K : ℝ, ∀ (Ω : Type) [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(m n B : ℕ) (S : DynSetup p P m n B), B0 ≤ B → ∀ t : ℕ,
Integrable ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => fro (dynSumErr p S t ω) ^ 2)) P ∧
∀ᵐ ω ∂P, ω ∈ dynInK S t (rlo, rhi, E) →
condExp (dynPast S t) P ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => fro (dynSumErr p S t ω) ^ 2)) ω ≤
K * ((blockLen B : ℝ) ^ 4 + B + fro (dynBuf S t ω) ^ 2) := byMuon.Dynamics.lem_app_dyn_coupling_iv source
theorem lem_app_dyn_coupling_iv (certOp : Muon.External.GaussianOpNormL6) (p : DynParams) (rlo rhi E : ℝ) (hrlo : 0 < rlo) (hle : rlo ≤ rhi) :
∃ B0 : ℕ, ∃ K : ℝ, ∀ (Ω : Type) [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(m n B : ℕ) (S : DynSetup p P m n B), B0 ≤ B → ∀ t : ℕ,
Integrable ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => opNorm (dynSumErr p S t ω))) P ∧
∀ᵐ ω ∂P, ω ∈ dynInK S t (rlo, rhi, E) →
condExp (dynPast S t) P ((dynInK S t (rlo, rhi, E)).indicator
(fun ω => opNorm (dynSumErr p S t ω))) ω ≤
K * (opNorm (dynBuf S t ω) + Real.log (2 * (B : ℝ))) +
K * (blockLen B : ℝ) ^ 2 * Real.log (2 * (B : ℝ)) / Real.sqrt B := by