Section SE · From the algorithm to the deterministic dynamics
Proved in Lean
Proposition SE.4 (Stationary causal tangent)
Let \(D\) be deterministic with \(r_-\le\cR(D)\le r_+\), let \(\Pi\) be a test, and let \(\dot V_r\) be the tangent of Lemma SE.8 for the stationary chain at \((t,D)\), with its initial buffer held fixed. Then for \(r\ge0\),
\[
\lr\,\abs{\EE\langle\Pi,\dot V_r\rangle}\le C\Big\{\frac{r}{\sqrt B}+\frac1B+\epsilon_\Pi\Big\},\qquad
\epsilon_\Pi=\delta(D)\big(\pi_\Pi+\delta(D)\big),
\]
with \(C\) depending only on \((c_\Pi,r_-,r_+)\) and the fixed parameters.
Proof.
The statement reduces to \(2\cR(D)=1\). Put \(a\defeq\sqrt{2\cR(D)}\). Since \(G^\circ[\Delta]/a=G^\circ[\Delta/a]\), \(\ridgephys(\Delta)=a^2\ridgephys(\Delta/a)\) and \(\Qridge{a^2\ell}(aK)=\Qridge\ell(K)\), the chain of \((D,m_0)\) at step \(\varepsilon\) has the updates of the chain of \((D/a,m_0/a)\) at step \(\varepsilon/a\), and \(\lr\dot V_r(D)=(\lr/a)\dot V_r(D/a)\). The step \(\macrostep/a\) lies in a compact subset of \((0,\infty)\) determined by \((r_-,r_+)\), and \(\delta(D/a)=\delta(D)\). We therefore assume \(2\cR(D)=1\).
By Lemma SE.8 and the integral representation \(D\Qridge\ridge(N)[R]=\frac2\pi\int_0^\infty D\mathsf X_{\ridge+u^2}(N)[R]\,\dif u\),
\[
\begin{aligned}
\EE\langle\Pi,\dot V_r\rangle={}&-\frac2\pi\int_0^\infty\sum_{0\le k<j\le r}\EE\big\langle\Pi,D\mathsf X_{\ridge+u^2}(N_r)\big[\emaw{r-j}G^\circ_{t+j+1}[V_k]\big]\big\rangle\,\dif u\\
&-2\ridge\sum_{k<r}\EE\big[g_k\langle\Pi,\partial_\ell\Qridge\ell(N_r)\rangle\big].
\end{aligned}
\]
The matrix part is bounded by the reduction and the scalar contraction. For \(k<j\) the direction \(V_k\) is determined by the auxiliary batches and the batches up to step \(t+k\), so the batch of step \(t+j\) is independent of \(V_k\) together with all other samples, with \(\norm{V_k}\le1\) and \(\norm{V_k}_\F\le\sqrt{\gamma_\star B}\). By Proposition SE.2 and Proposition SE.3 with \(s_\circ=\ridge\),
\[
\big|\EE\big\langle\Pi,D\mathsf X_s(N_r)[\varpi G^\circ_{t+j+1}[V_k]]\big\rangle\big|
\le\frac{C\sqrt B\varpi}{s}+C\varpi^2\Big\{\sqrt Bs^{-3/2}+(1+B\epsilon_\Pi)s^{-2}\bmom^{r-k}\Big\},
\]
with \(\varpi=\emaw{r-j}\). The integrals of \(s^{-1}\), \(s^{-3/2}\) and \(s^{-2}\) against \(\dif u\) at \(s=\ridge+u^2\) are finite. The causal sums are
\[
\sum_{j\le r}\emaw{r-j}\,j\le r,\qquad
\sum_{j\le r}\emaw{r-j}^2\sum_{k<j}\bmom^{r-k}\le\frac{1}{1-\bmom}\sum_{j\le r}\emaw{r-j}^2\bmom^{r-j+1}\le1,
\]
the second being zero at \(\bmom=0\). The matrix part is therefore at most \(C(\sqrt B\,r+1+B\epsilon_\Pi)\).
The ridge part is bounded by Lemma SE.13: its absolute value is at most \(C\sum_{k<r}(1+B\delta\pi_\Pi\bmom^{r-k})\le C(r+B\epsilon_\Pi)\).
Adding the two parts and multiplying by \(\lr=\macrostep/B\) proves the claim.
Uses
- Lemma SE.8 Causal tangent
- Proposition SE.2 Causal resolvent reduction
- Proposition SE.3 Scalar contraction
- Lemma SE.13 Ridge susceptibility covariance
Used by
- Proposition SE.5 Tangent transport
- Proposition SE.6 Post-prefix response
Lean
Proved in Lean
Muon.Dynamics.prop_app_dyn_stationary_tangent source
theorem prop_app_dyn_stationary_tangent (certQ : Muon.External.GaussianQuadFormLp) (p : DynParams) (cP rlo rhi : ℝ) :
∃ C : ℝ, ∀ (m n B : ℕ) (Ω : Type) [MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] (Cv : Covariances m n) (cs : ChainSamples P m n B)
(t r : ℕ) (D Pt : Mat m n) (piT : ℝ),
(m : ℝ) ≤ p.γstar * B → (n : ℝ) ≤ p.γstar * B →
opNorm Cv.Sout ≤ p.CSig → opNorm Cv.Sin ≤ p.CSig → 0 < B → 0 < rlo →
rlo ≤ riskSigma Cv D → riskSigma Cv D ≤ rhi → IsTest cP piT Pt →
Integrable (fun ω => frobIP Pt (causalDot p Cv (fun s => physBatch Cv (cs.act s) ω) t D
(chainInit p.β Cv D (cs.aux (t : ℤ)) ω) r)) P ∧
(p.h / (B : ℝ)) * |∫ ω, frobIP Pt (causalDot p Cv (fun s => physBatch Cv (cs.act s) ω) t D
(chainInit p.β Cv D (cs.aux (t : ℤ)) ω) r) ∂P|
≤ C * ((r : ℝ) / Real.sqrt B + 1 / (B : ℝ)
+ diffuseness Cv D * (piT + diffuseness Cv D)) := by