Documentation

MathlibNt.AnalyticNumberTheory.LargeSieve.BombieriDavenport

Weighted primitive-character Bombieri--Davenport inequality #

This module combines primitive Gauss inversion with the multiplicity-free reduced Farey additive large sieve. The only loss relative to the classical N + Q² constant is the explicit dyadic-shell logarithm already present in largeSieveBound.

theorem AnalyticNumberTheory.LargeSieve.character_reducedResidues_bessel {q : } [NeZero q] (c : ) :
χ : PrimitiveCharacter q, areducedResidues q, c a * χ a ^ 2 q.totient * areducedResidues q, c a ^ 2

Character orthogonality for arbitrary coefficients on canonical reduced residues. This is the exact finite Bessel inequality needed after Gauss inversion.

theorem AnalyticNumberTheory.LargeSieve.primitive_interval_gauss_inversion {q : } [NeZero q] (χ : PrimitiveCharacter q) (b : ) (M : ) (N : ) :
gaussSum (↑χ)⁻¹ (primitiveGaussAddChar q) * nFinset.Icc (M + 1) (M + N), b n * χ n = areducedResidues q, (↑χ)⁻¹ a * nFinset.Icc (M + 1) (M + N), charReal (n * a / q) * b n

Inversion by the primitive Gauss sum, with the inverse character chosen so that the recovered interval coefficient is χ(n) rather than χ⁻¹(n).

Inversion is an involution on primitive characters.

Equations
Instances For
    theorem AnalyticNumberTheory.LargeSieve.weighted_primitive_modulus_le_reduced {q : } [NeZero q] (b : ) (M : ) (N : ) :
    q / q.totient * χ : PrimitiveCharacter q, nFinset.Icc (M + 1) (M + N), b n * χ n ^ 2 areducedResidues q, nFinset.Icc (M + 1) (M + N), charReal (n * a / q) * b n ^ 2

    The exact single-modulus weighted primitive-character inequality after Gauss inversion. Its right side contains only canonical reduced additive frequencies, with constant one.

    theorem AnalyticNumberTheory.LargeSieve.sum_reducedResidues_eq_sum_reducedFareyIndices {β : Type u_1} [AddCommMonoid β] (Q : ) (f : × β) :
    qFinset.Icc 1 Q, areducedResidues q, f (q, a) = qareducedFareyIndices Q, f qa

    Reindex canonical reduced residues for 1 ≤ q ≤ Q by reduced Farey indices, preserving the modulus range and coprimality condition.

    theorem AnalyticNumberTheory.LargeSieve.interval_additive_energy_reindex (b : ) (M : ) (N Q : ) :
    qFinset.Icc 1 Q, areducedResidues q, nFinset.Icc (M + 1) (M + N), charReal (n * a / q) * b n ^ 2 = qareducedFareyIndices Q, nFinset.Icc (M + 1) (M + N), charReal (n * reducedFareyPoint qa) * b n ^ 2

    Concrete reindexing of the interval additive energy.

    theorem AnalyticNumberTheory.LargeSieve.weighted_primitive_bombieri_davenport (b : ) (M : ) (N Q : ) (hQ : 0 < Q) :
    qFinset.Icc 1 Q, q / q.totient * χ : PrimitiveCharacter q, nFinset.Icc (M + 1) (M + N), b n * χ n ^ 2 largeSieveBound N (1 / Q ^ 2) * nFinset.Icc (M + 1) (M + N), b n ^ 2

    Weighted primitive-character Bombieri--Davenport inequality across all 1 ≤ q ≤ Q, with interval coefficients and the exact additive-stack constant.

    theorem AnalyticNumberTheory.LargeSieve.weighted_primitive_bombieri_davenport_explicit (b : ) (M : ) (N Q : ) (hQ : 0 < Q) :
    qFinset.Icc 1 Q, q / q.totient * χ : PrimitiveCharacter q, nFinset.Icc (M + 1) (M + N), b n * χ n ^ 2 (N + (2 * Real.log (Q ^ 2) / Real.log 2⌉₊ + 12) * Q ^ 2) * nFinset.Icc (M + 1) (M + N), b n ^ 2

    Fully expanded constant. This records the unique current scale loss: N + (2⌈log₂(Q²)⌉+12)Q², inherited solely from the additive Schur/dyadic stack.