The aim of this project is to formally verify the fundamental theorem of the Selberg sieve and prove some of its direct consequences. It was ported from this repo.
TODO
I try to state the most important results and goals in MainResults.lean
as I work on them.
We prove the following version of the Fundamental Theorem of the Selberg sieve as adapted from Heath-Brown.
Let
Suppose we can write
Then
To test this result, we prove that $$ \pi(x) \ll \frac{x}{\log x} $$ And in fact, with little addition effort we are able to prove the Brun-Titchmarsh type bound $$ \pi(x+y) - \pi(x) \le 2\frac{y}{\log{z}} + 6z(1+\log{z})^3$$
We hope to later use this result to prove
Let