Phases of Muoncompanion
Section SI · Deterministic model: Volterra analysis and the phase map
Proved in Lean
Lemma SI.3 (Comparison)
Let \(S'>0\), let \(\mathsf k\ge0\) be integrable on \((0,S')\), let \(G\ge0\) be continuous on \([0,S']\), and let \(m>0\). Let \(x\) and \(y\) be continuous and nonnegative on \([0,S']\), with \(y\ge m\) and
\[ x\le G+\mathsf k*\sqrt x,\qquad y\ge G+\mathsf k*\sqrt y\qquad\text{on }[0,S']. \]
Then \(x\le y\) on \([0,S']\).
Proof.
Put \(d\defeq(x-y)_+\). Where \(x>y\) one has
\[ \sqrt x-\sqrt y=\frac{x-y}{\sqrt x+\sqrt y}\le\frac{d}{\sqrt m}, \]
so \((\sqrt x-\sqrt y)_+\le d/\sqrt m\) everywhere. Subtracting the two inequalities and using \(\mathsf k\ge0\) gives
\begin{equation}\tag{SI.6} d\le\frac1{\sqrt m}\,\mathsf k*d\qquad\text{on }[0,S']. \end{equation}
Since \(\mathsf k\) is integrable, there is \(\iota>0\) with \(m^{-1/2}\int_0^{\iota}\mathsf k\le\frac12\). Suppose \(d=0\) on \([0,j\iota]\cap[0,S']\) for some integer \(j\ge0\). For \(s\) in \([j\iota,(j+1)\iota]\cap[0,S']\) the integrand of \(\mathsf k*d\) vanishes for \(v\le j\iota\), so (SI.6) gives
\[ d(s)\le\frac1{\sqrt m}\int_{j\iota}^s\mathsf k(s-v)\,d(v)\,\dif v\le\frac12\sup_{[j\iota,(j+1)\iota]\cap[0,S']}d . \]
Taking the supremum over \(s\) shows that this supremum vanishes. Finitely many steps cover \([0,S']\).

Used by

Lean

Proved in Lean
Muon.Phase.lem_app_phase_comparison source
theorem lem_app_phase_comparison
    (S' : ℝ) (hS' : 0 < S') (kc : ℝ → ℝ)
    (hkc_nonneg : ∀ s ∈ Ioo (0 : ℝ) S', 0 ≤ kc s) (hkc_int : IntegrableOn kc (Ioo 0 S'))
    (G : ℝ → ℝ) (hG : ContinuousOn G (Icc 0 S')) (hG_nonneg : ∀ s ∈ Icc (0 : ℝ) S', 0 ≤ G s)
    (m : ℝ) (hm : 0 < m)
    (x y : ℝ → ℝ) (hx : ContinuousOn x (Icc 0 S')) (hx_nonneg : ∀ s ∈ Icc (0 : ℝ) S', 0 ≤ x s)
    (hy : ContinuousOn y (Icc 0 S')) (hy_nonneg : ∀ s ∈ Icc (0 : ℝ) S', 0 ≤ y s)
    (hym : ∀ s ∈ Icc (0 : ℝ) S', m ≤ y s)
    (hxsub : ∀ s ∈ Icc (0 : ℝ) S', x s ≤ G s + oneSidedConv (fun u => Real.sqrt (x u)) kc s)
    (hysub : ∀ s ∈ Icc (0 : ℝ) S', G s + oneSidedConv (fun u => Real.sqrt (y u)) kc s ≤ y s) :
    ∀ s ∈ Icc (0 : ℝ) S', x s ≤ y s := by