Documentation

MathlibNt.AnalyticNumberTheory.Vaughan.VaughanSmallRangeAndCharacters

Vaughan's small range and all-character bookkeeping #

This module closes the finite small-range lane left by the structured Vaughan ledgers. It also records the exact, purely finite interfaces needed to pass from conductor-level primitive characters to all characters. No prime-number theorem or Bombieri--Vinogradov conclusion is stated or used.

The literal support of the small Vaughan coefficient inside [1,N].

Equations
Instances For

    The small coefficient vanishes off its literal n.toNat ≤ v support.

    On its support, the small coefficient is exactly b(n) Λ(n).

    There are at most v positive integers in the small support.

    Exact finite energy identity: all terms outside the literal small support are zero, and no estimate has yet been applied.

    The von Mangoldt coefficient on the positive small range is bounded by log(v+1).

    Weighted small-lane energy estimate with the exact support and the explicit log(v+1)^2 loss.

    theorem AnalyticNumberTheory.LargeSieve.vaughanSmallCoeff_energy_le_v_mul_log_sq (b : ) (N v : ) (B : ) (hB : 0 B) (hb : nvaughanSmallSupport N v, b n B) :
    nFinset.Icc 1 N, vaughanSmallCoeff b v n ^ 2 v * B ^ 2 * Real.log ↑(v + 1) ^ 2

    Uniform-coefficient form of the small-lane producer. Both the support length v and the logarithmic loss are explicit.

    theorem AnalyticNumberTheory.LargeSieve.weighted_vaughan_prefix_large_sieve_small_closed_ledger (b : ) (N Q u v : ) (hQ : 0 < Q) :
    qFinset.Icc 1 Q, q / q.totient * χ : PrimitiveCharacter q, primitiveCharacterPrefixMaxSquare (vaughanLambdaCoeff b) 0 N q χ 3 * ↑(N.log2 + 1) ^ 2 * primitiveLargeSieveConstant N Q * (nFinset.Icc 1 N, b n ^ 2 * vaughanTypeICutoffEnergy n.toNat u v + nFinset.Icc 1 N, b n ^ 2 * vaughanTypeIIDivisorEnergy n.toNat u v + Real.log ↑(v + 1) ^ 2 * nvaughanSmallSupport N v, b n ^ 2)

    The existing Vaughan prefix ledger with its final opaque lane replaced by the proved small-support energy. This remains a coefficient-energy ledger, not a Bombieri--Vinogradov conclusion.

    theorem AnalyticNumberTheory.LargeSieve.weighted_vaughan_prefix_large_sieve_small_closed_uniform_ledger (b : ) (N Q u v : ) (B : ) (hQ : 0 < Q) (hB : 0 B) (hb : nvaughanSmallSupport N v, b n B) :
    qFinset.Icc 1 Q, q / q.totient * χ : PrimitiveCharacter q, primitiveCharacterPrefixMaxSquare (vaughanLambdaCoeff b) 0 N q χ 3 * ↑(N.log2 + 1) ^ 2 * primitiveLargeSieveConstant N Q * (nFinset.Icc 1 N, b n ^ 2 * vaughanTypeICutoffEnergy n.toNat u v + nFinset.Icc 1 N, b n ^ 2 * vaughanTypeIIDivisorEnergy n.toNat u v + v * B ^ 2 * Real.log ↑(v + 1) ^ 2)

    Uniform-coefficient specialization of the closed small lane, displaying the exact v · B² · log(v+1)² budget.

    Exact conductor and principal-character bookkeeping #

    The nonprincipal characters at level q, as a concrete finite set.

    Equations
    Instances For

      Exact finite principal/nonprincipal decomposition. This is the interface at which a main term must be split off before any nonprincipal estimate is applied.

      For nonzero level, nonprincipality is equivalently conductor different from one.

      The explicit error made when replacing a level-q character by its primitive character at the conductor.

      Equations
      Instances For

        The conductor-change error is supported only on integers not coprime to the original level.

        Pointwise exact recovery of an arbitrary character term from the conductor-level primitive term plus its explicit bad-prime correction.

        theorem AnalyticNumberTheory.LargeSieve.characterInterval_eq_conductorPrimitive_add_error {q : } (χ : DirichletCharacter q) (b : ) (M : ) (N : ) :
        nFinset.Icc (M + 1) (M + N), b n * χ n = nFinset.Icc (M + 1) (M + N), b n * χ.primitiveCharacter n + nFinset.Icc (M + 1) (M + N), conductorChangeLevelError χ b n

        Finite interval form of conductor/change-level recovery. A primitive character estimate controls the first sum; the second sum is an explicit correction supported on ¬ IsCoprime n q.

        theorem AnalyticNumberTheory.LargeSieve.sum_characterIntervals_eq_principal_add_nonprincipal (q : ) (b : ) (M : ) (N : ) :
        χ : DirichletCharacter q, nFinset.Icc (M + 1) (M + N), b n * χ n = nFinset.Icc (M + 1) (M + N), b n * 1 n + χnonprincipalCharacters q, nFinset.Icc (M + 1) (M + N), b n * χ n

        The principal contribution is the literal χ = 1 summand; every remaining summand has nontrivial conductor. This is a finite identity, not a PNT main-term asymptotic.