Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Goldbach's conjecture · ternaryGoldbach

Source:Wikipedia lists of open problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Can every odd integer greater than 5 be written as the sum of three primes? (A prime may be used more than once.)

NB. While Harald Helfgott's solution is not published in a peer-reviewed journal yet, his results seem generally accepted.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.07957 [math.NT] · NS.07957v1 for this version
Declaration:TernaryGoldbachConjecture.ternaryGoldbach
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:f2819b1f12acbd165840b1069d094ed89b2a106578be7cc2a4839162dcceb562
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/GoldbachConjecture.lean

Formal statement

theorem ternaryGoldbach (n : ℕ) (hn : 5 < n) (hn_odd : Odd n) :
    ∃ p q r, Nat.Prime p ∧ Nat.Prime q ∧ Nat.Prime r ∧ n = p + q + r
Show the full Challenge.lean (57 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Goldbach's conjecture

*References:*
- [Landau Problems Wikipedia Page](https://en.wikipedia.org/wiki/Landau%27s_problems#Twin_prime_conjecture)
- [Goldbach's Conjecture Wikipedia Page](https://en.wikipedia.org/wiki/Goldbach%27s_conjecture)
-/

@[expose] public section

namespace GoldbachConjecture

/--
Can every even integer greater than 2 be written as the sum of two primes?
-/
@[category research open, question, AMS 11]
theorem goldbach :
    ∀ n : ℕ, 2 < n → Even n → ∃ p q, Prime p ∧ Prime q ∧ n = p + q := by
  sorry

end GoldbachConjecture

namespace TernaryGoldbachConjecture

/--
Can every odd integer greater than 5 be written as the sum of three primes?
(A prime may be used more than once.)

NB. While Harald Helfgott's solution is not published in a peer-reviewed journal yet,
his results seem generally accepted.
-/
@[category research solved, AMS 11]
theorem ternaryGoldbach (n : ℕ) (hn : 5 < n) (hn_odd : Odd n) :
    ∃ p q r, Nat.Prime p ∧ Nat.Prime q ∧ Nat.Prime r ∧ n = p + q + r := by
  sorry

end TernaryGoldbachConjecture

To prove it: keep every definition of Challenge.lean unchanged and prove TernaryGoldbachConjecture.ternaryGoldbach with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_ternaryGoldbach : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk wikipedia-goldbachconjecture--ternarygoldbach      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch wikipedia-goldbachconjecture--ternarygoldbach
nosorry submit wikipedia-goldbachconjecture--ternarygoldbach nosorry/wikipedia-goldbachconjecture--ternarygoldbach/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.