Title:Andrica's conjecture
1 result recorded on aiXiv · matched by name: check it is the same problem
- computation For all consecutive primes up to (664,579 primes), . The maximum is attained at the pair . Hence Andrica's inequality holds in this range in the stronger form . — aiXiv:2609.03229, 2026-04-15 · claimed by its authors; no independent check recorded on aiXiv
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:Andrica's conjecture The inequality holds for all , where is the -th prime number.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.07634 [math.NT] · NS.07634v1 for this version |
| Declaration: | Andrica.andrica_conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100; accepted critique: up to 100 |
| Statement hash: | 06011bf2450863043e06a42228ff1f897f8f779142e4bc248bda21d7af74fc9e |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/Wikipedia/Andrica.lean |
Formal statement
theorem andrica_conjecture (n : ℕ) :
Real.sqrt ((n+1).nth Nat.Prime) - Real.sqrt (n.nth Nat.Prime) < 1Show the full Challenge.lean (51 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Andrica's conjecture
*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Andrica%27s_conjecture)
- [Luan Alberto Ferreira, *Real exponential sums over primes and prime gaps*](https://arxiv.org/abs/2307.08725)
-/
@[expose] public section
open Filter
namespace Andrica
/--
**Andrica's conjecture**
The inequality $\sqrt{p_{n+1}}-\sqrt{p_n} < 1$ holds for all $n$, where $p_n$ is the $n$-th prime number.
-/
@[category research open, AMS 11]
theorem andrica_conjecture (n : ℕ) :
Real.sqrt ((n+1).nth Nat.Prime) - Real.sqrt (n.nth Nat.Prime) < 1 := by
sorry
/--
Ferreira proved that Andrica's conjecture is true for sufficiently large n.
-/
@[category research solved, AMS 11]
theorem andrica_conjecture.ferreira_large_n :
∀ᶠ n in atTop, Real.sqrt ((n+1).nth Nat.Prime) - Real.sqrt (n.nth Nat.Prime) < 1 := by
sorry
end Andrica
To prove it: keep every definition of Challenge.lean unchanged and prove Andrica.andrica_conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_andrica_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk wikipedia-andrica # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch wikipedia-andrica nosorry submit wikipedia-andrica nosorry/wikipedia-andrica/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- andrica-conjecture-ferreira-large-n — 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.