Title:Erdős Problem 457 · variants.one_sub
Statement:Taking to be the product of primes between and gives an example where Can one prove that for all large and some ?
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.02200 [math.NT] · NS.02200v1 for this version |
| Declaration: | Erdos457.erdos_457.variants.one_sub |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100; accepted critique: up to 100 |
| Statement hash: | 6ea6be1bd82e77b9626d6b9abe366d6ac4fe56808d926d56b92a5aa91e8e2939 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/457.lean |
Formal statement
theorem erdos_457.variants.one_sub : ∃ ε > (0 : ℝ),
∀ᶠ n in Filter.atTop, q n (Real.log n) < (1 - ε) * Real.log n ^ 2Show the full Challenge.lean (89 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 457
*Reference:* [erdosproblems.com/457](https://www.erdosproblems.com/457)
-/
@[expose] public section
namespace Erdos457
set_option linter.style.formal_proof_palomar false in
/--
Is there some $\epsilon > 0$ such that there are infinitely
many $n$ where all primes $p \le (2 + \epsilon) \log n$ divide
$$
\prod_{1 \le i \le \log n} (n + i)?
$$
This was formalized in Lean by Baretto and van Doorn using Aristotle.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/Woett/Lean-files/blob/main/ErdosProblem457.lean"]
theorem erdos_457 : ∃ ε > (0 : ℝ),
{ (n : ℕ) | ∀ (p : ℕ), p ≤ (2 + ε) * Real.log n → p.Prime →
p ∣ ∏ i ∈ Finset.Icc 1 ⌊Real.log n⌋₊, (n + i) }.Infinite := by
sorry
/-- Let $q(n, k)$ denote the least prime which does not divide
$\prod_{1 \le i \le k}(n + i)$. -/
noncomputable abbrev q (n : ℕ) (k : ℝ) : ℕ :=
Nat.find (Nat.exists_prime_not_dvd (n := ∏ i ∈ Finset.Icc 1 ⌊k⌋₊, (n + i))
(Finset.prod_ne_zero_iff.2 fun a ha => by aesop))
/--
More generally, let $q(n, k)$ denote the least prime which
does not divide $\prod_{1 \le i \le k}(n + i)$. This
problem asks whether $q(n, \log n) \ge (2 + \epsilon) \log n$
infinitely often.
This follows from `erdos_457`: if every prime $p \le (2 + \epsilon) \log n$
divides $\prod_{1 \le i \le \log n} (n + i)$, then $q(n, \log n)$, the least
prime not dividing this product, must exceed $(2 + \epsilon) \log n$.
-/
@[category research solved, question, AMS 11]
theorem erdos_457.variants.qnk : ∃ ε > (0 : ℝ),
{ (n : ℕ) | (2 + ε) * Real.log n ≤ q n (Real.log n) }.Infinite := by
obtain ⟨ε, hε, hinf⟩ := erdos_457
refine ⟨ε, hε, hinf.mono ?_⟩
intro n hn
by_contra h
obtain ⟨hp, hndvd⟩ : (q n (Real.log n)).Prime ∧
¬q n (Real.log n) ∣ ∏ i ∈ Finset.Icc 1 ⌊Real.log n⌋₊, (n + i) :=
Nat.find_spec (Nat.exists_prime_not_dvd (Finset.prod_ne_zero_iff.2 fun a ha => by aesop))
exact hndvd (hn _ (not_le.1 h).le hp)
/--
Taking $n$ to be the product of primes
between $\log n$ and $(2 + o(1)) \log n$ gives an example where
$$
q(n, \log n) \ge (2 + o(1)) \log n.
$$
Can one prove that $q(n, \log n) < (1 - \epsilon) (\log n)^2$
for all large $n$ and some $\epsilon > 0$?
-/
@[category research open, question, AMS 11]
theorem erdos_457.variants.one_sub : ∃ ε > (0 : ℝ),
∀ᶠ n in Filter.atTop, q n (Real.log n) < (1 - ε) * Real.log n ^ 2 := by
sorry
end Erdos457
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos457.erdos_457.variants.one_sub with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_one_sub : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-457--erdos-457-variants-one-sub # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-457--erdos-457-variants-one-sub nosorry submit erdos-457--erdos-457-variants-one-sub nosorry/erdos-457--erdos-457-variants-one-sub/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.