Phases of Muoncompanion
Section SE · From the algorithm to the deterministic dynamics
Proved in Lean
Proposition SE.1 (Well-posedness)
At a fixed dimension, let \(\norm{\Sigmaout},\norm{\Sigmain}\le C_\Sigma\) and \(\max(\Nin,\Nout)\le\gamma_\star B\), and let \(\Delta_0\) satisfy \(\norm{\Delta_0}_\F^2\le E_\star\) and \(r_0\le\cR(\Delta_0)\le r_1\). Then:
  1. (i)
    the system (SE.7) has a unique solution on \([0,T_\star]\), and \(\fQ_{ij}(\macrotime)\ge0\) for all \(i,j\) and \(\macrotime\le T_\star\);
  2. (ii)
    for \(\macrotime\le T_\star\), \(\abs{\chi^{\mathrm{ode}}(\macrotime)(\mathbb K)-\norm{\Delta_0}_\F^2}\le C_E\macrotime\) and \(\abs{\fRisk(\macrotime)-\cR(\Delta_0)}\le C_{\cR}\macrotime\); in particular \(\chi^{\mathrm{ode}}(\macrotime)\in\mathfrak M\);
  3. (iii)
    \(\chi^{\mathrm{ode}}\) satisfies (SE.9) on \([0,T_\star]\).
Proof.
The vector field is locally Lipschitz where the risk is positive. On the open set \(\mathcal O\defeq\{(e_{ij})\in\R^{\Nout\times\Nin}:\sum_{i,j}\mu_i\lambda_je_{ij}>0\}\), the right side of (SE.7) in the variables \(e_{ij}=B^2\fQ_{ij}\) is a product of linear functions of \(e\) and of \(x\mapsto x^{-1/2}\) evaluated at a positive linear function of \(e\), hence continuously differentiable. The Picard–Lindelöf theorem [98, Theorem 2.2] gives a unique solution on a maximal interval \([0,T_{\max})\) in \(\mathcal O\).
The solution is nonnegative by variation of constants. Along the solution put \(a_{ij}(\macrotime)\defeq2\macrostep\mathfrak d_{ij}/\sqrt{\fRisk(\macrotime)}\), a continuous function on \([0,T_{\max})\). Then
\[ B^2\fQ_{ij}(\macrotime)=e^{-\int_0^\macrotime a_{ij}}\,B^2\fQ_{ij}(0)+\macrostep^2B\,\mathfrak v_{ij}\int_0^\macrotime e^{-\int_\sigma^\macrotime a_{ij}}\,\dif\sigma\ge0 , \]
because \(\fQ_{ij}(0)\ge0\) and \(\mathfrak v_{ij}\ge0\) by Proposition SD.3.
The measure equation (SE.9) holds on \([0,T_{\max})\) by the summation over atoms explained before (SE.10). Testing it with \(1\) and with \(\mu\lambda/2\) gives
\[ \frac{\dif}{\dif\macrotime}\chi^{\mathrm{ode}}(\macrotime)(\mathbb K)=\mathsf F_B(\chi^{\mathrm{ode}}(\macrotime))(\mathbb K),\qquad \frac{\dif}{\dif\macrotime}\fRisk(\macrotime)=\frac12\int\mu\lambda\,\dif\mathsf F_B(\chi^{\mathrm{ode}}(\macrotime)). \]
The solution cannot leave \(\mathfrak M\) before \(T_\star\). The initial measure satisfies \(\chi^{\mathrm{ode}}(0)(\mathbb K)=\norm{\Delta_0}_\F^2\le E_\star\) and \(\fRisk(0)=\cR(\Delta_0)\in[r_0,r_1]\), so it lies in the interior of \(\mathfrak M\). Let \(\macrotime_1\) be the first time in \([0,T_{\max})\) at which \(\chi^{\mathrm{ode}}\) reaches the boundary of \(\mathfrak M\), and suppose \(\macrotime_1\le T_\star\). On \([0,\macrotime_1]\) the measure lies in \(\mathfrak M\), so Lemma SE.1(i) bounds both derivatives above, and
\[ \abs{\chi^{\mathrm{ode}}(\macrotime_1)(\mathbb K)-\norm{\Delta_0}_\F^2}\le C_ET_\star\le\frac18,\qquad \abs{\fRisk(\macrotime_1)-\cR(\Delta_0)}\le C_{\cR}T_\star\le\frac{\min(r_0,1)}{8}. \]
Then \(\chi^{\mathrm{ode}}(\macrotime_1)(\mathbb K)\le E_\star+\frac18\), \(\fRisk(\macrotime_1)\ge\frac78r_0\) and \(\fRisk(\macrotime_1)\le r_1+\frac18\), so \(\chi^{\mathrm{ode}}(\macrotime_1)\) is in the interior of \(\mathfrak M\), a contradiction. Hence the solution stays in \(\mathfrak M\) on \([0,\min(T_{\max},T_\star))\), with the bounds of (ii).
The solution exists up to \(T_\star\). On \([0,\min(T_{\max},T_\star))\) the vector \((e_{ij})\) stays in the set \(\{e\ge0:\sum_{ij}e_{ij}\le B^2(E_\star+1),\ \sum\mu_i\lambda_je_{ij}\ge B^2r_0\}\), which is a compact subset of \(\mathcal O\). A solution that stays in a compact subset of the domain on a bounded interval extends beyond it [98, Corollary 2.15], so \(T_{\max}>T_\star\). This proves (i), (ii) and (iii).

Uses

Used by

Lean

Proved in Lean
Muon.Dynamics.prop_app_dyn_ode_i source
theorem prop_app_dyn_ode_i {m n : ℕ} {C : Covariances m n} (p : DynParams) (S : SpectralData C)
    {B : ℕ} (c : DynCoeff p S B) (Δ0 : Mat m n)
    (hSout : opNorm C.Sout ≤ p.CSig) (hSin : opNorm C.Sin ≤ p.CSig)
    (hdim : ((max m n : ℕ) : ℝ) ≤ p.γstar * (B : ℝ))
    (hE : fro Δ0 ^ 2 ≤ p.Estar) (hR0 : p.r0 ≤ riskSigma C Δ0) (hR1 : riskSigma C Δ0 ≤ p.r1) :
    (∃ e : ℝ → Fin m → Fin n → ℝ, def_app_dyn_ode p S c Δ0 (Tstar p) e) ∧
    (∀ e e' : ℝ → Fin m → Fin n → ℝ, def_app_dyn_ode p S c Δ0 (Tstar p) e →
      def_app_dyn_ode p S c Δ0 (Tstar p) e' → EqOn e e' (Icc 0 (Tstar p))) ∧
    (∀ e : ℝ → Fin m → Fin n → ℝ, def_app_dyn_ode p S c Δ0 (Tstar p) e →
      ∀ τ ∈ Icc 0 (Tstar p), ∀ i j, 0 ≤ e τ i j / (B : ℝ) ^ 2) := by
Muon.Dynamics.prop_app_dyn_ode_ii source
theorem prop_app_dyn_ode_ii {m n : ℕ} {C : Covariances m n} (p : DynParams) (S : SpectralData C)
    {B : ℕ} (c : DynCoeff p S B) (Δ0 : Mat m n)
    (hSout : opNorm C.Sout ≤ p.CSig) (hSin : opNorm C.Sin ≤ p.CSig)
    (hdim : ((max m n : ℕ) : ℝ) ≤ p.γstar * (B : ℝ))
    (hE : fro Δ0 ^ 2 ≤ p.Estar) (hR0 : p.r0 ≤ riskSigma C Δ0) (hR1 : riskSigma C Δ0 ≤ p.r1) :
    ∀ e : ℝ → Fin m → Fin n → ℝ, def_app_dyn_ode p S c Δ0 (Tstar p) e →
      ∀ τ ∈ Icc 0 (Tstar p),
        |(odeMeasure (B : ℝ) S.μ S.lam (e τ)).real (specRect p.CSig) - fro Δ0 ^ 2| ≤ CE p * τ ∧
        |odeRisk S.μ S.lam (B : ℝ) (e τ) - riskSigma C Δ0| ≤ CR p * τ ∧
        odeMeasure (B : ℝ) S.μ S.lam (e τ) ∈ admMeasures p := by
Muon.Dynamics.prop_app_dyn_ode_iii source
theorem prop_app_dyn_ode_iii {m n : ℕ} {C : Covariances m n} (p : DynParams) (S : SpectralData C)
    {B : ℕ} (c : DynCoeff p S B) (Δ0 : Mat m n)
    (hSout : opNorm C.Sout ≤ p.CSig) (hSin : opNorm C.Sin ≤ p.CSig)
    (hdim : ((max m n : ℕ) : ℝ) ≤ p.γstar * (B : ℝ))
    (hE : fro Δ0 ^ 2 ≤ p.Estar) (hR0 : p.r0 ≤ riskSigma C Δ0) (hR1 : riskSigma C Δ0 ≤ p.r1) :
    ∀ e : ℝ → Fin m → Fin n → ℝ, def_app_dyn_ode p S c Δ0 (Tstar p) e →
      ∀ φ : ℝ × ℝ → ℝ, Measurable φ → (∃ M0 : ℝ, ∀ x, |φ x| ≤ M0) →
      ∀ τ ∈ Icc 0 (Tstar p),
        IntervalIntegrable
            (fun σ => fieldOp p.h c.d c.ζ (odeMeasure (B : ℝ) S.μ S.lam (e σ)) φ)
            MeasureTheory.volume 0 τ ∧
        (∫ x, φ x ∂(odeMeasure (B : ℝ) S.μ S.lam (e τ))) =
          (∫ x, φ x ∂(odeMeasure (B : ℝ) S.μ S.lam (e 0))) +
            (∫ σ in (0 : ℝ)..τ, fieldOp p.h c.d c.ζ (odeMeasure (B : ℝ) S.μ S.lam (e σ)) φ) := by