Phases of Muoncompanion
Section SI · Deterministic model: Volterra analysis and the phase map
Proved in Lean
Lemma SI.8 (Harmonic sums)
For \(a>0\) and \(N\ge1\) let \(H_N(a)\defeq\sum_{i=1}^Ni^{-a}\). Then
\[ \int_1^{N+1}x^{-a}\,\dif x\le H_N(a)\le1+\int_1^Nx^{-a}\,\dif x , \]
and \(H_N(a)\ge N^{1-a}\) for \(a\le1\). Consequently, as \(N\to\infty\), \(H_N(a)\sim N^{1-a}/(1-a)\) for \(0<a<1\), \(H_N(1)\sim\log N\) with \(H_N(1)\ge\log(N+1)\), and \(0\le\zeta(a)-H_N(a)\le N^{1-a}/(a-1)\) for \(a>1\), where \(\zeta(a)=\sum_{i\ge1}i^{-a}\). Moreover \(\zeta(2)<2\).
Proof.
The function \(x\mapsto x^{-a}\) is decreasing, so \(i^{-a}\) lies between its integrals over \([i,i+1]\) and \([i-1,i]\); summing gives the two bounds, and evaluating the integrals gives the asymptotics. For \(a\le1\) every term is at least \(N^{-a}\). The tail bound is Lemma SI.6. Finally \(\zeta(2)<1+\int_1^\infty x^{-2}\dif x=2\).

Uses

Used by

Lean

Proved in Lean
Muon.Phase.lem_app_phase_harmonic_i source
theorem lem_app_phase_harmonic_i {a : ℝ} (ha : 0 < a) (N : ℕ) (hN : 1 ≤ N) :
    ∫ x in (1 : ℝ)..((N : ℝ) + 1), x ^ (-a) ≤ Hsum a N ∧
      Hsum a N ≤ 1 + ∫ x in (1 : ℝ)..(N : ℝ), x ^ (-a) :=
Muon.Phase.lem_app_phase_harmonic_ii source
theorem lem_app_phase_harmonic_ii {a : ℝ} (ha : 0 < a) (ha1 : a ≤ 1) (N : ℕ) (hN : 1 ≤ N) :
    (N : ℝ) ^ (1 - a) ≤ Hsum a N := by
Muon.Phase.lem_app_phase_harmonic_iii source
theorem lem_app_phase_harmonic_iii {a : ℝ} (ha : 0 < a) (ha1 : a < 1) :
    IsEquivalent atTop (fun N : ℕ => Hsum a N) (fun N : ℕ => (N : ℝ) ^ (1 - a) / (1 - a)) := by
Muon.Phase.lem_app_phase_harmonic_iv source
theorem lem_app_phase_harmonic_iv :
    IsEquivalent atTop (fun N : ℕ => Hsum 1 N) (fun N : ℕ => Real.log N) := by
Muon.Phase.lem_app_phase_harmonic_v source
theorem lem_app_phase_harmonic_v :
    ∀ N : ℕ, 1 ≤ N → Real.log ((N : ℝ) + 1) ≤ Hsum 1 N := by
Muon.Phase.lem_app_phase_harmonic_vi source
theorem lem_app_phase_harmonic_vi {a : ℝ} (ha : 1 < a) :
    ∀ N : ℕ, 1 ≤ N →
      0 ≤ zetaR a - Hsum a N ∧ zetaR a - Hsum a N ≤ (N : ℝ) ^ (1 - a) / (a - 1) := by
Muon.Phase.lem_app_phase_harmonic_vii source
theorem lem_app_phase_harmonic_vii : zetaR 2 < 2 := by