FormalConjectures/ErdosProblems/454.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, 2 contain sorry, 0 declared as axioms

Erdős Problem 454

References:

Imports (1)
  1. def Erdos454.f Define f n to be the minimum of (n + i).nth Prime + (n - i).nth Prime over 0 < i < n line 35 source

    Source documentation

    Define f n to be the minimum of (n + i).nth Prime + (n - i).nth Prime over 0 < i < n.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: ite, LE.le, OfNat.ofNat, iInf, Subtype, Fin, LT.lt, HAdd.hAdd, Nat.nth, Prime, HSub.hSub

    12 instances, coercions and auxiliary constants left out.

    noncomputable def f (n : ℕ) : ℕ :=
    …
  2. theorem Erdos454.erdos_454 Is it true that limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop = ⊤? sorry line 40 source

    Source documentation

    Is it true that limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop = ⊤?

    depends on sorry what this means

    Statement uses: Iff, True, Eq, ENat, Filter.limsup, Nat, HSub.hSub, Erdos454.f, HMul.hMul, OfNat.ofNat, Nat.nth, Prime, Filter.atTop, Top.top

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

    40 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_454 : answer(sorry) ↔ limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop = ⊤ := by
    …

    Mentions: Erdos454.f

  3. theorem Erdos454.erdos_454.variants.two_le_limsup limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop ≥ 2, and this is proved in [Po79] sorry line 45 source

    Source documentation

    limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop ≥ 2, and this is proved in [Po79].

    depends on sorry what this means

    Statement uses: LE.le, ENat, OfNat.ofNat, Nat, Filter.limsup, HSub.hSub, Erdos454.f, HMul.hMul, Nat.nth, Prime, Filter.atTop

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

    40 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_454.variants.two_le_limsup : 2 ≤ limsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop := by
    …

    Mentions: Erdos454.f