Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 453

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Is it true that, for all sufficiently large nn, there exists some i<ni<n such that pn2<pn+ipn−i, p_n^2 < p_{n+i}p_{n-i}, where pkp_k is the kkth prime?

Pomerance proved that the answer is no.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question, formal_proof
Cite as:NS.02186 [math.NT] · NS.02186v1 for this version
Declaration:Erdos453.erdos_453
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:10bf339bfc4535671ff1773db661742ecbe9f75c9c60657d4a517c6966c925d8
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/453.lean

Formal statement

theorem erdos_453 : ¬ EventuallyHasPrimeWitness
Show the full Challenge.lean (65 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 453

*References:*
- [erdosproblems.com/453](https://www.erdosproblems.com/453)
- [Er70b] Erdős, P., *Some applications of graph theory to number theory*. Proc. Second Chapel Hill
  Conf. on Combinatorial Mathematics and its Applications (Univ. North Carolina, Chapel Hill, N.C.,
  1970) (1970), 136-145.
- [Er74b] Erdős, P., *Remarks on some problems in number theory*. Math. Balkanica (1974), 197-202.
- [Er77c] Erdős, Paul, *Problems and results on combinatorial number theory. III*. Number theory day
  (Proc. Conf., Rockefeller Univ., New York, 1976) (1977), 43-72.
- [Er80] Erdős, Paul, *A survey of problems in combinatorial number theory*. Ann. Discrete Math.
  (1980), 89-115.
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [Gu04] Guy, Richard K., *Unsolved problems in number theory*. (2004), xviii+437.
- [Po79] Pomerance, Carl, *The prime number graph*. Math. Comp. (1979), 399-408.
-/

@[expose] public section

namespace Erdos453

/-- The eventual prime inequality asked in Erdős Problem 453, using Mathlib's zero-based primes. -/
def EventuallyHasPrimeWitness : Prop :=
  ∃ N : ℕ, ∀ n : ℕ, N ≤ n →
    ∃ i : ℕ, i < n ∧
      (Nat.nth Nat.Prime n) ^ (2 : ℕ) <
        Nat.nth Nat.Prime (n + i) * Nat.nth Nat.Prime (n - i)

set_option linter.style.formal_proof_palomar false in
/--
Is it true that, for all sufficiently large $n$, there exists some $i<n$ such that
$$
p_n^2 < p_{n+i}p_{n-i},
$$
where $p_k$ is the $k$th prime?

Pomerance proved that the answer is no.
-/
@[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos453.lean"]
theorem erdos_453 : ¬ EventuallyHasPrimeWitness := by
  sorry

end Erdos453

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos453.erdos_453 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_453 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-453
nosorry submit erdos-453 nosorry/erdos-453/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.