FormalConjectures/Wikipedia/TwinPrimes.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
1 declarations, 1 contain sorry, 0 declared as axioms
Imports (1)
- theorem
TwinPrimes.twin_primesThe twin prime question sorry line 37 sourceSource documentation
Are there infinitely many primes p such that p + 2 is prime?
L4DEL explanation
Are there infinitely many primes p for which p + 2 is also prime? The file marks this as open.
- The statement has the form "answer(sorry) iff the set of p with p and p + 2 prime is infinite", so the answer slot is left unfilled.
- The attribute reads category research open and the proof body is sorry.
Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Iff,True,Set.Infinite,Nat,Set.ofPred,And,Prime,HAdd.hAdd,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous8 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem twin_primes : answer(sorry) ↔ {p : ℕ | Prime p ∧ Prime (p + 2)}.Infinite := by …