Title:Erdős Problem 968
1 result recorded on aiXiv
- solves The set of indices with has positive lower asymptotic density. — aiXiv:2610.00777, 2026-10-06 · Lean · Lean formalization published by the authors; its scope: https://github.com/openai/math/blob/f5702854040e97fa7675c21ba37a9608f5f92dd3/lean/docs/026.md
From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.
Statement:Does the set
{n | u n < u (n+1)}have positive lower density?Yes. This was proved by an internal OpenAI model in September 2026 [OAI26a]; see the linked Lean proof.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question, formal_proof |
| Cite as: | NS.03801 [math.NT] · NS.03801v1 for this version |
| Declaration: | Erdos968.erdos_968 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | b243a34a929242adfaab59559a84d7b8c55a9f6f93236e519efc758ca71f7912 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/968.lean |
Formal statement
theorem erdos_968 : 0 < {n : ℕ | u n < u (n + 1)}.lowerDensityShow the full Challenge.lean (120 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 968
Let `uₙ = pₙ / n`, where `pₙ` is the `n`th prime. Does the set of `n` such that `uₙ < uₙ₊₁`
have positive lower density?
Erdős and Prachar also proved that `∑_{pₙ < x} |uₙ₊₁ - uₙ| ≍ (log x)^2`, and that the set of `n`
such that `uₙ > uₙ₊₁` has positive lower density. Erdős also asked whether there are infinitely many
increasing triples `uₙ < uₙ₊₁ < uₙ₊₂` or decreasing triples `uₙ > uₙ₊₁ > uₙ₊₂`.
*Reference:* [erdosproblems.com/968](https://www.erdosproblems.com/968)
[ErPr61] Erdős, P. and Prachar, K., _Sätze und Probleme über pₖ/k_. Abh. Math. Sem. Univ. Hamburg
(1961/62), 251–256.
[FMT18] Ford, K. and Maynard, J. and Tao, T., _Chains of large gaps between primes_. Irregularities
in the distribution of prime numbers, Springer (2018), 1–21.
[Ma15] Maynard, J., _Small gaps between primes_. Ann. of Math. (2015), 383–413.
[OAI26a] OpenAI, _Positive lower density of large prime gaps_. OpenAI Math Release preprint (2026).
https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Positive-lower-density-of-large-prime-gaps-September-25-2026/main.pdf
-/
@[expose] public section
open Filter Real
open scoped BigOperators
namespace Erdos968
/--
`u n` is the normalized `n`th prime, defined as `pₙ / (n+1)` where `pₙ` is the `n`th prime
(with `0.nth Nat.Prime = 2`).
This corresponds to the classical sequence `(p₁/1, p₂/2, p₃/3, ...)` while using `Nat.nth Prime`'s
`0`-based indexing; in particular, the denominator is always positive.
-/
noncomputable def u (n : ℕ) : ℝ :=
(n.nth Nat.Prime : ℝ) / (n + 1)
set_option linter.style.formal_proof_palomar false in
/--
Does the set `{n | u n < u (n+1)}` have positive lower density?
Yes. This was proved by an internal OpenAI model in September 2026 [OAI26a]; see the linked
Lean proof.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at
"https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/NumberTheory/PrimeGaps/RatioCorollary.lean#L30"]
theorem erdos_968 : 0 < {n : ℕ | u n < u (n + 1)}.lowerDensity := by
sorry
/--
Erdős and Prachar proved `∑_{pₙ < x} |u (n+1) - u n| ≍ (log x)^2` (see [ErPr61]).
We encode `∑_{pₙ < x}` as a sum over `n < Nat.primeCounting' x` (the number of primes `< x`).
-/
@[category research solved, AMS 11]
theorem erdos_968.variants.sum_abs_diff_isTheta_log_sq :
(fun x : ℕ =>
∑ n < Nat.primeCounting' x, |u (n + 1) - u n|) =Θ[atTop]
fun x : ℕ => log x ^ 2 := by
sorry
/--
Erdős and Prachar proved that the set `{n | u n > u (n+1)}` has positive lower density
(see [ErPr61]).
-/
@[category research solved, AMS 11]
theorem erdos_968.variants.decreasing_steps_pos_lower_density :
0 < {n : ℕ | u n > u (n + 1)}.lowerDensity := by
sorry
/--
Erdős asked whether there are infinitely many solutions to `uₙ < uₙ₊₁ < uₙ₊₂`.
The answer is yes. Since `uₙ < uₙ₊₁` is equivalent to `pₙ₊₁ - pₙ > pₙ / n`, it suffices to have
infinitely many `n` with two consecutive prime gaps larger than `pₙ / n ∼ log n`. Ford, Maynard,
and Tao [FMT18] proved that for every fixed `k` there are infinitely many `n` with `k` consecutive
prime gaps all of size `≫ log pₙ · log log pₙ · log log log log pₙ / log log log pₙ`.
-/
@[category research solved, question, AMS 11]
theorem erdos_968.variants.infinite_increasingTriples :
{n : ℕ | u n < u (n + 1) ∧ u (n + 1) < u (n + 2)}.Infinite := by
sorry
/--
Erdős asked whether there are infinitely many solutions to `uₙ > uₙ₊₁ > uₙ₊₂`.
The answer is yes. Since `uₙ > uₙ₊₁` is equivalent to `pₙ₊₁ - pₙ < pₙ / n`, it suffices to have
infinitely many `n` with `pₙ₊₂ - pₙ` bounded, because `pₙ / n → ∞`. Maynard [Ma15] proved that
`liminf (pₙ₊₂ - pₙ) < ∞`.
-/
@[category research solved, question, AMS 11]
theorem erdos_968.variants.infinite_decreasingTriples :
{n : ℕ | u n > u (n + 1) ∧ u (n + 1) > u (n + 2)}.Infinite := by
sorry
end Erdos968
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos968.erdos_968 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_968 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-968 nosorry submit erdos-968 nosorry/erdos-968/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-968-variants-sum-abs-diff-istheta-log-sq — known result
- erdos-968-variants-decreasing-steps-pos-lower-density — known result
- erdos-968-variants-infinite-increasingtriples — known result
- erdos-968-variants-infinite-decreasingtriples — known result
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.