Documentation

MathlibNt.SieveTheory.Distribution.BombieriVinogradov

! # MathlibNt.SieveTheory.BombieriVinogradov

The Bombieri--Vinogradov theorem is an analytic literature input in this development. This file deliberately states only its standard uniform average form: it does not manufacture parameter-dependent constants, and its main term is a genuine logarithmic integral rather than the proxy x / log x.

For references see Bombieri, On the large sieve (1965), Vinogradov (1965), or Halberstam--Richert, Sieve Methods, Chapter 9.

A normalized genuine logarithmic integral: 2 / log 2 + ∫ t in 2..x, 1 / log t. Thus it differs from the literal integral from 2 to x by the fixed additive constant 2 / log 2; the two normalizations are asymptotically interchangeable. This normalization is chosen so that it dominates x / log x for x ≥ 2.

Equations
Instances For

    The usual prime count through the integer endpoint x in the residue class l modulo q.

    Equations
    Instances For

      The maximum standard AP error over canonical reduced residues. It is defined as 0 for the empty modulus-zero residue set; modulo 1 its unique canonical reduced residue is 0.

      Equations
      Instances For

        A reduced residue is bounded by the corresponding canonical maximum.

        The prefix maximum occurring in the standard Bombieri--Vinogradov theorem: first maximize over reduced residues, then over every integer endpoint y ≤ x. The finite set is always nonempty because it contains y = 0.

        Equations
        Instances For

          The endpoint error is one of the terms in the standard prefix maximum.

          The canonical maximal AP error is nonnegative at every modulus, including the explicitly defined zero endpoint.

          The prefix maximum is nonnegative, since every endpoint maximum is.

          Summing the endpoint errors over any finite modulus set is bounded by the sum of the standard prefix-maximal errors over the same set.

          Replacing a residue by its canonical representative does not change the standard prime-AP count.

          The genuine logarithmic integral dominates the historical elementary proxy.

          Standard Bombieri--Vinogradov literature interface.

          For every A > 0, a nonnegative logarithmic loss exponent B and a positive constant C work uniformly for all sufficiently large endpoints. For every modulus this uses the standard nested maxima max_{y ≤ N} max_{(l,q)=1}; in particular it is not the weaker fixed-endpoint assertion. The sum is over the genuine moduli 1 ≤ q ≤ floor(N^(1/2) / log(N)^B) with no reduction of the classical modulus range. The finite conventions at q = 0 and q = 1 are explicit above, but q = 0 is not included in this theorem.

          Equations
          Instances For
            theorem MathlibNt.SieveTheory.BombieriVinogradov.endpoint_bound (hBV : StandardBombieriVinogradov) (A : ) :
            0 < A∃ (B : ), 0 B ∃ (C : ), 0 < C ∀ᶠ (N : ) in Filter.atTop, 2 NqFinset.Icc 1 (LiuWeight.panModulusCutoff N B), standardPrimeAPMaxError N q C * N / Real.log N ^ A

            The fixed-endpoint estimate used by the lower-sieve consumer is a direct finite consequence of the standard prefix-maximal theorem. This theorem keeps the producer interface standard while allowing endpoint-only consumers to use exactly the bound they need.