FormalConjectures/Wikipedia/Fermat.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
4 declarations, 4 contain sorry, 0 declared as axioms
Open questions about Fermat numbers
Reference: Wikipedia
Imports (1)
- theorem
Fermat.fermat_number_are_compositeAre Fermat numbers composite for alln > 4? sorry line 34 sourceSource documentation
Are Fermat numbers composite for all
n > 4?depends on sorry what this means
Statement uses:
Iff,True,Nat,GT.gt,OfNat.ofNat,Not,Prime,Nat.fermatNumberProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem fermat_number_are_composite : answer(sorry) ↔ ∀ n > 4, ¬Prime n.fermatNumber := by …
- theorem
Fermat.infinite_fermat_primesAre there infinitely many Fermat primes? sorry line 41 sourceSource documentation
Are there infinitely many Fermat primes?
depends on sorry what this means
Statement uses:
Iff,True,Infinite,Nat,Set.ofPred,Prime,Nat.fermatNumberProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem infinite_fermat_primes : answer(sorry) ↔ Infinite {n : ℕ | Prime n.fermatNumber} := by … - theorem
Fermat.infinite_fermat_compositeAre there infinitely many composite Fermat numbers? sorry line 48 sourceSource documentation
Are there infinitely many composite Fermat numbers?
depends on sorry what this means
Statement uses:
Iff,True,Infinite,Nat,Set.ofPred,Not,Prime,Nat.fermatNumberProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem infinite_fermat_composite : answer(sorry) ↔ Infinite {n : ℕ | ¬Prime n.fermatNumber} := by … - theorem
Fermat.exists_fermat_not_squarefreeDoes a Fermat number exist that is not square-free? sorry line 55 sourceSource documentation
Does a Fermat number exist that is not square-free?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,Not,Squarefree,Nat.fermatNumberProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem exists_fermat_not_squarefree : answer(sorry) ↔ ∃ n : ℕ, ¬Squarefree n.fermatNumber := by …