Title:Brocard's Conjecture · brocard_conjecture.ferreira_large_n
Statement:Ferreira proved that Brocard's conjecture is true for sufficiently large n.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.07698 [math.NT] · NS.07698v1 for this version |
| Declaration: | Brocard.brocard_conjecture.ferreira_large_n |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| 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.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).cardShow 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.ferreira_large_n with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_ferreira_large_n : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk wikipedia-brocardconjecture--brocard-conjecture-ferreira-large-n # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch wikipedia-brocardconjecture--brocard-conjecture-ferreira-large-n nosorry submit wikipedia-brocardconjecture--brocard-conjecture-ferreira-large-n nosorry/wikipedia-brocardconjecture--brocard-conjecture-ferreira-large-n/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.