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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Brocard's Conjecture

Source:Wikipedia lists of open problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Brocard's Conjecture For every n ≥ 2, between the squares of the n-th and (n+1)-th primes, there are at least four prime numbers.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.07697 [math.NT] · NS.07697v1 for this version
Declaration:Brocard.brocard_conjecture
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:62d420bffcc2db570512eb93e0dd307035c697f5184348b1a8ac1c7c96c78bac
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/BrocardConjecture.lean

Formal statement

theorem brocard_conjecture (n : ℕ) (hn : 1 ≤ n) :
    letI prev := n.nth Nat.Prime;
    letI next := (n+1).nth Nat.Prime;
    4 ≤ ((Ioo (prev^2) (next^2)).filter Nat.Prime).card
Show the full Challenge.lean (57 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Brocard's Conjecture

*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Brocard%27s_conjecture)
- [Luan Alberto Ferreira, *Real exponential sums over primes and prime gaps*](https://arxiv.org/abs/2307.08725)
-/

@[expose] public section

open Finset Filter

namespace Brocard

/--
**Brocard's Conjecture**
For every `n ≥ 2`, between the squares of the `n`-th and `(n+1)`-th primes,
there are at least four prime numbers.
-/
@[category research open, AMS 11]
theorem brocard_conjecture (n : ℕ) (hn : 1 ≤ n) :
    letI prev := n.nth Nat.Prime;
    letI next := (n+1).nth Nat.Prime;
    4 ≤ ((Ioo (prev^2) (next^2)).filter Nat.Prime).card := by
  sorry

/--
Ferreira proved that Brocard's conjecture is true for sufficiently large n.
-/
@[category research solved, AMS 11]
theorem brocard_conjecture.ferreira_large_n : ∀ᶠ n in atTop,
    letI prev := n.nth Nat.Prime;
    letI next := (n+1).nth Nat.Prime;
    4 ≤ ((Ioo (prev^2) (next^2)).filter Nat.Prime).card := by
  sorry

end Brocard

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

nosorry fetch wikipedia-brocardconjecture
nosorry submit wikipedia-brocardconjecture nosorry/wikipedia-brocardconjecture/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.