Documentation

AnalyticNumberTheory.Sieve.VaughanIdentity

AnalyticNumberTheory.Sieve.VaughanIdentity #

Vaughan's identity #

Vaughan (1977) decomposes the von Mangoldt function as

Λ(n) = Σ_{d|n, d≤u} μ(d) log(n/d) + Σ_{d|n, u<d} Σ_{e|n/d, e≤v} μ(d) Λ(e) + Σ_{d|n, u<d} Σ_{e|n/d, v<e} μ(d) Λ(e).

This is a structural bridge in the Bombieri--Vinogradov and weighted Pan mean-value arguments (PanMeanValueUniform). The first term is Type I, a convolution of truncated μ with log; the third is Type II, bilinear in two truncated factors. The middle term is reorganized by Moebius inversion.

This module treats only exact finite algebra, with no analytic estimates. The first identity holds for all n,u,v. Starting from mathlib's ArithmeticFunction.moebius_mul_log_eq_vonMangoldt (μ * log = Λ), split the convolution at d ≤ u / u < d, then at e ≤ v / v < e.

References:

1. Truncated terms #

Type I main term: Σ_{d|n, d≤u} μ(d) log(n/d).

Equations
Instances For
    noncomputable def AnalyticNumberTheory.Sieve.vaughanSecond (n u v : ) :

    Intermediate term (Type I'): Σ_{d|n, u<d} Σ_{e|n/d, e≤v} μ(d) Λ(e).

    Equations
    Instances For
      noncomputable def AnalyticNumberTheory.Sieve.vaughanThird (n u v : ) :

      Type II bilinear term: Σ_{d|n, u<d} Σ_{e|n/d, v<e} μ(d) Λ(e).

      Equations
      Instances For
        noncomputable def AnalyticNumberTheory.Sieve.vaughanMiddle (n u v : ) :

        Middle term in the classical three-term form (Type I'): Σ_{d|n, d≤u} Σ_{e|n/d, e≤v} μ(d) Λ(e).

        Equations
        Instances For

          2. Exact three-part identity #

          Vaughan's identity, exact form: for any n u v : ℕ, Λ n = vaughanFirst n u + vaughanSecond n u v + vaughanThird n u v. No hypotheses n > u or n > v are needed; this is finite convolution algebra.

          3. Classical three-term form for n > v #

          Moebius divisor sum: Σ_{d|m} μ(d) = [m=1], from μ * ζ = 1 (the convolution unit) and coe_mul_zeta_apply.

          Exchange of Vaughan's double sum: rewrite Σ_{d|n} Σ_{e|n/d, e≤v} μ(d)Λ(e) as Σ_{e|n, e≤v} Λ(e)·Σ_{d|n/e} μ(d) by swapping the finite divisibility-indexed pairs (d,e).

          Full second-level sum: Σ_{d|n} Σ_{e|n/d, e≤v} μ(d)Λ(e) = Λ(n)·[n≤v].

          Vaughan's identity, classical three-term form: for n > v, Λ n = vaughanFirst n u − vaughanMiddle n u v + vaughanThird n u v. This is the Type I/II form used in Bombieri--Vinogradov and weighted Pan arguments. By vaughanFullSecondSum, the middle and second terms cancel because Σ_{d|n} Σ_{e|n/d,e≤v} μ(d)Λ(e) = 0 when n > v.