Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Generalized harmonic sums and actual log denominators

Definition
ZetaNine_HarmonicStability

by Yuxuan Xu · Oct 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

formalizationnumber-theoryzeta-function

For a rational number qqq, define ℓ(q)=log⁡den⁡(q)\ell(q)=\log\operatorname{den}(q)ℓ(q)=logden(q) using its reduced positive denominator, with den⁡(0)=1\operatorname{den}(0)=1den(0)=1. For natural s,Ns,Ns,N, define the actual rational generalized harmonic sum HN(s)=∑j=1Nj−sH_N^{(s)}=\sum_{j=1}^Nj^{-s}HN(s)​=∑j=1N​j−s. These are definitions only; the prime-number-theorem growth rate is not assumed.

Definition code
import Mathlib.Analysis.SpecialFunctions.Log.Basic
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Order.Interval.Finset.Nat

/-! Lightweight definition source for the formal integration of
`HarmonicStability.lean`. It contains only the two actual mathematical
objects and no theorem assumptions, prime-number-theorem axiom, or proof.
The root agent will install these definitions in the shared Definitions
module and replace the standalone proof file's matching definition block
by that import. -/

set_option autoImplicit false

open scoped BigOperators

namespace ZetaNine.HarmonicStability

/-- Natural logarithm of the reduced positive rational denominator. -/
noncomputable def logDen (q : ℚ) : ℝ := Real.log (q.den : ℝ)

/-- The generalized harmonic rational number, including `N=0` and `s=0`. -/
def harmonicPower (s N : ℕ) : ℚ :=
  ∑ j ∈ Finset.Icc 1 N, 1 / (j : ℚ) ^ s

end ZetaNine.HarmonicStability
Source
https://github.com/Anchen0823/zeta9-research-notes/releases/tag/research-2026-10-02; research/harmonic-denominator-stability-2026-10-01.md, section 2 clearing bound and section 3 Lemma 2 / Corollary 3.
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Yuxuan Xu · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

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