Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Harmonic nonmultiple remainder and explicit finite numerator exception product

Definition
ZetaNine_HarmonicPrimeValuation

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

formalizationnumber-theoryzeta-function

For natural s,N,ps,N,ps,N,p, let HN(s)=∑j=1Nj−sH_N^{(s)}=\sum_{j=1}^{N}j^{-s}HN(s)​=∑j=1N​j−s be the rational generalized harmonic sum. Define

Us,N,p=∑1≤j≤Np∤jj−s,Es,K=∏k=1K∣num⁡(Hk(s))∣.U_{s,N,p}=\sum_{\substack{1\le j\le N\\p\nmid j}}j^{-s},\qquad E_{s,K}=\prod_{k=1}^{K}\left|\operatorname{num}(H_k^{(s)})\right|.Us,N,p​=1≤j≤Np∤j​∑​j−s,Es,K​=k=1∏K​​num(Hk(s)​)​.

The numerator is the reduced rational numerator and the product is one when K=0K=0K=0. Both objects are defined for all natural parameters. The module adds only these two finite expressions to the existing harmonic definition module; it contains no primality, unit, valuation, limit or PNT assertion.

Definition code
import Definitions.Def_ZetaNine_HarmonicStability

set_option autoImplicit false
open scoped BigOperators

namespace ZetaNine.HarmonicStability

/-- The sum of the actual harmonic terms whose index is not divisible by p. -/
def primeRemainder (s N p : ℕ) : ℚ :=
  ∑ j ∈ (Finset.Icc 1 N).filter (fun j => ¬ p ∣ j), 1 / (j : ℚ) ^ s

/-- Product of the absolute reduced numerators of the actual first K harmonic prefixes. -/
def harmonicExceptionalProduct (s K : ℕ) : ℕ :=
  ∏ k ∈ Finset.Icc 1 K, (harmonicPower s k).num.natAbs

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, sections 1–2, equations (1)–(2) and the finite-prime lower-bound argument preceding equation (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