FormalConjectures/ErdosProblems/9.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, 2 contain sorry, 0 declared as axioms
Erdős Problem 9
Reference: erdosproblems.com/9
Imports (1)
- def
Erdos9.Erdos9AThe set of odd numbers that cannot be expressed as a prime plus two powers of 2 line 33 sourceSource documentation
The set of odd numbers that cannot be expressed as a prime plus two powers of 2.
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 Erdos9A : Set ℕ := { n | Odd n ∧ ¬ ∃ (p k l : ℕ), (Nat.Prime p) ∧ n = p + 2 ^ k + 2 ^ l } … - theorem
Erdos9.erdos9A_contains_oneline 37 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Membership.mem,Nat,Set, Erdos9.Erdos9A,OfNat.ofNatProof uses:
And.intro,Odd,Not,Exists,And,Nat.Prime,Eq,HAdd.hAdd,HPow.hPow,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.mpr,Ne,Eq.trans,binderNameHint,forall_congrand 76 more80 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos9.erdos9A_contains_threeline 45 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Membership.mem,Nat,Set, Erdos9.Erdos9A,OfNat.ofNatProof uses:
And.intro,Odd,Not,Exists,And,Nat.Prime,Eq,HAdd.hAdd,HPow.hPow,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.mpr,Ne,Eq.trans,binderNameHint,forall_congrand 71 more78 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos9.erdos9A_not_contains_fiveline 53 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Not,Membership.mem,Nat,Set, Erdos9.Erdos9A,OfNat.ofNatProof uses:
id,Eq.mpr,Set.ofPred,And,Odd,Exists,Nat.Prime,Eq,HAdd.hAdd,HPow.hPow,Eq.trans,congrArg,congrFun',funext,forall_congr,implies_congr,Eq.refl,propext,exists_prop_congr,Iff.of_eqand 7 more21 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos9.erdos_9.variants.infiniteThe set is known to be infinite sorry line 68 sourceSource documentation
The set is known to be infinite. In [Er77c] Erdős credits Schinzel with proving that there are infinitely many odd integers not of this form, but gives no reference.
[Er77c] Erdős, P., Problems and results on combinatorial number theory. III..
depends on sorry what this means
Statement uses:
Set.Infinite,Nat, Erdos9.Erdos9AProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_9.variants.infinite : Erdos9A.Infinite := by …
- theorem
Erdos9.erdos_9Is the upper density of the set of odd numbers that cannot be expressed as a prime plus two powers of 2 positive? sorry line 76 sourceSource documentation
Is the upper density of the set of odd numbers that cannot be expressed as a prime plus two powers of 2 positive?
depends on sorry what this means
Statement uses:
Iff,True,LT.lt,Real,OfNat.ofNat, Set.upperDensity,Nat, Erdos9.Erdos9A,Set.univProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous15 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_9 : answer(sorry) ↔ 0 < Erdos9A.upperDensity := by …