FormalConjectures/ErdosProblems/454.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
3 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 454
References:
- erdosproblems.com/454
- [Po79] Pomerance, Carl, The prime number graph. Math. Comp. (1979), 399-408.
Imports (1)
- def
Erdos454.fDefinef nto be the minimum of(n + i).nth Prime + (n - i).nth Primeover0 < i < nline 35 sourceSource documentation
Define
f nto be the minimum of(n + i).nth Prime + (n - i).nth Primeover0 < i < n.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,LE.le,OfNat.ofNat,iInf,Subtype,Fin,LT.lt,HAdd.hAdd,Nat.nth,Prime,HSub.hSub12 instances, coercions and auxiliary constants left out.
noncomputable def f (n : ℕ) : ℕ := …
- theorem
Erdos454.erdos_454Is it true thatlimsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop = ⊤? sorry line 40 sourceSource 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.topProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous40 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
- theorem
Erdos454.erdos_454.variants.two_le_limsuplimsup (fun n => (f n - 2 * n.nth Prime : ℕ∞)) atTop ≥ 2, and this is proved in [Po79] sorry line 45 sourceSource 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.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous40 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