This is a Lean formalization of the bound H₁ ≤ 212 on gaps between consecutive primes.
- Beyond every bound there are two primes
p < qwithq ≤ p + 212, assuming the five equidistribution estimates, the Harman reduction, bilinear Bombieri–Vinogradov and the numerical certificateGap212.Gap212Certificate. - Under the same hypotheses,
p_{n+1} ≤ p_n + 212for arbitrarily largen.
See §Formal Challenge for a formal certificate.
This depends on Mathlib and on Axiom Math's repository PrimeGapsLib.
A formal challenge file certifying that this repository does formalize the results claimed above
is located at Gap212Challenge/Basic.lean. This file only depends on
the dependencies above. It contains formal statements of §Main Results with
sorry as proof.
This repository can be verified against the formal challenge with the Lean comparator on a Linux
machine. First, follow the instructions in https://github.com/leanprover/comparator to install
comparator. Then, run the following command:
lake env comparator Comparator/comparator.json
This repository has been locally verified with the comparator.