FormalConjectures/ErdosProblems/371.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
1 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 371
Reference: erdosproblems.com/371
Imports (1)
- theorem
Erdos371.erdos_371Let $P(n)$ denote the largest prime factor of $n$ sorry line 35 sourceSource documentation
Let $P(n)$ denote the largest prime factor of $n$. Show that the set of $n$ with $P(n+1) > P(n)$ has density $\frac{1}{2}$.
depends on sorry what this means
Statement uses: Set.HasDensity,
Nat,Set.ofPred,GT.gt, Nat.maxPrimeFac,HAdd.hAdd,OfNat.ofNat,HDiv.hDiv,Real,Set.univProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous34 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_371 : { n | Nat.maxPrimeFac (n + 1) > Nat.maxPrimeFac n }.HasDensity (1/2) := by …Mentions: Nat.maxPrimeFac