Phases of Muoncompanion
Section SI · Deterministic model: Volterra analysis and the phase map
Proved in Lean
Proposition SI.4 (Noise constants, kernels and clocks)
The arrays of Definition SI.3 satisfy (M1), with \(F_0=\frac12H_N(p)\), and the following hold.
  1. (i)
    The noise constants, matched steps and time-scale products are
    \begin{equation}\tag{SI.26} \begin{aligned} \mathcal S_{\text{s-SVD}}&=\tfrac12\sqrt\gamma\,H_N(\alpha/2),&\quad \lr^\star_{\text{s-SVD}}&=\frac{4\sqrt\epsilon}{\sqrt\gamma\,H_N(\alpha/2)},\\ \mathcal S_{\text{s-SGD}}&=\frac{N^2}2\sqrt{\frac{\pi\bar\mu}B},&\quad \lr^\star_{\text{s-SGD}}&=\frac{4\sqrt\epsilon}{N^2}\sqrt{\frac B{\pi\bar\mu}},\\ \mathcal S_{\text{s-SVD}}T_0^{\text{s-SVD}}&=\tfrac\gamma2H_N(\alpha/2),&\quad \mathcal S_{\text{s-SGD}}T_0^{\text{s-SGD}}&=\frac{\pi N^2\bar\mu}{2B}=\tfrac{\pi\gamma}2H_N(\alpha), \end{aligned} \end{equation}
    and the dimension factor is
    \begin{equation}\tag{SI.27} D_N\defeq\frac{\mathcal S_{\text{s-SGD}}T_0^{\text{s-SGD}}}{\mathcal S_{\text{s-SVD}}T_0^{\text{s-SVD}}}=\frac{\pi H_N(\alpha)}{H_N(\alpha/2)} . \end{equation}
  2. (ii)
    The dimensionless risks solve \(Y_j=f_{N,q_j}+\sqrt\epsilon\,g_j*\sqrt{Y_j}\), with \(f_{N,q}\) of (SI.23) and
    \begin{equation}\tag{SI.28} g_{\text{s-SVD}}=\frac2{H_N(\alpha/2)}L_{N,\alpha,\alpha/2},\qquad g_{\text{s-SGD}}=\frac{2(1-2/\pi)}N\,L_{N,\alpha,\alpha}+\frac4{\pi H_N(\alpha)}\,L_{N,2\alpha,\alpha} . \end{equation}
    Both kernels are positive, continuous and decreasing. The kernel \(g_{\text{s-SVD}}\) has integral \(1\), and the two terms of \(g_{\text{s-SGD}}\) have integrals \(1-2/\pi\) and \(2/\pi\). Their maxima are
    \begin{equation}\tag{SI.29} \begin{gathered} k_{N,\text{s-SVD}}\defeq g_{\text{s-SVD}}(0)=\frac{2H_N(\alpha)}{H_N(\alpha/2)},\\ k_{N,\text{s-SGD}}\defeq g_{\text{s-SGD}}(0)=\frac{2(1-2/\pi)H_N(\alpha)}N+\frac{4H_N(2\alpha)}{\pi H_N(\alpha)} . \end{gathered} \end{equation}
  3. (iii)
    If \(\hat u_j<\infty\), then
    \begin{equation}\tag{SI.30} t^j_{T\epsilon}=\frac{\mathcal S_jT_0^j}{2\sqrt\epsilon}\int_0^{\hat u_j}\sqrt{Y_j(u)}\,\dif u . \end{equation}
  4. (iv)
    As \(N\to\infty\) at fixed \(\alpha\),
    \begin{equation}\tag{SI.31} D_N\sim\begin{cases} \pi\,\dfrac{1-\alpha/2}{1-\alpha}\,N^{-\alpha/2},&0<\alpha<1,\\[4pt] \dfrac\pi2N^{-1/2}\log N,&\alpha=1,\\[4pt] \pi(1-\alpha/2)\,\zeta(\alpha)\,N^{\alpha/2-1},&1<\alpha<2,\\[4pt] \pi\zeta(2)/\log N,&\alpha=2,\\[4pt] \pi\zeta(\alpha)/\zeta(\alpha/2),&\alpha>2. \end{cases} \end{equation}
Proof.
All coefficients are positive, since \(\mu_i/\bar\mu=Ni^{-\alpha}/H_N(\alpha)>0\) and \(2/\pi<1\), and the sums in (SI.1) are finite. For SignSVD,
\[ \mathcal S_{\text{s-SVD}}=\sum_{i=1}^N\frac{i^{-\alpha}}{2\gamma^{-1/2}i^{-\alpha/2}}=\frac{\sqrt\gamma}2H_N(\alpha/2) . \]
For SignSGD the factor \(\mu_i\) cancels and \(\sum_i\mathfrak v_i^{\text{s-SGD}}=N^2\), so
\[ \mathcal S_{\text{s-SGD}}=\frac12\sqrt{\frac{\pi\bar\mu}B}\sum_{i=1}^N\mathfrak v_i^{\text{s-SGD}}=\frac{N^2}2\sqrt{\frac{\pi\bar\mu}B} . \]
The steps and the products follow, using \(N\bar\mu=H_N(\alpha)\) and \(N/B=\gamma\). This proves (i).
For (ii), substituting \(v=T_0^jw\) in the convolution gives
\[ Y_j(u)=F_j(T_0^ju)+T_0^j\int_0^uk_j\big(T_0^j(u-w)\big)\sqrt{Y_j(w)}\,\dif w=F_j(T_0^ju)+\sqrt\epsilon\,(g_j*\sqrt{Y_j})(u). \]
Since \(\mathfrak d_i^jT_0^j=i^{-q_j}\), the forcing is \(F_j(T_0^ju)=\frac12\sum_ii^{-p}e^{-2ui^{-q_j}}=f_{N,q_j}(u)\). At the matched step,
\[ g_j(u)=\frac{T_0^j}{\mathcal S_j}\sum_{i=1}^N\mu_i\mathfrak v_i^je^{-2ui^{-q_j}} , \]
and inserting (i) and the arrays gives (SI.28). Each exponential satisfies \(\int_0^\infty e^{-2ui^{-q}}\dif u=i^q/2\), which gives the three integrals. Each kernel is a positive combination of decreasing exponentials, and its value at \(0\) is (SI.29).
For (iii), Theorem SI.3(i) gives \(t^j_{T\epsilon}=t(H_Q(T\epsilon))\) with \(H_Q(T\epsilon)=T_0^j\hat u_j\), and the change of variables \(v=T_0^ju\) in the clock gives
\[ t(T_0^j\hat u_j)=\frac{T_0^j}{\lr^\star_j}\int_0^{\hat u_j}\sqrt{Y_j(u)}\,\dif u , \]
which is (SI.30). Part (iv) follows from (SI.27) and Lemma SI.8.

Uses

Used by

Lean

Proved in Lean
Muon.Phase.prop_app_phase_prefactors_m1 source
theorem prop_app_phase_prefactors_m1 (α ς : ℝ) (N B : ℕ) (hα : 0 < α) (hp : 1 < α + ς)
    (hN : 1 ≤ N) (hNB : N ≤ B) :
    (∀ η : ℝ, 0 < η → ∃ m : RowModel (Fin N),
        m.μ = (svdArrays α ς N B).μ ∧ m.d = (svdArrays α ς N B).d ∧
        m.v = (svdArrays α ς N B).v ∧ m.Q0 = (svdArrays α ς N B).Q0 ∧ m.η = η) ∧
    (∀ η : ℝ, 0 < η → ∃ m : RowModel (Fin N),
        m.μ = (sgdArrays α ς N B).μ ∧ m.d = (sgdArrays α ς N B).d ∧
        m.v = (sgdArrays α ς N B).v ∧ m.Q0 = (sgdArrays α ς N B).Q0 ∧ m.η = η) ∧
    (svdArrays α ς N B).F0 = (1 / 2 : ℝ) * Hsum (α + ς) N ∧
    (sgdArrays α ς N B).F0 = (1 / 2 : ℝ) * Hsum (α + ς) N := by
Muon.Phase.prop_app_phase_prefactors_i source
theorem prop_app_phase_prefactors_i (α ς : ℝ) (N B : ℕ) (hα : 0 < α) (hp : 1 < α + ς)
    (hN : 1 ≤ N) (hNB : N ≤ B) (ε : ℝ) (hε : 0 < ε) :
    (svdArrays α ς N B).S = 1 / 2 * Real.sqrt (gammaRat N B) * Hsum (α / 2) N ∧
    matchedStep (svdArrays α ς N B) ε
        = 4 * Real.sqrt ε / (Real.sqrt (gammaRat N B) * Hsum (α / 2) N) ∧
    (sgdArrays α ς N B).S = (N : ℝ) ^ 2 / 2 * Real.sqrt (Real.pi * muBarOf α N / (B : ℝ)) ∧
    matchedStep (sgdArrays α ς N B) ε
        = 4 * Real.sqrt ε / (N : ℝ) ^ 2 * Real.sqrt ((B : ℝ) / (Real.pi * muBarOf α N)) ∧
    (svdArrays α ς N B).S * svdT0 N B = gammaRat N B / 2 * Hsum (α / 2) N ∧
    (sgdArrays α ς N B).S * sgdT0 α N B
        = Real.pi * (N : ℝ) ^ 2 * muBarOf α N / (2 * (B : ℝ)) ∧
    Real.pi * (N : ℝ) ^ 2 * muBarOf α N / (2 * (B : ℝ))
        = Real.pi * gammaRat N B / 2 * Hsum α N ∧
    (sgdArrays α ς N B).S * sgdT0 α N B / ((svdArrays α ς N B).S * svdT0 N B)
        = phaseDN α N := by
Muon.Phase.prop_app_phase_prefactors_ii source
theorem prop_app_phase_prefactors_ii (α ς : ℝ) (N B : ℕ) (hα : 0 < α) (hp : 1 < α + ς)
    (hN : 1 ≤ N) (hNB : N ≤ B) (ε : ℝ) (hε : 0 < ε) (mS mG : RowModel (Fin N))
    (hmS : IsMatchedModel (svdArrays α ς N B) mS ε)
    (hmG : IsMatchedModel (sgdArrays α ς N B) mG ε)
    (QS QG : ℝ → ℝ) (hQS : IsVolterraSol mS QS) (hQG : IsVolterraSol mG QG) :
    (∀ u, 0 ≤ u → mS.forcing (svdT0 N B * u) = fNq (N : ℕ∞) (α + ς) (α / 2) u) ∧
    (∀ u, 0 ≤ u → mG.forcing (sgdT0 α N B * u) = fNq (N : ℕ∞) (α + ς) α u) ∧
    (∀ u, 0 ≤ u → QS (svdT0 N B * u) = fNq (N : ℕ∞) (α + ς) (α / 2) u +
        Real.sqrt ε * oneSidedConv (fun v => Real.sqrt (QS (svdT0 N B * v)))
          (dimKernel mS (svdT0 N B) ε) u) ∧
    (∀ u, 0 ≤ u → QG (sgdT0 α N B * u) = fNq (N : ℕ∞) (α + ς) α u +
        Real.sqrt ε * oneSidedConv (fun v => Real.sqrt (QG (sgdT0 α N B * v)))
          (dimKernel mG (sgdT0 α N B) ε) u) ∧
    (∀ u, 0 ≤ u → dimKernel mS (svdT0 N B) ε u
        = 2 / Hsum (α / 2) N * Lsum (N : ℕ∞) α (α / 2) u) ∧
    (∀ u, 0 ≤ u → dimKernel mG (sgdT0 α N B) ε u
        = 2 * (1 - 2 / Real.pi) / (N : ℝ) * Lsum (N : ℕ∞) α α u
          + 4 / (Real.pi * Hsum α N) * Lsum (N : ℕ∞) (2 * α) α u) := by
Muon.Phase.prop_app_phase_prefactors_ii_props source
theorem prop_app_phase_prefactors_ii_props (α ς : ℝ) (N B : ℕ) (hα : 0 < α) (hp : 1 < α + ς)
    (hN : 1 ≤ N) (hNB : N ≤ B) (ε : ℝ) (hε : 0 < ε) (mS mG : RowModel (Fin N))
    (hmS : IsMatchedModel (svdArrays α ς N B) mS ε)
    (hmG : IsMatchedModel (sgdArrays α ς N B) mG ε) :
    ((∀ u, 0 ≤ u → 0 < dimKernel mS (svdT0 N B) ε u) ∧
      ContinuousOn (dimKernel mS (svdT0 N B) ε) (Ici 0) ∧
      AntitoneOn (dimKernel mS (svdT0 N B) ε) (Ici 0) ∧
      IntegrableOn (dimKernel mS (svdT0 N B) ε) (Ioi (0 : ℝ)) ∧
      ∫ u in Ioi (0 : ℝ), dimKernel mS (svdT0 N B) ε u = 1 ∧
      IsMaxOn (dimKernel mS (svdT0 N B) ε) (Ici 0) 0 ∧
      dimKernel mS (svdT0 N B) ε 0 = phaseKsvd α N) ∧
    ((∀ u, 0 ≤ u → 0 < dimKernel mG (sgdT0 α N B) ε u) ∧
      ContinuousOn (dimKernel mG (sgdT0 α N B) ε) (Ici 0) ∧
      AntitoneOn (dimKernel mG (sgdT0 α N B) ε) (Ici 0) ∧
      IsMaxOn (dimKernel mG (sgdT0 α N B) ε) (Ici 0) 0 ∧
      dimKernel mG (sgdT0 α N B) ε 0 = phaseKsgd α N ∧
      IntegrableOn (fun u => 2 * (1 - 2 / Real.pi) / (N : ℝ) * Lsum (N : ℕ∞) α α u)
        (Ioi (0 : ℝ)) ∧
      ∫ u in Ioi (0 : ℝ), 2 * (1 - 2 / Real.pi) / (N : ℝ) * Lsum (N : ℕ∞) α α u
        = 1 - 2 / Real.pi ∧
      IntegrableOn (fun u => 4 / (Real.pi * Hsum α N) * Lsum (N : ℕ∞) (2 * α) α u)
        (Ioi (0 : ℝ)) ∧
      ∫ u in Ioi (0 : ℝ), 4 / (Real.pi * Hsum α N) * Lsum (N : ℕ∞) (2 * α) α u
        = 2 / Real.pi) := by
Muon.Phase.prop_app_phase_prefactors_iii source
theorem prop_app_phase_prefactors_iii (α ς : ℝ) (N B : ℕ) (hα : 0 < α) (hp : 1 < α + ς)
    (hN : 1 ≤ N) (hNB : N ≤ B) (ε T : ℝ) (hε : 0 < ε) (hT : 0 < T)
    (mS mG : RowModel (Fin N))
    (hmS : IsMatchedModel (svdArrays α ς N B) mS ε)
    (hmG : IsMatchedModel (sgdArrays α ς N B) mG ε)
    (QS QG : ℝ → ℝ) (hQS : IsVolterraSol mS QS) (hQG : IsVolterraSol mG QG) :
    (firstHit (fun u => QS (svdT0 N B * u)) (T * ε) ≠ ⊤ →
      firstHit (riskClock mS QS) (T * ε) = ENNReal.ofReal
        (mS.S * svdT0 N B / (2 * Real.sqrt ε) *
          ∫ u in (0 : ℝ)..(firstHit (fun u => QS (svdT0 N B * u)) (T * ε)).toReal,
            Real.sqrt (QS (svdT0 N B * u)))) ∧
    (firstHit (fun u => QG (sgdT0 α N B * u)) (T * ε) ≠ ⊤ →
      firstHit (riskClock mG QG) (T * ε) = ENNReal.ofReal
        (mG.S * sgdT0 α N B / (2 * Real.sqrt ε) *
          ∫ u in (0 : ℝ)..(firstHit (fun u => QG (sgdT0 α N B * u)) (T * ε)).toReal,
            Real.sqrt (QG (sgdT0 α N B * u)))) := by
Muon.Phase.prop_app_phase_prefactors_iv source
theorem prop_app_phase_prefactors_iv (α : ℝ) (hα : 0 < α) :
    (α < 1 → Asymptotics.IsEquivalent atTop (fun N : ℕ => phaseDN α N)
        (fun N : ℕ => Real.pi * (1 - α / 2) / (1 - α) * (N : ℝ) ^ (-(α / 2)))) ∧
    (α = 1 → Asymptotics.IsEquivalent atTop (fun N : ℕ => phaseDN α N)
        (fun N : ℕ => Real.pi / 2 * (N : ℝ) ^ (-(1 / 2 : ℝ)) * Real.log (N : ℝ))) ∧
    (1 < α → α < 2 → Asymptotics.IsEquivalent atTop (fun N : ℕ => phaseDN α N)
        (fun N : ℕ => Real.pi * (1 - α / 2) * zetaR α * (N : ℝ) ^ (α / 2 - 1))) ∧
    (α = 2 → Asymptotics.IsEquivalent atTop (fun N : ℕ => phaseDN α N)
        (fun N : ℕ => Real.pi * zetaR 2 / Real.log (N : ℝ))) ∧
    (2 < α → Asymptotics.IsEquivalent atTop (fun N : ℕ => phaseDN α N)
        (fun _ : ℕ => Real.pi * zetaR α / zetaR (α / 2))) := by