Title:Erdős Problem 1138
Statement:Erdős Problem 1138. Let and . If , where denotes the -th prime, then is it true that ?
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.00768 [math.NT] · NS.00768v1 for this version |
| Declaration: | Erdos1138.erdos_1138 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 23a3b2a57f458d07879fe1ea8883c08fbbc607315d4224de622c11bd876af5f5 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/1138.lean |
Formal statement
theorem erdos_1138 : ¬ ∀C > 1,
primeCount_Ioc_mul_const C ~[snd_gt_half_fst] fun (x, y) ↦
C * (sup_primeGap x) / Real.log yShow the full Challenge.lean (65 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 1138
*References:*
- [erdosproblems.com/1138](https://www.erdosproblems.com/1138)
- [Va99] Vardi, I., Prime census. (1999).
- [Kum26] Kumrawat, S., [Disproof of Erdős Problem 1138](https://sourish-kumrawat.github.io/papers/Erdos_1138.pdf).
Note that the conjecture has a claimed disproof found at:
https://sourish-kumrawat.github.io/papers/Erdos_1138.pdf,
see the discussion section on the Erdos problems website for more information.
-/
@[expose] public section
open Nat Filter Asymptotics Real Set
namespace Erdos1138
/--
The filter on $\mathbb{R} \times \mathbb{R}$ corresponding to sending $x \to \infty$ subject to $x/2 < y < x$
-/
abbrev snd_gt_half_fst : Filter (ℝ × ℝ) := atTop.comap Prod.fst ⊓ 𝓟 {p | p.2 ∈ Ioo (p.1 / 2) p.1}
/-- Given a pair $(x,y)$, this is the amount of primes in the interval above $y$, of length
equalling the largest prime gap before $x$, scaled by a constant $C$.
-/
noncomputable def primeCount_Ioc_mul_const (C : ℝ) : (ℝ × ℝ) → ℝ :=
fun (x, y) ↦ (primeCounting ⌊y + C * sup_primeGap x⌋₊ - primeCounting ⌊y⌋₊)
set_option linter.style.formal_proof_palomar false in
/--
**Erdős Problem 1138.**
Let $x/2 < y < x$ and $C > 1$. If $d = \max_{p_n < x}(p_{n+1} - p_n)$,
where $p_n$ denotes the $n$-th prime, then is it true that
$$\pi(y + Cd) - \pi(y) \sim \frac{Cd}{\log y}$$?
-/
@[category research solved, question, AMS 11,
formal_proof using formal_conjectures at "https://github.com/YanYablonovskiy/formal-conjectures/blob/7c134317104d3b98ecc751afbb79ec0adddf8e7c/FormalConjectures/ErdosProblems/1138a.lean#L496"]
theorem erdos_1138 : ¬ ∀C > 1,
primeCount_Ioc_mul_const C ~[snd_gt_half_fst] fun (x, y) ↦
C * (sup_primeGap x) / Real.log y := by
sorry
end Erdos1138
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos1138.erdos_1138 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_1138 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-1138 nosorry submit erdos-1138 nosorry/erdos-1138/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.