Phases of Muoncompanion
Section SH · Large-batch drift for a general spectrum
Proved in Lean
Theorem SH.1 (Oversampled limit law)
Let \(\Nout,\Nin,B\ge1\), let \(\Sigmaout\) be positive semidefinite, let \(\bmom\in[0,1)\), and assume that \(\bmom>0\), or that \(\bmom=0\) and \(\gin<1\). Let \(q_\star\) be as in Lemma SH.3(iii), and put \(\Lambda\defeq1+3(1-\bmom)^2q_\star\). Write \(\mathfrak d^{\rm os}=\mathfrak d^{\rm os}_{\hat\nu_{\mathrm{out}},r}\).
  1. (i)
    For every \(\ridge>0\) and \(\mu\ge0\),
    \[ \Lambda^{-1}\,\mathfrak d^{\rm os}(\mu;\hat\ridge)\le\sqrt{\sw2\gin}\;\mathfrak d_\ridge(\mu)\le\Lambda\,\mathfrak d^{\rm os}(\mu;\hat\ridge). \]
  2. (ii)
    For every \(\mu\ge0\) the limit
    \[ \mathfrak d_0(\mu)\defeq\lim_{\ridge\downarrow0}\mathfrak d_\ridge(\mu)=\frac{\sqrt2}{\pi}\int_0^\infty\mathsf k(u^2;\mu)\,\dif u \]
    exists in \([0,\infty)\), and it satisfies the bounds of (i) with \(\ridge=\hat\ridge=0\).
  3. (iii)
    If \(\epsilon_{\rm os}<1\), then \(\Lambda\le(1-\epsilon_{\rm os})^{-1}\). Consequently, for every \(\ridge\ge0\) and \(1\le i\le\Nout\),
    \begin{equation}\tag{SH.10} \mathfrak d_i(\ridge)=\vartheta_i\,\sqrt{\frac{B_{\rm eff}}{\Nin}}\;\mathfrak d^{\rm os}(\mu_i;\hat\ridge) \qquad\text{for some }\vartheta_i\in\big[1-\epsilon_{\rm os},(1-\epsilon_{\rm os})^{-1}\big], \end{equation}
    and for every \(\mu\ge0\)
    \[ \Big|\sqrt{\sw2\gin}\;\mathfrak d_\ridge(\mu)-\mathfrak d^{\rm os}(\mu;\hat\ridge)\Big| \le\frac{\epsilon_{\rm os}}{1-\epsilon_{\rm os}}\,\mathfrak d^{\rm os}(\mu;\hat\ridge) \le\frac{\epsilon_{\rm os}}{1-\epsilon_{\rm os}}\sqrt{\frac\mu2}. \]
  4. (iv)
    For \(\ridge\ge0\) let \(\vartheta_\ridge(\mu)\defeq\sqrt{\sw2\gin}\,\mathfrak d_\ridge(\mu)/\mathfrak d^{\rm os}(\mu;\hat\ridge)\) for \(\mu>0\) and \(\vartheta_\ridge(0)\defeq1\). Then \(\operatorname{spec}\vartheta_\ridge(\Sigmaout)\subset[\Lambda^{-1},\Lambda]\) and
    \[ \mathfrak d_\ridge(\Sigmaout)=\sqrt{\frac{B_{\rm eff}}{\Nin}}\;\vartheta_\ridge(\Sigmaout)\,\mathfrak d^{\rm os}(\Sigmaout;\hat\ridge). \]
Proof.
The proof starts from a uniform bound on the two scalar factors. For \(s>0\) let \(b(s)\), \(\widehat F(s)\) and \(L(s)\) be as in Lemma SH.4. By Lemma SH.4(b), \(q(-s)\Fw(q(-s))<\gin\), so \(q(-s)<q_\star\) by Lemma SH.3(iii). Lemma SH.3(ii) then gives, for every \(s>0\),
\begin{equation}\tag{SH.11} L(s)\ge\frac1{1+3(1-\bmom)^2q(-s)}\ge\Lambda^{-1},\qquad \widehat F(s)\ge\frac1{1+3(1-\bmom)^2q(-s)}\ge\Lambda^{-1}. \end{equation}
Part (i) is a pointwise sandwich of the integrands. Substitute \(u=\sqrt{\sw2\gin}\,v\) in (SH.3), so that \(\ridge+u^2=\sw2\gin\,\hat s\) with \(\hat s=\hat\ridge+v^2\). By Lemma SH.4(d),
\[ \sqrt{\sw2\gin}\;\mathfrak d_\ridge(\mu)=\frac{\sqrt2}{\pi}\int_0^\infty I(\hat s)\,\dif v,\qquad I(\hat s)\defeq\frac{L}{\widehat F}\,\frac{b\mu}{\hat s+b\mu}\Big|_{s=\sw2\gin\hat s}. \]
Write \(I_0(\hat s)\defeq b_0(\hat s)\mu/(\hat s+b_0(\hat s)\mu)\) with \(b_0=b_0^{\hat\nu_{\mathrm{out}},r}\). Lemma SH.4(c) places \(b\) under the hypotheses of Lemma SH.5, which gives
\[ L\,I_0\le I\le\widehat F^{-1}I_0 , \]
using \(L\le1\) on the right. By (SH.11), \(\Lambda^{-1}I_0\le I\le\Lambda I_0\) for every \(\hat s>0\). Integrating in \(v\) proves (i), since \(\frac{\sqrt2}{\pi}\int_0^\infty I_0\,\dif v=\mathfrak d^{\rm os}(\mu;\hat\ridge)\).
Part (ii) is dominated convergence with a majorant that does not depend on the ridge. By Lemma SH.4(d), \(b\le\widehat F\le1\), \(L\le1\) and (SH.11),
\[ \mathsf k(s;\mu)\le\frac{\Lambda}{\sw2\gin}\min\Big\{1,\ \frac{b\mu}{\hat s}\Big\} \le\Lambda\min\Big\{\frac1{\sw2\gin},\ \frac\mu s\Big\}, \]
and the right side is nonincreasing in \(s\). Hence, for \(\ridge>0\) and \(u>0\),
\[ \mathsf k(\ridge+u^2;\mu)\le\Lambda\min\Big\{\frac1{\sw2\gin},\ \frac{\mu}{u^2}\Big\}, \]
which is integrable on \((0,\infty)\). The integrand \(\mathsf k(\cdot;\mu)\) is continuous on \((0,\infty)\) (Section SH.2), so \(\mathsf k(\ridge+u^2;\mu)\to\mathsf k(u^2;\mu)\) for every \(u>0\), and dominated convergence gives the existence and the value of the limit. At \(\ridge=0\) the substitution and the pointwise sandwich of (i) apply without change, with \(\hat s=v^2>0\).
Part (iii) combines (i) and (ii) with Lemma SH.3(iv), which gives \(\Lambda\le(1-\epsilon_{\rm os})^{-1}\) and \(\Lambda^{-1}\ge1-\epsilon_{\rm os}\). If \(\mu_i=0\), both sides of (SH.10) vanish and \(\vartheta_i=1\) serves. If \(\mu_i>0\), the profile is positive by Lemma SH.2, and \(\vartheta_i\defeq\sqrt{\sw2\gin}\,\mathfrak d_i(\ridge)/\mathfrak d^{\rm os}(\mu_i;\hat\ridge)\) lies in \([\Lambda^{-1},\Lambda]\). The identity \((\sw2\gin)^{-1/2}=\sqrt{B/(\sw2\Nin)}=\sqrt{B_{\rm eff}/\Nin}\) gives (SH.10). For the error bound, the two-sided bound gives
\[ \Big|\sqrt{\sw2\gin}\;\mathfrak d_\ridge(\mu)-\mathfrak d^{\rm os}(\mu;\hat\ridge)\Big| \le\max\Big\{\epsilon_{\rm os},\ \frac1{1-\epsilon_{\rm os}}-1\Big\}\,\mathfrak d^{\rm os}(\mu;\hat\ridge) =\frac{\epsilon_{\rm os}}{1-\epsilon_{\rm os}}\,\mathfrak d^{\rm os}(\mu;\hat\ridge), \]
and Lemma SH.2 bounds \(\mathfrak d^{\rm os}(\mu;\hat\ridge)\) by \(\sqrt{\mu/2}\).
Part (iv) is (i) and (ii) eigenvalue by eigenvalue. At \(\mu=0\) both \(\mathfrak d_\ridge(0)\) and \(\mathfrak d^{\rm os}(0;\hat\ridge)\) vanish, and at \(\mu>0\) the ratio \(\vartheta_\ridge(\mu)\) lies in \([\Lambda^{-1},\Lambda]\) by (i) and (ii). The functions of \(\Sigmaout\) act on each eigenvector \(u_k\) by the value at \(\mu_k\), which gives the operator identity.

Uses

Used by

Lean

Proved in Lean
Muon.Oversampled.limit_generic_i source
theorem limit_generic_i {β : ℝ} (hβ0 : 0 ≤ β) (hβ1 : β < 1) {Nout Nin B : ℕ}
    (hNout : 1 ≤ Nout) (hNin : 1 ≤ Nin) (hB : 1 ≤ B) {nuOut : Measure ℝ}
    (hν0 : nuOut (Iio 0) = 0) (hmass : nuOut univ = ENNReal.ofReal (gammaOut Nout B))
    (hcond : 0 < β ∨ (β = 0 ∧ gammaIn Nin B < 1))
    {qs : ℝ} (hqs : 0 < qs ∧ qs * Muon.DetEquiv.Fw (Muon.emaW β) qs = gammaIn Nin B)
    (br : HalfAnisoBranch β (gammaIn Nin B) nuOut) :
    ∀ ρ : ℝ, 0 < ρ → ∀ μ : ℝ, 0 ≤ μ →
      (lamOs β qs)⁻¹ * dOs (hatNu nuOut (gammaOut Nout B)) ((Nout : ℝ) / Nin) μ
          (ρ / (Muon.sPow β 2 * gammaIn Nin B)) ≤
        Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dRidge br ρ μ ∧
      Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dRidge br ρ μ ≤
        lamOs β qs * dOs (hatNu nuOut (gammaOut Nout B)) ((Nout : ℝ) / Nin) μ
          (ρ / (Muon.sPow β 2 * gammaIn Nin B)) := by
Muon.Oversampled.limit_generic_ii source
theorem limit_generic_ii {β : ℝ} (hβ0 : 0 ≤ β) (hβ1 : β < 1) {Nout Nin B : ℕ}
    (hNout : 1 ≤ Nout) (hNin : 1 ≤ Nin) (hB : 1 ≤ B) {nuOut : Measure ℝ}
    (hν0 : nuOut (Iio 0) = 0) (hmass : nuOut univ = ENNReal.ofReal (gammaOut Nout B))
    (hcond : 0 < β ∨ (β = 0 ∧ gammaIn Nin B < 1))
    {qs : ℝ} (hqs : 0 < qs ∧ qs * Muon.DetEquiv.Fw (Muon.emaW β) qs = gammaIn Nin B)
    (br : HalfAnisoBranch β (gammaIn Nin B) nuOut) :
    ∀ μ : ℝ, 0 ≤ μ →
      Tendsto (fun ρ : ℝ => dRidge br ρ μ) (𝓝[>] (0 : ℝ)) (𝓝 (dZero br μ)) ∧
      0 ≤ dZero br μ ∧
      (lamOs β qs)⁻¹ * dOs (hatNu nuOut (gammaOut Nout B)) ((Nout : ℝ) / Nin) μ 0 ≤
        Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dZero br μ ∧
      Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dZero br μ ≤
        lamOs β qs * dOs (hatNu nuOut (gammaOut Nout B)) ((Nout : ℝ) / Nin) μ 0 := by
Muon.Oversampled.limit_generic_iii source
theorem limit_generic_iii {β : ℝ} (hβ0 : 0 ≤ β) (hβ1 : β < 1) {Nout Nin B : ℕ}
    (hNout : 1 ≤ Nout) (hNin : 1 ≤ Nin) (hB : 1 ≤ B) {nuOut : Measure ℝ}
    (hν0 : nuOut (Iio 0) = 0) (hmass : nuOut univ = ENNReal.ofReal (gammaOut Nout B))
    (hcond : 0 < β ∨ (β = 0 ∧ gammaIn Nin B < 1))
    {qs : ℝ} (hqs : 0 < qs ∧ qs * Muon.DetEquiv.Fw (Muon.emaW β) qs = gammaIn Nin B)
    (hε : epsOs β (gammaIn Nin B) < 1)
    (br : HalfAnisoBranch β (gammaIn Nin B) nuOut) :
    lamOs β qs ≤ (1 - epsOs β (gammaIn Nin B))⁻¹ ∧
    (∀ ρ : ℝ, 0 ≤ ρ → ∀ μ : ℝ, 0 ≤ μ → ∃ ϑ : ℝ,
      ϑ ∈ Icc (1 - epsOs β (gammaIn Nin B)) (1 - epsOs β (gammaIn Nin B))⁻¹ ∧
      dRidge br ρ μ = ϑ * Real.sqrt ((B : ℝ) / Muon.sPow β 2 / (Nin : ℝ)) *
        dOs (hatNu nuOut (gammaOut Nout B)) ((Nout : ℝ) / Nin) μ
          (ρ / (Muon.sPow β 2 * gammaIn Nin B))) ∧
    (∀ ρ : ℝ, 0 ≤ ρ → ∀ μ : ℝ, 0 ≤ μ →
      |Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dRidge br ρ μ -
          dOs (hatNu nuOut (gammaOut Nout B)) ((Nout : ℝ) / Nin) μ
            (ρ / (Muon.sPow β 2 * gammaIn Nin B))| ≤
        epsOs β (gammaIn Nin B) / (1 - epsOs β (gammaIn Nin B)) *
          dOs (hatNu nuOut (gammaOut Nout B)) ((Nout : ℝ) / Nin) μ
            (ρ / (Muon.sPow β 2 * gammaIn Nin B)) ∧
      epsOs β (gammaIn Nin B) / (1 - epsOs β (gammaIn Nin B)) *
          dOs (hatNu nuOut (gammaOut Nout B)) ((Nout : ℝ) / Nin) μ
            (ρ / (Muon.sPow β 2 * gammaIn Nin B)) ≤
        epsOs β (gammaIn Nin B) / (1 - epsOs β (gammaIn Nin B)) * Real.sqrt (μ / 2)) := by
Muon.Oversampled.thm_app_os_limit_i source
theorem thm_app_os_limit_i {β : ℝ} (hβ0 : 0 ≤ β) (hβ1 : β < 1) {Nout Nin B : ℕ}
    (hNout : 1 ≤ Nout) (hNin : 1 ≤ Nin) (hB : 1 ≤ B) (C : Muon.Covariances Nout Nin)
    (hSin : C.Sin = 1) (hcond : 0 < β ∨ (β = 0 ∧ gammaIn Nin B < 1))
    {qs : ℝ} (hqs : 0 < qs ∧ qs * Muon.DetEquiv.Fw (Muon.emaW β) qs = gammaIn Nin B)
    (br : HalfAnisoBranch β (gammaIn Nin B) (Muon.nuOut C B)) (hbr : IsModelBranch C B hB β br) :
    ∀ ρ : ℝ, 0 < ρ → ∀ μ : ℝ, 0 ≤ μ →
      (lamOs β qs)⁻¹ * dOs (nuHatOut C) ((Nout : ℝ) / Nin) μ (sHat β (gammaIn Nin B) ρ) ≤
        Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dRidge br ρ μ ∧
      Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dRidge br ρ μ ≤
        lamOs β qs * dOs (nuHatOut C) ((Nout : ℝ) / Nin) μ (sHat β (gammaIn Nin B) ρ) := by
Muon.Oversampled.thm_app_os_limit_ii source
theorem thm_app_os_limit_ii {β : ℝ} (hβ0 : 0 ≤ β) (hβ1 : β < 1) {Nout Nin B : ℕ}
    (hNout : 1 ≤ Nout) (hNin : 1 ≤ Nin) (hB : 1 ≤ B) (C : Muon.Covariances Nout Nin)
    (hSin : C.Sin = 1) (hcond : 0 < β ∨ (β = 0 ∧ gammaIn Nin B < 1))
    {qs : ℝ} (hqs : 0 < qs ∧ qs * Muon.DetEquiv.Fw (Muon.emaW β) qs = gammaIn Nin B)
    (br : HalfAnisoBranch β (gammaIn Nin B) (Muon.nuOut C B)) (hbr : IsModelBranch C B hB β br) :
    ∀ μ : ℝ, 0 ≤ μ →
      Tendsto (fun ρ : ℝ => dRidge br ρ μ) (𝓝[>] (0 : ℝ)) (𝓝 (dZero br μ)) ∧
      0 ≤ dZero br μ ∧
      (lamOs β qs)⁻¹ * dOs (nuHatOut C) ((Nout : ℝ) / Nin) μ 0 ≤
        Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dZero br μ ∧
      Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dZero br μ ≤
        lamOs β qs * dOs (nuHatOut C) ((Nout : ℝ) / Nin) μ 0 := by
Muon.Oversampled.thm_app_os_limit_iii source
theorem thm_app_os_limit_iii {β : ℝ} (hβ0 : 0 ≤ β) (hβ1 : β < 1) {Nout Nin B : ℕ}
    (hNout : 1 ≤ Nout) (hNin : 1 ≤ Nin) (hB : 1 ≤ B) (C : Muon.Covariances Nout Nin)
    (hSin : C.Sin = 1) (hcond : 0 < β ∨ (β = 0 ∧ gammaIn Nin B < 1))
    {qs : ℝ} (hqs : 0 < qs ∧ qs * Muon.DetEquiv.Fw (Muon.emaW β) qs = gammaIn Nin B)
    (hε : epsOs β (gammaIn Nin B) < 1)
    (br : HalfAnisoBranch β (gammaIn Nin B) (Muon.nuOut C B)) (hbr : IsModelBranch C B hB β br) :
    lamOs β qs ≤ (1 - epsOs β (gammaIn Nin B))⁻¹ ∧
    (∀ ρ : ℝ, 0 ≤ ρ → ∀ i : Fin Nout, ∃ ϑ : ℝ,
      ϑ ∈ Icc (1 - epsOs β (gammaIn Nin B)) (1 - epsOs β (gammaIn Nin B))⁻¹ ∧
      dRidge br ρ (eigOut C i) =
        ϑ * Real.sqrt (bEff β B / (Nin : ℝ)) *
          dOs (nuHatOut C) ((Nout : ℝ) / Nin) (eigOut C i) (sHat β (gammaIn Nin B) ρ)) ∧
    (∀ ρ : ℝ, 0 ≤ ρ → ∀ μ : ℝ, 0 ≤ μ →
      |Real.sqrt (Muon.sPow β 2 * gammaIn Nin B) * dRidge br ρ μ -
          dOs (nuHatOut C) ((Nout : ℝ) / Nin) μ (sHat β (gammaIn Nin B) ρ)| ≤
        epsOs β (gammaIn Nin B) / (1 - epsOs β (gammaIn Nin B)) *
          dOs (nuHatOut C) ((Nout : ℝ) / Nin) μ (sHat β (gammaIn Nin B) ρ) ∧
      epsOs β (gammaIn Nin B) / (1 - epsOs β (gammaIn Nin B)) *
          dOs (nuHatOut C) ((Nout : ℝ) / Nin) μ (sHat β (gammaIn Nin B) ρ) ≤
        epsOs β (gammaIn Nin B) / (1 - epsOs β (gammaIn Nin B)) * Real.sqrt (μ / 2)) := by
Muon.Oversampled.thm_app_os_limit_iv source
theorem thm_app_os_limit_iv {β : ℝ} (hβ0 : 0 ≤ β) (hβ1 : β < 1) {Nout Nin B : ℕ}
    (hNout : 1 ≤ Nout) (hNin : 1 ≤ Nin) (hB : 1 ≤ B) (C : Muon.Covariances Nout Nin)
    (hSin : C.Sin = 1) (hcond : 0 < β ∨ (β = 0 ∧ gammaIn Nin B < 1))
    {qs : ℝ} (hqs : 0 < qs ∧ qs * Muon.DetEquiv.Fw (Muon.emaW β) qs = gammaIn Nin B)
    (br : HalfAnisoBranch β (gammaIn Nin B) (Muon.nuOut C B)) (hbr : IsModelBranch C B hB β br) :
    ∀ ρ : ℝ, 0 ≤ ρ →
      spectrum ℝ (cfc (fun μ : ℝ => thetaRidge br (nuHatOut C) ((Nout : ℝ) / Nin) ρ μ)
          C.Sout) ⊆ Icc (lamOs β qs)⁻¹ (lamOs β qs) ∧
      cfc (fun μ : ℝ => dRidge br ρ μ) C.Sout =
        Real.sqrt (bEff β B / (Nin : ℝ)) •
          (cfc (fun μ : ℝ => thetaRidge br (nuHatOut C) ((Nout : ℝ) / Nin) ρ μ) C.Sout *
            cfc (fun μ : ℝ => dOs (nuHatOut C) ((Nout : ℝ) / Nin) μ (sHat β (gammaIn Nin B) ρ))
              C.Sout) := by
Muon.Oversampled.exists_modelBranch source
theorem exists_modelBranch {β : ℝ} (hβ0 : 0 ≤ β) (hβ1 : β < 1) {Nout Nin B : ℕ}
    (hNout : 1 ≤ Nout) (hNin : 1 ≤ Nin) (hB : 1 ≤ B) (C : Muon.Covariances Nout Nin) :
    ∃ br : HalfAnisoBranch β (gammaIn Nin B) (Muon.nuOut C B), IsModelBranch C B hB β br := by
Muon.Oversampled.IsModelBranch source
def IsModelBranch {Nout Nin : ℕ} (C : Muon.Covariances Nout Nin) (B : ℕ) (hB : 1 ≤ B) (β : ℝ)
    (br : HalfAnisoBranch β (gammaIn Nin B) (Muon.nuOut C B)) : Prop :=
Muon.Oversampled.nuOutFM source
def nuOutFM {m n : ℕ} (C : Muon.Covariances m n) (B : ℕ) (hB : 1 ≤ B) : FiniteMeasure ℝ :=
Muon.Oversampled.nuInFM source
def nuInFM (γ : ℝ) : FiniteMeasure ℝ :=
Muon.Oversampled.thetaRidge source
def thetaRidge {β γin : ℝ} {nuOut : Measure ℝ} (br : HalfAnisoBranch β γin nuOut)
    (nu : Measure ℝ) (r ρ μ : ℝ) : ℝ :=