Auxiliary estimates for the all-character Type II audit #
This module proves elementary identities and bounds used to examine the
all-character predicate panTypeIICharSquareMeanBound at u = v = 1:
the identity vaughanThird(n,1,1) = Lambda(n) - log n, interval and coprime
counts, domination by the principal character, an L2 upper bound, and a lower
bound for the principal-character mass.
Section 6 records a proposed counterexample assembly at m = Q^2, with its
remaining counting and growth arguments stated in prose. The declarations
in this module establish the individual auxiliary bounds listed above.
For the primitive-character large sieve, see Montgomery (1971), Chapter 1, Theorem 5.1, and Davenport, Chapter 27. Mathlib's Dirichlet-character library supplies conductor, primitivity and Gauss-sum infrastructure.
1. Algebraic identity: vaughanThird(n,1,1) = Lambda(n) - log n #
Lambda 0 = 0.
Inspect dependencies
AnalyticNumberTheory.Sieve.vonMangoldt_zero · compiled type and proof/definition references.
vaughanThird at (u,v) = (1,1): vaughanThird(n,1,1) = Lambda(n) - log n.
From mu * log = Lambda (mathlib moebius_mul_log_eq_vonMangoldt) and
Sum_{e|m} Lambda(e) = log m (vonMangoldt_sum).
Inspect dependencies
AnalyticNumberTheory.Sieve.vaughanThird_one_one · compiled type and proof/definition references.
2. Counterexample decomposition: the principal (trivial) character term #
The trivial-character square is <= the full character-square sum (one nonneg term).
Inspect dependencies
AnalyticNumberTheory.Sieve.panTypeIICharSqSum_ge_trivial · compiled type and proof/definition references.
3. Elementary analytic ingredients for the counterexample #
Inspect dependencies
AnalyticNumberTheory.Sieve.card_multiples_Ioc · compiled type and proof/definition references.
Inspect dependencies
AnalyticNumberTheory.Sieve.card_multiples_Ioc_ge · compiled type and proof/definition references.
Inspect dependencies
AnalyticNumberTheory.Sieve.card_multiples_Ioc_le · compiled type and proof/definition references.
Inspect dependencies
AnalyticNumberTheory.Sieve.coprime_count_Ioc · compiled type and proof/definition references.
4. The counterexample: LHS grows like Q^5, RHS like Q^4 log^2 Q #
RHS quadratic sum bound: Sum_{n<=m} vaughanThird(n,1,1)^2 <= 4 (m+1) log^2 (m+2).
Inspect dependencies
AnalyticNumberTheory.Sieve.v3_one_one_sq_sum_le · compiled type and proof/definition references.
The trivial-character mass: for q = p1*p2 with distinct prime factors, |Sum_{(n,q)=1, n<=m} vaughanThird(n,1,1)| >= (m/32)*log(m/2) when log(m/2) >= 32(log4+4) and m >= 128.
Inspect dependencies
AnalyticNumberTheory.Sieve.vCharAbs_lower · compiled type and proof/definition references.
6. Final assembly (documented route; remaining steps are mechanical counting) #
The following chain completes the disproof of panTypeIICharSquareMeanBound 1 1.
All the analytic content is already proven above (vCharAbs_lower,
v3_one_one_sq_sum_le, panTypeIICharSqSum_ge_trivial, coprime_count_Ioc).
The remaining steps are elementary counting + the unboundedness of Q/log^2 Q:
Semiprime count (Chebyshev): for
Qlarge,#{q ≤ Q : ∃ p₁ p₂, p₁.Prime ∧ p₂.Prime ∧ p₁ < p₂ ∧ p₁*p₂ = q} ≥ c₃ · Q/log²Q. Route: inject the pairs{p₁ < p₂}of primes≤ √Qvia(p₁,p₂) ↦ p₁*p₂(UFD injection,Finset.powersetCard 2count =C(π(√Q),2)), and use mathlibChebyshev.pi_ge(π(n) ≥ (n·log2 − log(n+1))/log n ≥ (log2/2)·n/log nforn ≥ 16).LHS lower bound: for
m = Q², each semiprimeq = p₁p₂ ≤ Qcontributesμ²(q)·3^{ω(q)}·panTypeIICharSqSum q m 1 1 ≥ 9·|Σ_{(n,q)=1,n≤m} vaughanThird(n,1,1)|²(panTypeIICharSqSum_ge_trivial,μ²(q)=1,ω(q)=2), and|Σ_{(n,q)=1,n≤m} vaughanThird(n,1,1)| ≥ (m/32)·log(m/2)(vCharAbs_lower, withlog(Q²/2) ≥ 32(log4+4)for largeQ). HenceLHS(Q, Q²) ≥ 9·|S|·(Q²·log(Q²/2)/32)² ≥ c₁·Q⁵.RHS upper bound:
C·(m+Q²)·Σ_{n≤m} vaughanThird(n,1,1)² ≤ C·2Q²·4(Q²+1)·log²(Q²+2) ≤ c₂·C·Q⁴·log²Q(v3_one_one_sq_sum_le).Contradiction: the assumption gives
c₁Q⁵ ≤ c₂·C·Q⁴·log²(Q+1), i.e.Q ≤ (c₂C/c₁)·log²(Q+1)for all largeQ. TakeQ = 2^k,k → ∞:2^k ≥ k³fork ≥ 10(elementary) makes2^k/(k+1)²·log²2unbounded, contradicting the inequality forklarge (Archimedean choice ofk).
This yields panTypeIICharSquareMeanBound_one_one_false : ¬ panTypeIICharSquareMeanBound 1 1
(the four steps above are the complete formalization remaining; each is a routine finite
verification on top of the lemmas already proven in this file).