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
    Inspect dependencies

    MathlibNt.SieveTheory.BombieriVinogradov.trueLogarithmicIntegral · compiled type and proof/definition references.

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

    Equations
    Instances For
      Inspect dependencies

      MathlibNt.SieveTheory.BombieriVinogradov.primesInAP · compiled type and proof/definition references.

      Inspect dependencies

      MathlibNt.SieveTheory.BombieriVinogradov.standardPrimeAPError · compiled type and proof/definition references.

      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
        Inspect dependencies

        MathlibNt.SieveTheory.BombieriVinogradov.standardPrimeAPMaxError · compiled type and proof/definition references.

        Inspect dependencies

        MathlibNt.SieveTheory.BombieriVinogradov.standardPrimeAPMaxError_zero · compiled type and proof/definition references.

        Inspect dependencies

        MathlibNt.SieveTheory.BombieriVinogradov.standardPrimeAPMaxError_one · compiled type and proof/definition references.

        A reduced residue is bounded by the corresponding canonical maximum.

        Inspect dependencies

        MathlibNt.SieveTheory.BombieriVinogradov.abs_standardPrimeAPError_le_max · compiled type and proof/definition references.

        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
          Inspect dependencies

          MathlibNt.SieveTheory.BombieriVinogradov.standardPrimeAPPrefixMaxError · compiled type and proof/definition references.

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

          Inspect dependencies

          MathlibNt.SieveTheory.BombieriVinogradov.standardPrimeAPMaxError_le_prefixMaxError · compiled type and proof/definition references.

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

          Inspect dependencies

          MathlibNt.SieveTheory.BombieriVinogradov.standardPrimeAPMaxError_nonneg · compiled type and proof/definition references.

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

          Inspect dependencies

          MathlibNt.SieveTheory.BombieriVinogradov.standardPrimeAPPrefixMaxError_nonneg · compiled type and proof/definition references.

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

          Inspect dependencies

          MathlibNt.SieveTheory.BombieriVinogradov.sum_standardPrimeAPMaxError_le_prefixMaxError · compiled type and proof/definition references.

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

          Inspect dependencies

          MathlibNt.SieveTheory.BombieriVinogradov.primesInAP_modEq_N_eq · compiled type and proof/definition references.

          The genuine logarithmic integral dominates the historical elementary proxy.

          Inspect dependencies

          MathlibNt.SieveTheory.BombieriVinogradov.div_log_le_trueLogarithmicIntegral · compiled type and proof/definition references.

          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
            Inspect dependencies

            MathlibNt.SieveTheory.BombieriVinogradov.StandardBombieriVinogradov · compiled type and proof/definition references.

            theorem MathlibNt.SieveTheory.BombieriVinogradov.endpoint_bound (hBV : StandardBombieriVinogradov) (A : ℝ) :
            0 < A → ∃ (B : ℝ), 0 ≤ B ∧ ∃ (C : ℝ), 0 < C ∧ ∀ᶠ (N : ℕ) in Filter.atTop, 2 ≤ N → ∑ q ∈ Finset.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.

            Inspect dependencies

            MathlibNt.SieveTheory.BombieriVinogradov.endpoint_bound · compiled type and proof/definition references.