Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrimeGapsLib

Public Lean library for formalizations related to prime gaps, maintained by Axiom Math.

Dependencies

This repository depends on an internal fork of PrimeNumberTheoremAnd (original here), changed to use the module system.

Structure

Main Results

  1. The Bombieri–Vinogradov theorem implies prime gaps bounded by 246 infinitely often, located in PrimeGaps.Bounded246.
  2. The Bombieri–Vinogradov theorem implies prime gaps bounded by 600 infinitely often, located in PrimeGapsTheory.Endgame.Main.
  3. The Bombieri–Vinogradov theorem and existence of certificate imply prime gaps bounded by 246 infinitely often, located in PrimeGapsTheory.Gap246.Endgame.Main.

Formal versions of these statements can be found in the formal challenge described in §Comparator.

Comparator

A formal challenge that is self-contained and only depends on Mathlib is located in Comparator.Challenge. It contains statement 1 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

Beware that this can take hours.

The proofs of statements 2 and 3 of §Main Results compile much faster, so we also included a formal challenge for them in Comparator.ChallengeFast. To verify this repository against this challenge file, run the following command:

lake env comparator Comparator/comparator_fast.json

This should only takes minutes.

About

Lean formalization of bounded gaps between primes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages