FormalConjectures/ErdosProblems/238.lean

GitHub source file

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)
  1. theorem Erdos238.erdos_238 Let c₁, c₂ > 0 sorry line 38 source

    Source documentation

    Let c₁, c₂ > 0. Is it true that for any sufficiently large x, there exists more than c₁ * log x many consecutive primes ≤ x such 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 more

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    32 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

  2. theorem Erdos238.erdos_238.variants.small_c1 It is well-known that the conjecture above is true when c₁ is sufficiently small sorry line 47 source

    Source 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, nhdsWithin and 1 more

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    38 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