Canonical Pan--Wang--Ding source theorem interface #
This module records the weighted aggregate residue-class interface motivated by
Corollary (2.30) of Pan--Ding--Wang (1975), deduced there from Theorem 2
(1.2). The corollary carries the squarefree modulus weight
3^ν(q) |μ(q)| and is uniform over coefficient functions with |f(a)| ≤ 1;
hence varying Chen sources are compatible with its quantifier order. The
source gives the concrete choice B = 2A + 24; the interface below
existentially weakens that value.
The endpoint interface below uses only y = x = N, which is the sole prefix
consumed by Liu's eqn-r lane. This avoids the previous, unsupported
strengthening to every small natural prefix. Two source-correspondence bridges
remain separate: the zero-extended liuWeight must be identified with a source
interval log^(2B) N < A₁ ≤ a ≤ A₂ < N^(1-ε), and the paper's unspecified
additive normalization of li must be related to the chosen normalization.
The analytic theorem itself remains an explicit proposition. No primitive-
character L¹ majorant is inferred from it: such a majorant is strictly
stronger and suffers a genuine weighted-conductor resonance obstruction.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.panSourceStrictModulusCutoff · compiled type and proof/definition references.
Membership in the source cutoff is exactly the paper's strict real inequality; in particular this also handles the case where the real endpoint is an integer.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.mem_range_panSourceStrictModulusCutoff_iff · compiled type and proof/definition references.
Once log N > 1, every modulus in Lean's closed floor cutoff with exponent
B+1 satisfies the source's strict real cutoff with exponent B.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.range_panModulusCutoff_add_one_subset_sourceStrict · compiled type and proof/definition references.
For each fixed paper exponent B, using B+1 in the existing Lean cutoff
is eventually source-faithful at the strict endpoint.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.eventually_range_panModulusCutoff_add_one_subset_sourceStrict · compiled type and proof/definition references.
Threshold form of the eventual strict-endpoint bridge.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.exists_range_panModulusCutoff_add_one_subset_sourceStrict · compiled type and proof/definition references.
Integer lower endpoint used to place Liu's zero-extended source inside the strict interval required by Pan--Ding--Wang.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.liuPanSourceIntervalLower · compiled type and proof/definition references.
Integer upper endpoint at Liu's exact two-thirds support scale.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.liuPanSourceIntervalUpper · compiled type and proof/definition references.
The lower endpoint is strictly above the logarithmic source threshold.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.log_rpow_lt_liuPanSourceIntervalLower · compiled type and proof/definition references.
For N > 1, the two-thirds upper endpoint is strictly below the fixed
N^(3/4) source ceiling used in the Pan corollary.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.liuPanSourceIntervalUpper_lt_rpow_three_fourths · compiled type and proof/definition references.
Liu's tenth-power source cutoff lies below the two-thirds Pan endpoint.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.liuSourceZ10_le_liuPanSourceIntervalUpper · compiled type and proof/definition references.
For every fixed Pan exponent, the logarithmic lower endpoint is eventually
strictly below Liu's N^(1/10) source cutoff.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.eventually_liuPanSourceIntervalLower_lt_liuSourceZ10 · compiled type and proof/definition references.
All source-side interval and coefficient hypotheses needed for the Liu
specialization of Corollary (2.30) hold eventually (with paper ε = 1/4).
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.eventually_liuPanSourceInterval_hypotheses · compiled type and proof/definition references.
Conditional finite support bridge. Once the logarithmic lower endpoint is
below Liu's N^(1/10) cutoff, every nonzero source coefficient lies in the
Pan interval (A₁,A₂].
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.liuWeight_support_mem_panSourceInterval · compiled type and proof/definition references.
At a fixed endpoint, Liu's zero-extended coprime source sum is exactly the Pan interval sum once the eventual logarithmic lower-cutoff inequality holds.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.liuMainPanCoprimeSum_eq_panSourceInterval · compiled type and proof/definition references.
Eventual source-interval identity for every modulus and residue.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.eventually_liuMainPanCoprimeSum_eq_panSourceInterval · compiled type and proof/definition references.
The residue-class maximum in the literal source-interval formulation of Pan--Ding--Wang, Corollary (2.30).
Equations
- MathlibNt.SieveTheory.LiuWeight.liuMainPanCoprimeIntervalMaxL main Y A₁ A₂ q f = if h : (AnalyticNumberTheory.Sieve.unitResidues q).Nonempty then (Finset.image (fun (l : ℕ) => |MathlibNt.SieveTheory.LiuWeight.liuMainPanCoprimeIntervalSum main Y A₁ A₂ q l f|) (AnalyticNumberTheory.Sieve.unitResidues q)).max' ⋯ else 0
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.liuMainPanCoprimeIntervalMaxL · compiled type and proof/definition references.
The literal left side of Corollary (2.30), instantiated with Liu's source interval and retaining the paper's strict real modulus cutoff.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuPanWangDingCorollary230Sum κ N B = ∑ q ∈ Finset.range (MathlibNt.SieveTheory.LiuWeight.panSourceStrictModulusCutoff N B), ↑(ArithmeticFunction.moebius q) ^ 2 * 3 ^ q.primeFactors.card * MathlibNt.SieveTheory.LiuWeight.liuMainPanCoprimeIntervalMaxL (MathlibNt.SieveTheory.LiuWeight.liuLogarithmicIntegral κ) N (MathlibNt.SieveTheory.LiuWeight.liuPanSourceIntervalLower N B) (MathlibNt.SieveTheory.LiuWeight.liuPanSourceIntervalUpper N) q (MathlibNt.SieveTheory.LiuWeight.liuWeight N (MathlibNt.SieveTheory.LiuWeight.liuSourceZ10 N) (MathlibNt.SieveTheory.LiuWeight.liuSourceY3 N))
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.liuPanWangDingCorollary230Sum · compiled type and proof/definition references.
Source-faithful Liu specialization of Pan--Ding--Wang, Corollary (2.30).
This is the consequence consumed by the eqn-r lane, not a formalization of
the paper's more general arbitrary-f, arbitrary-interval statement. The
additive normalization of li is fixed but unspecified by the source, while
the source exponent (the paper permits B = 2A + 24) is existentially weakened.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingCorollary230 · compiled type and proof/definition references.
The literal source contract transports all the way to Liu's canonical
κ = 2 coprime consumer. The source cutoff exponent B becomes B+1 at the
closed-floor endpoint, and the fixed normalization discrepancy is absorbed in
one further copy of N / log^A N.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingCorollary230.to_coprimeRBound · compiled type and proof/definition references.
The exact downstream analytic interface needed after source transport: every
positive ε,A admits an eventual canonical-li₂ coprime eqn-r bound.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanCanonicalCoprimeTheorem · compiled type and proof/definition references.
The literal source corollary supplies the exact canonical consumer
interface, without identifying its unspecified additive normalization with 2.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingCorollary230.to_canonicalCoprimeTheorem · compiled type and proof/definition references.
A post-transport endpoint contract at a specified additive normalization.
It is convenient for downstream consumers, but is not the literal statement of
Corollary (2.30): the source-faithful Liu specialization is
LiuPanWangDingCorollary230, with a strict modulus cutoff, source interval,
and existential source normalization.
Equations
- MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingSourceMeanValue κ = ∀ (A : ℝ), 0 < A → ∃ (C : ℝ), 0 < C ∧ ∃ (B : ℝ), 0 ≤ B ∧ ∃ (N₀ : ℕ), ∀ (N : ℕ), N₀ ≤ N → MathlibNt.SieveTheory.LiuWeight.LiuMainPanEndpointMeanValueAt (MathlibNt.SieveTheory.LiuWeight.liuLogarithmicIntegral κ) N (MathlibNt.SieveTheory.LiuWeight.liuWeight N (MathlibNt.SieveTheory.LiuWeight.liuSourceZ10 N) (MathlibNt.SieveTheory.LiuWeight.liuSourceY3 N)) A B C
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingSourceMeanValue · compiled type and proof/definition references.
A stronger conditional convenience contract at canonical normalization
li₂(x) = 2 + ∫₂ˣ dt / log t. This is not identified definitionally with the
source-literal Corollary (2.30); use
LiuPanWangDingCorollary230.to_coprimeRBound for the source-faithful route.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingTheorem · compiled type and proof/definition references.
The aggregate Pan--Wang--Ding source theorem directly supplies Liu's
source-Q coprime remainder bound. The only additional step is the already
proved eventual inclusion of Liu's divisor cutoff in Pan's modulus range.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingSourceMeanValue.to_coprimeRBound · compiled type and proof/definition references.
Consumer consequence of the stronger conditional canonical contract.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingTheorem.to_coprimeRBound · compiled type and proof/definition references.
The stronger canonical endpoint contract also supplies the minimal canonical consumer interface.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingTheorem.to_canonicalCoprimeTheorem · compiled type and proof/definition references.
The canonical coprime consumer interface implies every fixed logarithmic
saving for Liu's exact eqn-r source sum. The full majorant keeps
3^ω(d) outside the absolute value of each inner residue-class error.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanCanonicalCoprimeTheorem.eventually_liuPaperQSourceFullDistributionMajorant_le · compiled type and proof/definition references.
Backward-compatible wrapper for the stronger canonical endpoint contract.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingTheorem.eventually_liuPaperQSourceFullDistributionMajorant_le · compiled type and proof/definition references.
Source-faithful wrapper from literal Corollary (2.30) to the same full
canonical consumer majorant.
Inspect dependencies
MathlibNt.SieveTheory.LiuWeight.LiuPanWangDingCorollary230.eventually_liuPaperQSourceFullDistributionMajorant_le · compiled type and proof/definition references.