Title:Erdős Problem 459 · variants.upper_tight
Statement:The upper bound is attained exactly when
uis prime: .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | formal_proof |
| Cite as: | NS.02203 [math.NT] · NS.02203v1 for this version |
| Declaration: | Erdos459.erdos_459.variants.upper_tight |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | 33d41b2ee5a748b97d399f17159f766806069bbf01a800f646fbd6d9c1d366fa |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/459.lean |
Formal statement
theorem erdos_459.variants.upper_tight {p : ℕ} (hp : p.Prime) : f p = p ^ 2Show the full Challenge.lean (63 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 459
*References:*
- [erdosproblems.com/459](https://www.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](https://oeis.org/A289280)
-/
@[expose] public section
namespace Erdos459
/--
The function from the problem, in its equivalent form: `f u` is the smallest `v > u` all of whose
prime factors divide `u`. (Equivalently, `f u` is the largest `v` such that no `m ∈ (u, v)` is
composed entirely of primes dividing `u * v`.)
-/
noncomputable def f (u : ℕ) : ℕ := sInf {v | u < v ∧ v.primeFactors ⊆ u.primeFactors}
set_option linter.style.formal_proof_palomar false in
/--
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$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/Woett/Lean-files/blob/main/ErdosProblem459.lean"]
theorem erdos_459 {u : ℕ} (hu : 2 ≤ u) : u + 2 ≤ f u ∧ f u ≤ u ^ 2 := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
The upper bound $f u ≤ u ^ 2$ is attained exactly when `u` is prime: $f p = p ^ 2$.
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/Woett/Lean-files/blob/main/ErdosProblem459.lean"]
theorem erdos_459.variants.upper_tight {p : ℕ} (hp : p.Prime) : f p = p ^ 2 := by
sorry
end Erdos459
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos459.erdos_459.variants.upper_tight with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_upper_tight : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-459--erdos-459-variants-upper-tight # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-459--erdos-459-variants-upper-tight nosorry submit erdos-459--erdos-459-variants-upper-tight nosorry/erdos-459--erdos-459-variants-upper-tight/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.