Reduction of every principal character to the global PNT source #
The principal character at level q deletes exactly the von Mangoldt mass on
prime powers p^k with p ∣ q. This module makes that deletion literal,
bounds it by ω(q) (log₂ N + 1) log N, sums the correction over q ≤ Q, and
feeds the modulus-one source contract into the prime-AP partial-summation bridge.
The non-coprime von Mangoldt support through N.
Equations
- AnalyticNumberTheory.LargeSieve.principalBadLambdaSupport q N = {n ∈ Finset.range (N + 1) | ArithmeticFunction.vonMangoldt n ≠ 0 ∧ ¬n.Coprime q}
Instances For
The explicit prime-power envelope indexed by p ∣ q and the exponent.
Equations
- AnalyticNumberTheory.LargeSieve.principalBadPrimePowers q N = q.primeFactors.biUnion fun (p : ℕ) => Finset.image (fun (k : ℕ) => p ^ (k + 1)) (Finset.range (N.log2 + 1))
Instances For
Every non-coprime point supporting Λ is p^k for a prime divisor of q.
There are at most ω(q)(log₂ N+1) bad prime powers through N.
The mass deleted from the principal character at modulus q.
Equations
- AnalyticNumberTheory.LargeSieve.principalBadLambdaMass y q = ∑ n ∈ Finset.range (y + 1), if n.Coprime q then 0 else AnalyticNumberTheory.LargeSieve.lambdaNatCoeff n
Instances For
Literal partition of the global von Mangoldt prefix into coprime and bad mass.
Pointwise principal error at q is the global error plus bad prime powers.
Uniform principal reduction for every positive modulus.
Summing all principal errors through Q costs one copy of the global error
per modulus and an explicit Q log₂Q log₂N log N scalar.
In a Q ≤ √N/log^B N range, the complete bad-prime-power aggregate is
paid once the displayed scalar (with Q eliminated) fits the target budget.
The all-modulus partial-summation bridge with the principal term reduced literally to the modulus-one PNT error plus bad prime powers.
The global source contract now feeds the prime-AP bridge for every positive
q; only the explicit bad-prime-power term and nonprincipal transforms remain.