FormalConjectures/ErdosProblems/459.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 459
References:
- erdosproblems.com/459
- [ErGr80] P. Erdős and R. L. Graham, Old and new problems and results in combinatorial number theory, Monographies de L'Enseignement Mathématique 28 (1980), p.91.
- OEIS A289280
Imports (1)
- def
Erdos459.fThe function from the problem, in its equivalent form:f uis the smallestv > uall of whose prime factors divideuline 39 sourceSource documentation
The function from the problem, in its equivalent form:
f uis the smallestv > uall of whose prime factors divideu. (Equivalently,f uis the largestvsuch that nom ∈ (u, v)is composed entirely of primes dividingu * v.)standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,And,LT.lt,LE.le,Finset,Nat.primeFactors5 instances, coercions and auxiliary constants left out.
noncomputable def f (u : ℕ) : ℕ := sInf {v | u < v ∧ v.primeFactors ⊆ u.primeFactors} … - theorem
Erdos459.erdos_459Let $f(u)$ be the largest $v$ such that no $m\in (u,v)$ is composed entirely of primes dividing $uv$ sorry line 50 sourceSource documentation
Let $f(u)$ be the largest $v$ such that no $m\in (u,v)$ is composed entirely of primes dividing $uv$. Estimate $f(u)$.
The estimate $u + 2 \le f(u) \le u^2$ holds for every $u \ge 2$. The upper bound is attained when $u$ is prime, and the lower bound when $u = 2^k - 2$ with $k \ge 2$; Cambie further showed that $f(n) = (1 + o(1))n$ for almost all $n$.
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,And,HAdd.hAdd, Erdos459.f,HPow.hPowProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_459 {u : ℕ} (hu : 2 ≤ u) : u + 2 ≤ f u ∧ f u ≤ u ^ 2 := by …Mentions: Erdos459.f
- theorem
Erdos459.erdos_459.variants.upper_tightThe upper bound $f u ≤ u ^ 2$ is attained exactly whenuis prime: $f p = p ^ 2$ sorry line 57 sourceSource documentation
The upper bound $f u ≤ u ^ 2$ is attained exactly when
uis prime: $f p = p ^ 2$.depends on sorry what this means
Statement uses:
Nat,Nat.Prime,Eq, Erdos459.f,HPow.hPow,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous10 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_459.variants.upper_tight {p : ℕ} (hp : p.Prime) : f p = p ^ 2 := by …Mentions: Erdos459.f