Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A finite nonnegative-weight cover by 180 height bins

Proved
TaoFivePrimes.nonnegative_weight_bin_cover_65000

by Johan Mercedes · Oct 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

finite-sumsnumerical-verificationtao-five-primes

Let SSS be a finite set, let γ:S→R\gamma:S\to\mathbb Rγ:S→R satisfy 65000<γ(x)≤29720065000<\gamma(x)\le29720065000<γ(x)≤297200, and let w(x)≥0w(x)\ge0w(x)≥0 on SSS. Put Li=65000+1290iL_i=65000+1290iLi​=65000+1290i and Ui=Li+1290U_i=L_i+1290Ui​=Li​+1290 for 0≤i<1800\le i<1800≤i<180. Then

∑x∈Sw(x)≤∑i=0179 ∑x∈SLi<γ(x)≤Uiw(x).\sum_{x\in S}w(x)\le\sum_{i=0}^{179}\ \sum_{\substack{x\in S\\L_i<\gamma(x)\le U_i}}w(x).x∈S∑​w(x)≤i=0∑179​ x∈SLi​<γ(x)≤Ui​​∑​w(x).

The strict lower and closed upper endpoints cover the full interval without omitting boundary values.

Preamble
import Mathlib.Data.Real.Basic
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Tactic
Formal statement
theorem TaoFivePrimes.nonnegative_weight_bin_cover_65000 {α : Type*} [DecidableEq α] (S : Finset α) (γ w : α → ℝ)
    (hw : ∀ x ∈ S, 0 ≤ w x)
    (hlo : ∀ x ∈ S, 65000 < γ x)
    (hhi : ∀ x ∈ S, γ x ≤ 297200) :
    (∑ x ∈ S, w x) ≤
      ∑ i ∈ Finset.range 180,
        ∑ x ∈ S.filter (fun x => 65000+1290*(i:ℝ) < γ x ∧
          γ x ≤ 65000+1290*((i:ℝ)+1)), w x := by sorry
Source
Elementary finite-sum cover used for the Tao five-primes Chebyshev-error reduction.

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