FormalConjectures/ErdosProblems/851.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, 2 contain sorry, 0 declared as axioms
Erdős Problem 851
References:
- erdosproblems.com/851
- [Pr26] D. Price and GPT-5.2 Pro, Erdős problem 851 (2026)
Imports (1)
- def
Erdos851.TwoPowAddSetTwoPowAddSet ris the set of integers of the form2^k+n, wherek ≥ 0andnhas at mostrprime divisors line 36 sourceSource documentation
TwoPowAddSet ris the set of integers of the form2^k+n, wherek ≥ 0andnhas at mostrprime divisors.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,SetProof uses:
Set.ofPred,Exists,LE.le,Finset.card,Nat.primeFactors,Eq,HAdd.hAdd,HPow.hPow,OfNat.ofNat8 instances, coercions and auxiliary constants left out.
def TwoPowAddSet (r : ℕ) := {(2 ^ k + n) | (k : ℕ) (n : ℕ) (_ : n.primeFactors.card ≤ r)} - def
Erdos851.twoPowAddPrimeSetThe set of integers of the form2^k+p, wherek ≥ 0andpis prime line 39 sourceSource documentation
The set of integers of the form
2^k+p, wherek ≥ 0andpis prime.standard axioms: propext what this means
Statement uses:
Set,NatProof uses:
Set.ofPred,Exists,Nat.Prime,Eq,HAdd.hAdd,HPow.hPow,OfNat.ofNat7 instances, coercions and auxiliary constants left out.
def twoPowAddPrimeSet : Set ℕ := {(2 ^ k + p) | (k : ℕ) (p : ℕ) (_ : p.Prime)} … - theorem
Erdos851.erdos_851.variants.romanoffThe set of integers of the form2^k+p(wherepis prime) has positive lower density sorry line 45 sourceSource documentation
The set of integers of the form
2^k+p(wherepis prime) has positive lower density.depends on sorry what this means
Statement uses:
LT.lt,Real,OfNat.ofNat, Set.lowerDensity,Nat, Erdos851.twoPowAddPrimeSet,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_851.variants.romanoff : 0 < Set.lowerDensity twoPowAddPrimeSet := by …
Mentions: Set.lowerDensity, Erdos851.twoPowAddPrimeSet
- theorem
Erdos851.erdos_851sorry line 56 sourcedepends on sorry what this means
Statement uses:
Real,Membership.mem,Set,Set.Ioo,OfNat.ofNat,Exists,Nat,LE.le,HSub.hSub, Set.lowerDensity, Erdos851.TwoPowAddSet,Set.univProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous27 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.