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

1 declarations, 1 contain sorry, 0 declared as axioms

Erdős Problem 463

Reference: erdosproblems.com/463

Imports (1)
  1. theorem Erdos463.erdos_463 Is there a function sorry line 41 source

    Source documentation

    Is there a function $f$ with $f(n)\to\infty$ as $n\to\infty$ such that, for all large $n$, there is a composite number $m$ such that $$ n + f(n) < m < n + p(m) $$ Here $p(m)$ is the least prime factor of $m$.

    depends on sorry what this means

    Statement uses: Iff, True, Exists, Nat, Filter.Tendsto, Filter.atTop, Filter.Eventually, And, Nat.Composite, LT.lt, HAdd.hAdd, Nat.minFac

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

    9 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_463 : answer(sorry) ↔ ∃ (f : ℕ → ℕ) (_ : Tendsto f atTop atTop),
        ∀ᶠ n in atTop,
          ∃ m, m.Composite ∧
            n + f n < m ∧ m < n + m.minFac := by
    …