FormalConjectures/ErdosProblems/16.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
6 declarations, 3 contain sorry, 0 declared as axioms
Erdős Problem 16
References:
- erdosproblems.com/16
- [Ch23] Chen, Yong-Gao, A conjecture of Erdős on $p+2^k$. arXiv:2312.04120 (2023).
- [Er50] Erdős, P., On integers of the form $2^k+p$ and some related problems. Summa Brasil. Math. (1950), 113-123.
- [Ro34] Romanoff, N. P., Über einige Sätze der additiven Zahlentheorie. Math. Ann. (1934), 668-678.
Imports (1)
- def
Erdos16.Erdos16SetThe set of odd integers not of the form $2^k+p$ line 41 sourceSource documentation
The set of odd integers not of the form $2^k+p$.
standard axioms: propext what this means
Statement uses:
Set,NatProof uses:
Set.ofPred,And,Odd,Not,Exists,Nat.Prime,Eq,HAdd.hAdd,HPow.hPow,OfNat.ofNat8 instances, coercions and auxiliary constants left out.
def Erdos16Set : Set ℕ := …
- def
Erdos16.density_zeroA set of natural numbers has density 0 line 47 sourceSource documentation
A set of natural numbers has density 0.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Filter.Tendsto,Real,HDiv.hDiv,Nat.count,Membership.mem,Classical.propDecidable,Filter.atTop,nhds,OfNat.ofNat12 instances, coercions and auxiliary constants left out.
def density_zero (S : Set ℕ) : Prop := …
- theorem
Erdos16.erdos_16Is the set of odd integers not of the form $2^k+p$ the union of an infinite arithmetic progression and a set of density $0$? sorry line 62 sourceSource documentation
Is the set of odd integers not of the form $2^k+p$ the union of an infinite arithmetic progression and a set of density $0$?
Erdős called this conjecture "rather silly".
Chen [Ch23] has proved the answer is no.
This was formalized in Lean by Chin using Aristotle.
depends on sorry what this means
Statement uses:
Iff,False,Exists,Set,Nat,And,Eq, Erdos16.Erdos16Set,Union.union,GT.gt,OfNat.ofNat,Set.ofPred,HAdd.hAdd,HMul.hMul, Erdos16.density_zeroProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_16 : answer(False) ↔ ∃ A B : Set ℕ, Erdos16Set = A ∪ B ∧ (∃ a d : ℕ, d > 0 ∧ A = { x | ∃ m : ℕ, x = a + m * d }) ∧ density_zero B := by …Mentions: Erdos16.Erdos16Set, Erdos16.density_zero
- def
Erdos16.positive_lower_densityA set of natural numbers has positive lower density line 72 sourceSource documentation
A set of natural numbers has positive lower density.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
LT.lt,EReal,OfNat.ofNat,Filter.liminf,HDiv.hDiv,Real,Nat.count,Membership.mem,Classical.propDecidable,Filter.atTop17 instances, coercions and auxiliary constants left out.
def positive_lower_density (S : Set ℕ) : Prop := …
- theorem
Erdos16.erdos_16.variant.romanoffRomanoff [Ro34] showed that the set of odd integers of this form has positive density sorry line 80 sourceSource documentation
Romanoff [Ro34] showed that the set of odd integers of this form has positive density.
depends on sorry what this means
Statement uses:
Set,Nat,Set.ofPred,And,Odd,Exists,Nat.Prime,Eq,HAdd.hAdd,HPow.hPow,OfNat.ofNat, Erdos16.positive_lower_densityProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_16.variant.romanoff : let S := { n : ℕ | Odd n ∧ ∃ k p : ℕ, p.Prime ∧ n = 2 ^ k + p } … - theorem
Erdos16.erdos_16.variant.erdosUsing covering congruences Erdős [Er50] proved that the set of odd integers which are not of this form contains an infinite arithmetic progression sorry line 90 sourceSource documentation
Using covering congruences Erdős [Er50] proved that the set of odd integers which are not of this form contains an infinite arithmetic progression.
depends on sorry what this means
Statement uses:
Exists,Nat,And,GT.gt,OfNat.ofNat,LE.le,Set,Set.ofPred,Eq,HAdd.hAdd,HMul.hMul, Erdos16.Erdos16SetProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_16.variant.erdos : ∃ a d : ℕ, d > 0 ∧ { x | ∃ m : ℕ, x = a + m * d } ⊆ Erdos16Set := by …Mentions: Erdos16.Erdos16Set