Actual prime-count centering in Wu (2004), equation (5.7) #
Both discrepancies use the same actual AP count. The main term here is the actual number of primes, not li. Their difference is the principal error summed over the modulus-dependent coprime source set, before taking absolute values. The balanced PNT estimate pays this filtered difference uniformly.
Equations
- Wu2004MeanValue.primeCenteredAPSum S f r d b = ∑ m ∈ S, if m.Coprime d then f m * (↑(Wu2004MeanValue.scaledPrimeCount (↑m * r m) d b m) - Wu2004MeanValue.realPrimeCount (r m) / ↑d.totient) else 0
Instances For
Inspect dependencies
Wu2004MeanValue.primeCenteredAPSum · compiled type and proof/definition references.
Inspect dependencies
Wu2004MeanValue.primeCenteredAPSum_eq_inverse · compiled type and proof/definition references.
Inspect dependencies
Wu2004MeanValue.primeCenteredAPSum_eq_actual_sub_principal · compiled type and proof/definition references.
The two families may even be selected independently for each modulus. The coprimality mask is kept inside the prime-error sum.
Inspect dependencies
Wu2004MeanValue.primeCenteredAPSum_sub_actual_weighted · compiled type and proof/definition references.
An unconditional transport with the actual li-centered discrepancy still visible on the right. An AP producer, not this transport alone, is required to deduce distribution.
Inspect dependencies
Wu2004MeanValue.weighted_primeCenteredAPSum_le_actual_add · compiled type and proof/definition references.