Brocard's conjecture for all indices
OpenBrocard.brocard_conjecture_of_ge_100number-theoryprime-gapsprimes
Write for the -th prime with 0-based indexing (, , , …, ). For every index there are at least four primes with
This is Brocard's conjecture restricted to consecutive prime pairs starting from ; it is an explicit-threshold strengthening of the asymptotic statement ("for all sufficiently large ") and remains open.
Preamble
import Mathlib open Finset Filter
Formal statement
namespace Brocard
theorem brocard_conjecture_of_ge_100 (n : ℕ) (hn : 100 ≤ 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
end BrocardSource
Brocard's conjecture, https://en.wikipedia.org/wiki/Brocard%27s_conjecture ; tail (indices ≥ 100) of the statement `brocard_conjecture` (Formal Conjectures, BrocardConjecture.lean).