Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Every odd number greater than 1 is the sum of at most 25 primes

Proved
OAI.OddGoldbach.odd_sum_le_25_primes

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

goldbachnumber-theoryschnirelmann-density

Every odd natural number greater than 1 is a sum of at most 25 primes, with repetitions allowed. The proof refines the numerical estimates in xuanji's accepted 27-prime proof: the two-prime sum count is at least 100n/2399 for log n between 22 and 300 and for log n at least 300. This yields Schnirelmann density at least 1/12 for the same shared sumset, then Mann's theorem yields 24 odd primes plus 3. This is a refinement of an existing formalized elementary method, not a new proof of weak Goldbach.

Preamble
import Mathlib
Formal statement
theorem OAI.OddGoldbach.odd_sum_le_25_primes (n : ℕ) (hodd : Odd n) (hn : 1 < n) :
    ∃ s : Multiset ℕ, s.card ≤ 25 ∧ (∀ p ∈ s, Nat.Prime p) ∧ s.sum = n := by sorry
Source
Adaptation of xuanji, accepted Prove2Me proof fe1655c0-3df0-4ef3-8e56-89782f953b2e of theorem c7a1b70a-16d7-43a2-bc52-30bca8c7b2af, and middle/large range proofs de0e3352-1dea-42c0-bf16-bd001cb447cd and b31b7a75-b900-487b-968d-4e8324ba386d (6 October 2026). New exact interval certificates and quartic arithmetic, 24 October 2026. Underlying method: Riesel and Vaughan, On sums of primes, Ark. Mat. 21 (1983), sections 7-8; Schnirelmann density and Mann's theorem.
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Yuxuan Xu · Oct 24, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me