FormalConjectures/ErdosProblems/681.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
2 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 681
Reference: erdosproblems.com/681
Imports (1)
- def
Erdos681.IsLPFIsLPF p msays thatpis the least prime factor ofmline 31 sourceSource documentation
IsLPF p msays thatpis the least prime factor ofm.standard axioms: propext what this means
Statement uses:
NatProof uses:
And,Nat.Prime,Dvd.dvd,LE.le2 instances, coercions and auxiliary constants left out.
def IsLPF (p m : ℕ) : Prop := p.Prime ∧ p ∣ m ∧ ∀ q, q.Prime ∧ q ∣ m → p ≤ q …
- theorem
Erdos681.erdos_681Erdős problem 681 sorry line 40 sourceSource documentation
Erdős problem 681. Is it true that for all large $n$ there exists $k$ such that $n + k$ is composite and $p(n+k) > k^2$, where $p(m)$ is the least prime factor of $m$ ?
depends on sorry what this means
Statement uses:
Iff,True,Filter.Eventually,Nat,Exists,And,GT.gt,OfNat.ofNat, Nat.Composite,HAdd.hAdd, Erdos681.IsLPF,HPow.hPow,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous18 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_681 : answer(sorry) ↔ ∀ᶠ n in .atTop, ∃ k > 0, (n + k).Composite ∧ ∀ p, IsLPF p (n + k) → p > k ^ 2 := by …Mentions: Erdos681.IsLPF