FormalConjectures/ErdosProblems/6.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

3 declarations, 3 contain sorry, 0 declared as axioms

Erdős Problem 6

References:

Imports (1)
  1. theorem Erdos6.erdos_6 There are infinitely many $n$ such that $d_n < d_{n+1} < d_{n+2}$, where $d$ denotes the prime gap function sorry line 38 source

    Source documentation

    There are infinitely many $n$ such that $d_n < d_{n+1} < d_{n+2}$, where $d$ denotes the prime gap function.

    depends on sorry what this means

    Statement uses: Set.Infinite, Nat, Set.ofPred, And, LT.lt, primeGap, HAdd.hAdd, OfNat.ofNat

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

    8 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem erdos_6 :
        {n | primeGap n < primeGap (n + 1) ∧ primeGap (n + 1) < primeGap (n + 2)}.Infinite := by
    …

    Mentions: primeGap

  2. theorem Erdos6.erdos_6.variants.increasing For all $m$, there are infinitely many $n$ such that $d_n < d_{n+1} < \dots < d_{n+m}$, where $d$ denotes the prime gap function sorry line 50 source

    Source documentation

    For all $m$, there are infinitely many $n$ such that $d_n < d_{n+1} < \dots < d_{n+m}$, where $d$ denotes the prime gap function.

    Proved by Banks, Freiberg, and Turnage-Butterbaugh [BFT15] with an application of the Maynard-Tao machinery concerning bounded gaps between primes [Ma15]

    depends on sorry what this means

    Statement uses: Nat, Set.Infinite, Set.ofPred, Membership.mem, Finset, Finset.range, LT.lt, primeGap, HAdd.hAdd, OfNat.ofNat

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

    12 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem erdos_6.variants.increasing (m : ℕ) :
        {n | ∀ i ∈ Finset.range m, primeGap (n + i) < primeGap (n + i + 1)}.Infinite := by
    …

    Mentions: primeGap

  3. theorem Erdos6.erdos_6.variants.decreasing For all $m$, there are infinitely many $n$ such that $d_n > d_{n+1} \dots > d_{n+m}$, where $d$ denotes the prime gap function sorry line 63 source

    Source documentation

    For all $m$, there are infinitely many $n$ such that $d_n > d_{n+1} \dots > d_{n+m}$, where $d$ denotes the prime gap function.

    Proved by Banks, Freiberg, and Turnage-Butterbaugh [BFT15] with an application of the Maynard-Tao machinery concerning bounded gaps between primes [Ma15]

    depends on sorry what this means

    Statement uses: Nat, Set.Infinite, Set.ofPred, Membership.mem, Finset, Finset.range, GT.gt, primeGap, HAdd.hAdd, OfNat.ofNat

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

    12 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem erdos_6.variants.decreasing (m : ℕ) :
        {n | ∀ i ∈ Finset.range m, primeGap (n + i) > primeGap (n + i + 1)}.Infinite := by
    …

    Mentions: primeGap