Phases of Muoncompanion
Section SI · Deterministic model: Volterra analysis and the phase map · top-level result
Proved in Lean
Theorem SI.13 (Frozen regime)
Fix \(\alpha>0\), \(\texp\) with \(p=\alpha+\texp>1\), and \(T\ge4\). Consider a sequence of \((N,B,\epsilon)\) with \(N\to\infty\), integers \(B\ge N\) and \(x=\epsilon/\epsilon_N\to0\). For all large indices both first hits are attained, and for both \(j\)
\[ \frac{\mathsf I_j}{J_N(p,q_j)}\longrightarrow1,\qquad t^j_{T\epsilon}\sim\frac{\mathcal S_jT_0^j\,J_N(p,q_j)}{2\sqrt\epsilon},\qquad \frac{t^{\text{s-SGD}}_{T\epsilon}}{t^{\text{s-SVD}}_{T\epsilon}}\sim\rho_N . \]
Moreover, if \(r_j<1\), there are \(N_2\) and \(c\) such that
\[ \Big|\frac{\mathsf I_j}{J_N(p,q_j)}-1\Big|\le c\,\Big(x^{1/4}+x^{1/2}\log\big(e+x^{-1/2}\big)\Big)^{1/2} \]
for all \(N\ge N_2\), \(B\ge N\), \(\epsilon<1/(2T)\) and \(x\le1\).
Proof of Theorem SI.13.
Drop the index \(j\) and write \(q=q_j\), \(r=r_j\), \(\mathsf y=\mathsf y_j\), \(\mathsf I=\mathsf I_j\) and \(J_N=J_N(p,q)\). Along the sequence \(\epsilon=x\epsilon_N\to0\), so eventually \(\epsilon<1/(2T)\) and (SI.59) holds; in particular both hits are attained. The lower bound in (SI.59) costs \(\sqrt{T\epsilon}\,N^q=\sqrt{T\mathsf y}\) in every case. The three regimes of \(r\) differ only in how the upper error is controlled.
Case \(r>1\). Here \(\mathsf y=xN^{-2q(r-1)}\), so \(\sqrt{T\epsilon}\,N^q=\sqrt{Tx}\,N^{-q(r-1)}\to0\). By (SI.59) and \(\sqrt x\log(1/x)\le2/e\),
\[ \mathsf d\le N^{-q(r-1)}\Big[\sqrt x\Big(\log\frac{\zeta(p)}2+(p-1)\log N\Big)+\frac2e\Big]\longrightarrow0 . \]
Since \(J_N\to J(p,q)\in(0,\infty)\) by (SI.43), (SI.59) gives \(\mathsf I/J_N\to1\).
Case \(r=1\). Here \(p-1=2q\), \(\mathsf y=x\), and \(J_N=\sqrt{q/8}\log N+O(1)\) by Lemma SI.12(i). The lower error is \(\sqrt{Tx}\to0\), and
\[ \mathsf d\le\sqrt x\Big(\log\frac{\zeta(p)}2+2q\log N\Big)+\frac2e=o(\log N) . \]
Thus \((\mathsf I-J_N)/J_N\le2\sqrt{\mathsf d/J_N}+\mathsf d/J_N\to0\).
Case \(r<1\). Lemma SI.11 alone would give a relative error of order \(\sqrt x\log N\); the restart removes the logarithm. Use the phase-one data \((D,\tau,N^\circ)\) with \(u_0=\tau N^q\) and \(w=0\), and take \(N\) so large that \(N\ge N^\circ\) and \(D\le u_0\). Put \(C=C_{p,q}\) and \(\mathsf e_r\defeq q(1-r)\).
The first phase costs a fraction \(x^{1/4}\). Lemma SI.22(a) with \(G=2h+\sqrt\epsilon\) gives, on \([0,u_0]\),
\[ \sqrt Y\le\sqrt f+\sqrt2\,\epsilon^{1/4}\sqrt h+\sqrt\epsilon . \]
Integrating the envelope, \(\int_0^{u_0}\sqrt h\le\sqrt C\,D^{r/2}(D+u_0)^{1-r/2}/(1-\frac r2)\), and \(D+u_0\le2\tau N^q\). Since \(\frac{p-1}4=\frac{qr}2\), one has \(\epsilon^{1/4}N^{q(1-r/2)}=x^{1/4}N^{\mathsf e_r}\), and by (SI.40) \(\sqrt\epsilon\,u_0=\tau\sqrt{\mathsf y}=\tau x^{1/2}N^{\mathsf e_r}\). Hence
\begin{equation}\tag{SI.63} \int_0^{u_0}\sqrt Y\,\dif u\le\int_0^{u_0}\sqrt f\,\dif u+\big(c_1x^{1/4}+\tau x^{1/2}\big)N^{\mathsf e_r},\qquad c_1\defeq\frac{\sqrt{2C}\,D^{r/2}(2\tau)^{1-r/2}}{1-r/2} . \end{equation}
The restart costs the same fraction. At the end of the first phase \(h(u_0)\le C(D/\tau)^rN^{-qr}\) and \(\sqrt\epsilon=\sqrt x\,N^{-qr}\), so
\[ \frac{h(u_0)}{\sqrt\epsilon}\le c_2x^{-1/2},\qquad c_2\defeq C\Big(\frac D\tau\Big)^r,\qquad \Theta_0\le1+c_2x^{-1/2} . \]
In Lemma SI.22(c), \(G(u_0)=2h(u_0)+\sqrt\epsilon\) and
\[ N^q\epsilon^{1/4}\big(2h(u_0)+\sqrt\epsilon\big)^{1/2}\le\sqrt{\mathsf y}\,\big(\sqrt{2c_2}\,x^{-1/4}+1\big) . \]
With (SI.40) this gives
\[ \tilde{\mathsf J}\le\int_{u_0}^\infty\sqrt f\,\dif u+\big(\sqrt{2c_2}\,x^{1/4}+x^{1/2}\big)N^{\mathsf e_r},\qquad \tilde{\mathsf d}\le2x^{1/2}\log\big(1+c_2x^{-1/2}\big)N^{\mathsf e_r} . \]
Adding (SI.63) and using \(\int_0^{u_0}\sqrt f+\int_{u_0}^\infty\sqrt f=J_N\),
\begin{equation}\tag{SI.64} \mathsf I\le J_N+a_1(x)N^{\mathsf e_r}+2\sqrt{\big(J_N+a_2(x)N^{\mathsf e_r}\big)\tilde{\mathsf d}}+\tilde{\mathsf d}, \end{equation}
with \(a_1(x)\defeq(c_1+\sqrt{2c_2})x^{1/4}+(\tau+1)x^{1/2}\) and \(a_2(x)\defeq\sqrt{2c_2}\,x^{1/4}+x^{1/2}\).
The relative error is of order the square root of \(\mathfrak e(x)\defeq x^{1/4}+x^{1/2}\log(e+x^{-1/2})\). Since \(\log(1+c_2t)\le(1+\log\max\{1,c_2\})\log(e+t)\) for \(t\ge0\), each of \(a_1(x)\), \(a_2(x)\) and \(\tilde{\mathsf d}/N^{\mathsf e_r}\) is at most \(c\,\mathfrak e(x)\) for \(x\le1\). By Proposition SI.8(i),(ii), \(c_JN^{\mathsf e_r}\le J_N\le c_J'N^{\mathsf e_r}\) for large \(N\), with fixed \(c_J,c_J'>0\). Since \(\mathfrak e\) is bounded on \((0,1]\), (SI.64) gives
\[ \frac{\mathsf I-J_N}{J_N}\le c\,\mathfrak e(x)^{1/2}\qquad(x\le1). \]
The lower bound of (SI.59) gives
\[ \frac{J_N-\mathsf I}{J_N}\le\frac{\sqrt{T\mathsf y}}{J_N}=\frac{\sqrt T\,x^{1/2}N^{\mathsf e_r}}{J_N}\le c\,x^{1/2}\le c\,\mathfrak e(x)^{1/2} . \]
Here \(N_2\) is the largest of \(N^\circ\), the threshold of Proposition SI.8(ii), and the threshold for \(D\le\tau N^q\).
In all three cases \(\mathsf I_j/J_N(p,q_j)\to1\), and no bound depends on \(B\). The two equivalents follow from (SI.30) and (SI.41), and dividing \(D_N\mathsf I_{\text{s-SGD}}/\mathsf I_{\text{s-SVD}}\) by \(\rho_N=D_NJ_N(p,\alpha)/J_N(p,\alpha/2)\) gives the ratio.

Uses

Used by

Lean

Proved in Lean
Muon.Phase.thm_app_phase_frozen_i source
theorem thm_app_phase_frozen_i {α ς T : ℝ} (hα : 0 < α) (hp : 1 < α + ς) (hT : 4 ≤ T)
    (D : FrozenSeq α ς) :
    ∀ᶠ n in atTop,
      dimHit (D.QS n) (svdT0 (D.N n) (D.B n)) T (D.ε n) ≠ ⊤ ∧
        dimHit (D.QG n) (sgdT0 α (D.N n) (D.B n)) T (D.ε n) ≠ ⊤ := by
Muon.Phase.thm_app_phase_frozen_ii source
theorem thm_app_phase_frozen_ii {α ς T : ℝ} (hα : 0 < α) (hp : 1 < α + ς) (hT : 4 ≤ T)
    (D : FrozenSeq α ς) :
    Tendsto (fun n => phaseClockI (D.QS n) (svdT0 (D.N n) (D.B n)) T (D.ε n) /
        JN (D.N n) (α + ς) (α / 2)) atTop (𝓝 1) ∧
      Tendsto (fun n => phaseClockI (D.QG n) (sgdT0 α (D.N n) (D.B n)) T (D.ε n) /
        JN (D.N n) (α + ς) α) atTop (𝓝 1) := by
Muon.Phase.thm_app_phase_frozen_iii source
theorem thm_app_phase_frozen_iii {α ς T : ℝ} (hα : 0 < α) (hp : 1 < α + ς) (hT : 4 ≤ T)
    (D : FrozenSeq α ς) :
    IsEquivalent atTop (fun n => (stepHit (D.mS n) (D.QS n) T (D.ε n)).toReal)
        (fun n => (svdArrays α ς (D.N n) (D.B n)).S * svdT0 (D.N n) (D.B n) *
          JN (D.N n) (α + ς) (α / 2) / (2 * Real.sqrt (D.ε n))) ∧
      IsEquivalent atTop (fun n => (stepHit (D.mG n) (D.QG n) T (D.ε n)).toReal)
        (fun n => (sgdArrays α ς (D.N n) (D.B n)).S * sgdT0 α (D.N n) (D.B n) *
          JN (D.N n) (α + ς) α / (2 * Real.sqrt (D.ε n))) := by
Muon.Phase.thm_app_phase_frozen_iv source
theorem thm_app_phase_frozen_iv {α ς T : ℝ} (hα : 0 < α) (hp : 1 < α + ς) (hT : 4 ≤ T)
    (D : FrozenSeq α ς) :
    IsEquivalent atTop
      (fun n => (stepHit (D.mG n) (D.QG n) T (D.ε n)).toReal /
        (stepHit (D.mS n) (D.QS n) T (D.ε n)).toReal)
      (fun n => phaseRhoN α ς (D.N n)) := by
Muon.Phase.thm_app_phase_frozen_v_i source
theorem thm_app_phase_frozen_v_i {α ς T : ℝ} (hα : 0 < α) (hp : 1 < α + ς) (hT : 4 ≤ T)
    (hr : rq (α + ς) (α / 2) < 1) :
    ∃ (N2 : ℕ) (c : ℝ), ∀ (N B : ℕ) (ε : ℝ) (m : RowModel (Fin N)) (Q : ℝ → ℝ),
      N2 ≤ N → N ≤ B → 0 < ε → ε < 1 / (2 * T) → phaseX (α + ς) N ε ≤ 1 →
      IsMatchedModel (svdArrays α ς N B) m ε → IsVolterraSol m Q →
      |phaseClockI Q (svdT0 N B) T ε / JN N (α + ς) (α / 2) - 1| ≤
        c * frozenRate (phaseX (α + ς) N ε) ^ (1 / 2 : ℝ) := by
Muon.Phase.thm_app_phase_frozen_v_ii source
theorem thm_app_phase_frozen_v_ii {α ς T : ℝ} (hα : 0 < α) (hp : 1 < α + ς) (hT : 4 ≤ T)
    (hr : rq (α + ς) α < 1) :
    ∃ (N2 : ℕ) (c : ℝ), ∀ (N B : ℕ) (ε : ℝ) (m : RowModel (Fin N)) (Q : ℝ → ℝ),
      N2 ≤ N → N ≤ B → 0 < ε → ε < 1 / (2 * T) → phaseX (α + ς) N ε ≤ 1 →
      IsMatchedModel (sgdArrays α ς N B) m ε → IsVolterraSol m Q →
      |phaseClockI Q (sgdT0 α N B) T ε / JN N (α + ς) α - 1| ≤
        c * frozenRate (phaseX (α + ς) N ε) ^ (1 / 2 : ℝ) := by