Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact finite weighted prime-discount identity

Proved
ZetaNine.finite_prime_discount

by Yuxuan Xu · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

For any finite index set, natural-number values v and a, and arbitrary real weights w, the weighted sum of the truncated exponents (v−2a) plus the weighted sum of min((11a−v),9a) equals nine times the weighted sum of a plus the weighted sum of (v−11a). All natural-number subtractions are truncated at zero. This is the exact finite algebraic identity behind the local ζ(9) prime-discount formula; the theorem does not define its concrete Smith modulus, prime valuations, or asymptotic limit.

Preamble
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Data.Real.Basic

open scoped BigOperators
Formal statement
namespace ZetaNine

theorem finite_prime_discount
    {ι : Type*} [DecidableEq ι]
    (s : Finset ι) (v a : ι → ℕ) (w : ι → ℝ) :
    (∑ i ∈ s, ((v i - 2 * a i : ℕ) : ℝ) * w i) +
      (∑ i ∈ s, ((min (11 * a i - v i) (9 * a i) : ℕ) : ℝ) * w i) =
      9 * ∑ i ∈ s, (a i : ℝ) * w i +
        ∑ i ∈ s, ((v i - 11 * a i : ℕ) : ℝ) * w i := by sorry

end ZetaNine
Source
Local zeta9 research note, roadmap/research/prime-discount-identity.md, equations (2)-(3), 2026-09-24
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