FormalConjectures/Wikipedia/GoldbachConjecture.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
2 declarations, 2 contain sorry, 0 declared as axioms
Imports (1)
- theorem
GoldbachConjecture.goldbachGoldbach's conjecture sorry line 36 sourceSource documentation
Can every even integer greater than 2 be written as the sum of two primes?
L4DEL explanation
Can every even number greater than 2 be written as a sum of two primes? The file marks this as open.
- The statement is "answer(sorry) iff for every even n greater than 2 there are primes p and q with n = p + q".
- The attribute reads category research open and the proof body is sorry.
See also: TernaryGoldbachConjecture.ternaryGoldbach
Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Iff,True,Nat,LT.lt,OfNat.ofNat,Even,Exists,And,Prime,Eq,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous10 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem goldbach : answer(sorry) ↔ ∀ n : ℕ, 2 < n → Even n → ∃ p q, Prime p ∧ Prime q ∧ n = p + q := by … - theorem
TernaryGoldbachConjecture.ternaryGoldbachTernary Goldbach sorry line 52 sourceSource documentation
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.
L4DEL explanation
Every odd number greater than 5 is a sum of three primes (primes may repeat); the file marks this as solved.
- The attribute reads category research solved, and the docstring credits Harald Helfgott while noting the solution is not yet peer-reviewed in a journal.
- The statement is a plain theorem with no answer slot; the proof body here is sorry.
See also: GoldbachConjecture.goldbach
Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Odd,Exists,And,Nat.Prime,Eq,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous10 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
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 …