Exact split of Liu's signed Pan residual #
This module separates the existing signed residual into its two exact analytic inputs. The signed-main absolute value remains outside the complete source-faithful combination; it is not split termwise. The second input retains the AP prime-power correction, the exact source weight, both maxima, and the original modulus weight and cutoff.
For the full Pan family these inputs are required for every fixed A > 0.
For the final M1 use, it is enough analytically to obtain a residual
o(N / log(N)^2) or O(N / log(N)^(2 + delta)); no existing contract is
changed here.
The maximum over coprime residues of the absolute value of the complete
source-faithful signed-main sum. The absolute value is not distributed across
the terms of liuPanSignedMainKernel.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuPanSignedMainMaxL distMain y X q f u v = if h : (AnalyticNumberTheory.Sieve.unitResidues q).Nonempty then (Finset.image (fun (l : ℕ) => |MathlibNt.SieveTheory.LiuWeight.liuPanSignedMainSum distMain y X q l f u v|) (AnalyticNumberTheory.Sieve.unitResidues q)).max' ⋯ else 0
Instances For
The maximum of the complete signed-main residue maximum over y ≤ x.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuPanSignedMainMaxY distMain X q x f u v = (Finset.image (fun (y : ℕ) => MathlibNt.SieveTheory.LiuWeight.liuPanSignedMainMaxL distMain y X q f u v) (Finset.range (x + 1))).max' ⋯
Instances For
The maximum over coprime residues of the exact AP prime-power correction
with the source weight retained inside liuPanSignedCorrectionBound.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuPanAPPrimePowerCorrectionMaxL y X q f = if h : (AnalyticNumberTheory.Sieve.unitResidues q).Nonempty then (Finset.image (fun (l : ℕ) => MathlibNt.SieveTheory.LiuWeight.liuPanSignedCorrectionBound y X q l f) (AnalyticNumberTheory.Sieve.unitResidues q)).max' ⋯ else 0
Instances For
The maximum of the AP prime-power correction over y ≤ x.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuPanAPPrimePowerCorrectionMaxY X q x f = (Finset.image (fun (y : ℕ) => MathlibNt.SieveTheory.LiuWeight.liuPanAPPrimePowerCorrectionMaxL y X q f) (Finset.range (x + 1))).max' ⋯
Instances For
The AP prime-power residue maximum is nonnegative.
The AP prime-power y-maximum is nonnegative.
The audited residual maximum is bounded by the sum of its two exact component maxima. Only the two finite maxima are split; the signed-main absolute value remains intact.
Fixed-N bound for the complete signed-main average. This retains one
absolute value around the entire source-faithful signed sum.
Equations
- MathlibNt.SieveTheory.LiuWeight.LiuMainPanSignedMainBoundAt distMain N f A B Cmain u v = (∑ q ∈ Finset.range (MathlibNt.SieveTheory.LiuWeight.panModulusCutoff N B + 1), ↑(ArithmeticFunction.moebius q) ^ 2 * 3 ^ q.primeFactors.card * MathlibNt.SieveTheory.LiuWeight.liuPanSignedMainMaxY distMain N q N f u v ≤ Cmain * ↑N / Real.log ↑N ^ A)
Instances For
Fixed-N bound for the AP prime-power correction average, with the exact
source weight, modulus cutoff, arithmetic weight, and both maxima retained.
Equations
- MathlibNt.SieveTheory.LiuWeight.LiuMainPanAPPrimePowerCorrectionBoundAt N f A B Cpp = (∑ q ∈ Finset.range (MathlibNt.SieveTheory.LiuWeight.panModulusCutoff N B + 1), ↑(ArithmeticFunction.moebius q) ^ 2 * 3 ^ q.primeFactors.card * MathlibNt.SieveTheory.LiuWeight.liuPanAPPrimePowerCorrectionMaxY N q N f ≤ Cpp * ↑N / Real.log ↑N ^ A)
Instances For
The complete signed-main weighted average is nonnegative.
The AP prime-power correction weighted average is nonnegative.
The two exact fixed-N component bounds imply the existing signed residual
bound with the sum of constants and unchanged parameters and cutoff.
Eventual source-family packaging of the two fixed-N components. The
parameters A, B, Cmain, Cpp, u, and v are fixed before N → ∞.
Equations
- MathlibNt.SieveTheory.LiuWeight.LiuMainPanSignedResidualSplitSourceFamilyInputs distMain A B Cmain Cpp u v = ∀ᶠ (N : ℕ) in Filter.atTop, MathlibNt.SieveTheory.LiuWeight.LiuMainPanSignedMainBoundAt distMain N (MathlibNt.SieveTheory.LiuWeight.liuWeight N (MathlibNt.SieveTheory.LiuWeight.liuSourceZ10 N) (MathlibNt.SieveTheory.LiuWeight.liuSourceY3 N)) A B Cmain u v ∧ MathlibNt.SieveTheory.LiuWeight.LiuMainPanAPPrimePowerCorrectionBoundAt N (MathlibNt.SieveTheory.LiuWeight.liuWeight N (MathlibNt.SieveTheory.LiuWeight.liuSourceZ10 N) (MathlibNt.SieveTheory.LiuWeight.liuSourceY3 N)) A B Cpp
Instances For
Eventual component bounds, each quantified after all analytic parameters, give the eventual existing residual bound.
The packaged split source-family input implies the existing eventual residual input with constants added.