FormalConjectures/ErdosProblems/238.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
2 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 238
Reference: erdosproblems.com/238
Imports (1)
- theorem
Erdos238.erdos_238Letc₁, c₂ > 0sorry line 38 sourceSource documentation
Let
c₁, c₂ > 0. Is it true that for any sufficiently largex, there exists more thanc₁ * log xmany consecutive primes≤ xsuch that the difference between any two is> c₂?depends on sorry what this means
Statement uses:
Iff,True,Real,GT.gt,OfNat.ofNat,Nat,Filter.Eventually,Exists,And,LT.lt,HMul.hMul,Real.log,Fin,LE.le,Eq,Nat.nth,Nat.Prime,HAdd.hAdd,HSub.hSub, primeGap and 1 moreProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous32 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_238 : answer(sorry) ↔ ∀ᵉ (c₁ > 0) (c₂ > 0), ∀ᶠ (x : ℝ) in atTop, ∃ (k : ℕ), c₁ * log x < k ∧ ∃ f : Fin k → ℕ, ∃ m, (∀ i, f i ≤ x ∧ f i = (m + i.1).nth Nat.Prime) ∧ ∀ i : Fin (k - 1), c₂ < primeGap (m + i.1) := by …Mentions: primeGap
- theorem
Erdos238.erdos_238.variants.small_c1It is well-known that the conjecture above is true whenc₁is sufficiently small sorry line 47 sourceSource documentation
It is well-known that the conjecture above is true when
c₁is sufficiently small.depends on sorry what this means
Statement uses:
Nat,GT.gt,OfNat.ofNat,Filter.Eventually,Real,Exists,And,LT.lt,HMul.hMul,Real.log,Fin,LE.le,Eq,Nat.nth,Nat.Prime,HAdd.hAdd,HSub.hSub, primeGap,Filter.atTop,nhdsWithinand 1 moreProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous38 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_238.variants.small_c1 : ∀ c₂ > 0, ∀ᶠ c₁ in 𝓝[>] 0, ∀ᶠ (x : ℝ) in atTop, ∃ (k : ℕ), c₁ * log x < k ∧ ∃ f : Fin k → ℕ, ∃ m, (∀ i, f i ≤ x ∧ f i = (m + i.1).nth Nat.Prime) ∧ ∀ i : Fin (k - 1), c₂ < primeGap (m + i.1) := by …Mentions: primeGap