Phases of Muoncompanion
Section SE · From the algorithm to the deterministic dynamics
Proved in Lean
Lemma SE.25 (Uniformity over diffuse states)
Assume {{(H1)}}. For each dimension let \(e_B\ge0\) be a function on the set \(\mathscr S_B\) of normalized states such that \(e_B(\widehat A_B)\to0\) along every subsequence of dimensions and every choice of \(\widehat A_B\in\mathscr S_B\) along it with \(\norm{\widehat A_B}\to0\). Then for every sequence \(\delta_B\to0\),
\[ \bar e_B\defeq\sup\big\{e_B(\widehat A):\ \widehat A\in\mathscr S_B,\ \norm{\widehat A}\le\delta_B\big\}\longrightarrow0 , \]
with the convention that the supremum of the empty set is zero.
Proof.
Suppose not. Then there are \(\epsilon>0\) and a subsequence of dimensions at which \(\bar e_B>\epsilon\), and at each of them a state \(\widehat A_B\in\mathscr S_B\) with \(\norm{\widehat A_B}\le\delta_B\) and \(e_B(\widehat A_B)>\epsilon/2\). Along this subsequence \(\norm{\widehat A_B}\to0\) while \(e_B(\widehat A_B)\) does not tend to zero, a contradiction.

Uses

Lean

Proved in Lean
Muon.Dynamics.lem_app_dyn_uniform source
theorem lem_app_dyn_uniform {Ω : Type*} [MeasurableSpace Ω]
    (P : Measure Ω) (p : DynParams) (m n B : ℕ → ℕ) (C : ∀ k : ℕ, Covariances (m k) (n k))
    -- (H1) `hyp:app-dyn-data`: assum:data-target, assum:proportional-regime
    (regime : ProportionalRegime m n B C)
    (dims : ∀ k : ℕ, ((max (m k) (n k) : ℕ) : ℝ) ≤ p.γstar * (B k : ℝ))
    (normBd : ∀ k : ℕ, opNorm (C k).Sin ≤ p.CSig ∧ opNorm (C k).Sout ≤ p.CSig)
    (x : ∀ k : ℕ, ℕ → Ω → Batch (m k) (n k) (B k))
    (iid : ∀ k t, IIDBatch P (dataTarget (C k)) (fun a ω => x k t ω a))
    (steps_indep : ∀ k : ℕ, iIndepFun (fun t => x k t) P)
    -- the family of error functions `e_B` on the normalized states
    (e : ∀ k : ℕ, Mat (m k) (n k) → ℝ)
    (e_nonneg : ∀ k : ℕ, ∀ A ∈ NormStates (C k), 0 ≤ e k A)
    (e_to_zero : ∀ φ : ℕ → ℕ, StrictMono φ → ∀ A : ∀ j : ℕ, Mat (m (φ j)) (n (φ j)),
      (∀ j : ℕ, A j ∈ NormStates (C (φ j))) →
      Tendsto (fun j : ℕ => opNorm (A j)) atTop (𝓝 0) →
      Tendsto (fun j : ℕ => e (φ j) (A j)) atTop (𝓝 0))
    -- the sequence `δ_B → 0`
    (δ : ℕ → ℝ) (hδ : Tendsto δ atTop (𝓝 0)) :
    Tendsto (fun k : ℕ => dynUniformSup (C k) (e k) (δ k)) atTop (𝓝 0) := by
Muon.Dynamics.lem_app_dyn_uniform_eventual source
theorem lem_app_dyn_uniform_eventual {Ω : Type*} [MeasurableSpace Ω]
    (P : Measure Ω) (p : DynParams) (m n B : ℕ → ℕ) (C : ∀ k : ℕ, Covariances (m k) (n k))
    -- (H1) `hyp:app-dyn-data`: assum:data-target, assum:proportional-regime
    (regime : ProportionalRegime m n B C)
    (dims : ∀ k : ℕ, ((max (m k) (n k) : ℕ) : ℝ) ≤ p.γstar * (B k : ℝ))
    (normBd : ∀ k : ℕ, opNorm (C k).Sin ≤ p.CSig ∧ opNorm (C k).Sout ≤ p.CSig)
    (x : ∀ k : ℕ, ℕ → Ω → Batch (m k) (n k) (B k))
    (iid : ∀ k t, IIDBatch P (dataTarget (C k)) (fun a ω => x k t ω a))
    (steps_indep : ∀ k : ℕ, iIndepFun (fun t => x k t) P)
    -- the family of error functions `e_B` on the normalized states
    (e : ∀ k : ℕ, Mat (m k) (n k) → ℝ)
    (e_nonneg : ∀ k : ℕ, ∀ A ∈ NormStates (C k), 0 ≤ e k A)
    (e_to_zero : ∀ φ : ℕ → ℕ, StrictMono φ → ∀ A : ∀ j : ℕ, Mat (m (φ j)) (n (φ j)),
      (∀ j : ℕ, A j ∈ NormStates (C (φ j))) →
      Tendsto (fun j : ℕ => opNorm (A j)) atTop (𝓝 0) →
      Tendsto (fun j : ℕ => e (φ j) (A j)) atTop (𝓝 0))
    -- the sequence `δ_B → 0`
    (δ : ℕ → ℝ) (hδ : Tendsto δ atTop (𝓝 0)) :
    ∀ ε : ℝ, 0 < ε → ∀ᶠ k in atTop, ∀ A ∈ NormStates (C k), opNorm A ≤ δ k → e k A ≤ ε := by
Muon.Dynamics.dynUniformSup source
def dynUniformSup {m n : ℕ} (C : Covariances m n) (e : Mat m n → ℝ) (δ : ℝ) : ℝ≥0∞ :=