Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Row 23 RH support: RHLegendreActualLowMoment

Definition
row23_rh_supp_RHLegendreActualLowMoment

by abcdefg · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

finite-verificationnumber-theoryriemann-zeta

A Lean-checked supporting component of the finite-height Riemann hypothesis and Chebyshev psi reduction for the b=23 Dusart Table 1 bound. Its declarations and hypotheses are stated exactly in the attached Lean source; this module alone does not assert the complete row estimate.

Definition code
import Definitions.Def_row23_rh_supp_RHLegendreActualHighMoments
set_option autoImplicit false
set_option maxHeartbeats 5000000
namespace DusartLegendreSmoothing
open DusartSmoothing
noncomputable def positiveLowMomentBound (a b S : ℝ) : ℝ :=
  S+2*(9*Real.log (a+5)+79)/a+zeroCountSlope a*
    ((Real.log (b/(2*Real.pi)))^2-(Real.log (a/(2*Real.pi)))^2)/2
 theorem finite_positive_reciprocal_bound (a b S : ℝ) (ha : 1000 ≤ a) (hab : a ≤ b)
    (hS : ∀ W : Finset ℂ,
      (∀ ρ ∈ W, RvM.IsNontrivialZero ρ ∧ 0 < ρ.im ∧ ρ.im ≤ a) →
      (∑ ρ ∈ W, (RvM.zeroMult ρ:ℝ)*(1/ρ.im)) ≤ S)
    (Z : Finset ℂ) (hZ : ∀ ρ ∈ Z, RvM.IsNontrivialZero ρ ∧ 0 < ρ.im ∧ ρ.im ≤ b) :
    (∑ ρ ∈ Z, (RvM.zeroMult ρ:ℝ)*(1/ρ.im)) ≤ positiveLowMomentBound a b S := by
  classical
  let L := Z.filter (fun ρ => ρ.im ≤ a)
  let U := Z.filter (fun ρ => ¬ρ.im ≤ a)
  have hL : (∑ ρ ∈ L, (RvM.zeroMult ρ:ℝ)*(1/ρ.im)) ≤ S := by
    apply hS
    intro ρ hρ
    obtain ⟨hz,ht⟩ := Finset.mem_filter.mp hρ
    exact ⟨(hZ ρ hz).1,(hZ ρ hz).2.1,ht⟩
  have hU := finite_positive_zero_power_density_bound 0 U
    (fun ρ hρ => ⟨(hZ ρ (Finset.mem_filter.mp hρ).1).1,(hZ ρ (Finset.mem_filter.mp hρ).1).2.1⟩)
    a b ha hab (fun ρ hρ => ⟨lt_of_not_ge (Finset.mem_filter.mp hρ).2,
      (hZ ρ (Finset.mem_filter.mp hρ).1).2.2⟩)
  norm_num only [Nat.zero_add,pow_one] at hU
  rw [integral_log_div_self a b (by linarith) hab] at hU
  have he : (∑ ρ ∈ Z, (RvM.zeroMult ρ:ℝ)*(1/ρ.im)) =
      (∑ ρ ∈ L, (RvM.zeroMult ρ:ℝ)*(1/ρ.im))+
      (∑ ρ ∈ U, (RvM.zeroMult ρ:ℝ)*(1/ρ.im)) :=
    (Finset.sum_filter_add_sum_filter_not Z (fun ρ => ρ.im ≤ a)
      (fun ρ => (RvM.zeroMult ρ:ℝ)*(1/ρ.im))).symm
  rw [he]
  exact (add_le_add hL hU).trans_eq (by unfold positiveLowMomentBound; ring)
 theorem actual_low_moment (a b S : ℝ) (ha : 1000 ≤ a) (hab : a ≤ b)
    (hS : ∀ W : Finset ℂ,
      (∀ ρ ∈ W, RvM.IsNontrivialZero ρ ∧ 0 < ρ.im ∧ ρ.im ≤ a) →
      (∑ ρ ∈ W, (RvM.zeroMult ρ:ℝ)*(1/ρ.im)) ≤ S) :
    Summable (heightMoment (fun ρ : NontrivialZetaZero => ρ.val)
      (fun ρ => RvM.zeroMult ρ.val) 1 (fun t => t ≤ b)) ∧
    (∑' ρ : NontrivialZetaZero, heightMoment (fun τ : NontrivialZetaZero => τ.val)
      (fun τ => RvM.zeroMult τ.val) 1 (fun t => t ≤ b) ρ) ≤
      2*positiveLowMomentBound a b S := by
  apply actual_height_moment_of_finite_bound
  intro Z hZ
  exact finite_absolute_moment_of_positive_bound 1 (fun t => t ≤ b)
    (positiveLowMomentBound a b S)
    (fun W hW => by
      simpa only [pow_one] using finite_positive_reciprocal_bound a b S ha hab hS W hW)
    Z (fun ρ hρ => (hZ ρ hρ).1) (fun ρ hρ => (hZ ρ hρ).2)
end DusartLegendreSmoothing
#print axioms DusartLegendreSmoothing.actual_low_moment
Source
Supporting arithmetic and analytic certificate for P. Dusart, Ramanujan J. 45 (2018), Table 1 and explicit psi bounds, pp. 233–235, DOI 10.1007/s11139-016-9839-4.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me