Harmonic nonmultiple remainder and explicit finite numerator exception product
DefinitionZetaNine_HarmonicPrimeValuationformalizationnumber-theoryzeta-function
For natural , let be the rational generalized harmonic sum. Define
The numerator is the reduced rational numerator and the product is one when . 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
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.