Liu's finite p₁p₂ weight #
This module formalizes the finite characteristic function in Liu (2022),
eqn-adef. The square-root cutoff is stored without rounding as
p₁ * p₂ ^ 2 ≤ N; liuSizeCondition_iff_real_sqrt identifies it with the
paper's real square-root inequality.
The exact identity below rewrites the non-coprime majorant as a finite sum over
the unique admissible pair with p₁ ∣ d. The signed non-coprime sum is only
bounded by that expression. No outer d ∣ Q weighted asymptotic estimate is
asserted here.
The arithmetic conditions on the ordered prime pair in Liu's eqn-adef.
The last condition is the lossless natural-number form of
p₂ ≤ sqrt (N / p₁).
Equations
Instances For
Equations
Each factor in an admissible pair is at most N, so range (N + 1)
contains every representation.
The finite set of ordered prime pairs occurring in Liu's weight.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuWeightPairs N z y = {p ∈ (Finset.range (N + 1)).product (Finset.range (N + 1)) | MathlibNt.SieveTheory.LiuWeight.LiuPairConditions N z y p.1 p.2}
Instances For
A visible finite witness that a has an admissible p₁p₂ representation.
Equations
- MathlibNt.SieveTheory.LiuWeight.LiuWeightSupport N z y a = ∃ p ∈ MathlibNt.SieveTheory.LiuWeight.liuWeightPairs N z y, p.1 * p.2 = a
Instances For
Equations
Admissible ordered prime representations are unique. Thus the characteristic function below never silently collapses multiplicities.
Liu's transparent finite characteristic weight: one exactly when the finite
witness set contains an admissible pair whose product is a.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuWeight N z y a = if MathlibNt.SieveTheory.LiuWeight.LiuWeightSupport N z y a then 1 else 0
Instances For
The number of Liu source pairs obtained from a strict ordered triple by pairing its medium prime with either large prime.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuOrderedTriplePairMultiplicity N z y p₁ p₂ p₃ = MathlibNt.SieveTheory.LiuWeight.liuWeight N z y (p₁ * p₂) + MathlibNt.SieveTheory.LiuWeight.liuWeight N z y (p₁ * p₃)
Instances For
A strict ordered triple contributes once through its smaller large prime, and a second time exactly when the larger prime also satisfies Liu's square cutoff. Thus the source weight has multiplicity one or two, not uniformly two.
A concrete strict ordered triple for which Liu's source multiplicity is one. This is the local obstruction to dividing the source count by two.
The exact finite size consequence retained in place of an unproved
natural/real N^(2/3) floor bridge.
Every admissible Liu pair satisfies the exact root-free support bound
(p₁p₂)^3 ≤ N^2. No floor or real-power comparison is used.
Product-support form of the exact root-free N^(2/3) bound.
The root-free support inequality converts to the intended N^(2/3)
real scale. It belongs to the source weight itself and is reused by both the
Pan source-interval bridge and the deterministic Abel estimate.
Every nonzero Liu source index lies below the exact two-thirds scale.
The actual indicator support has the two-thirds cardinality scale forced by Liu's product-cube condition.
Since liuWeight is an indicator, its supported source mass is the support
cardinality.
Explicit O(N^(2/3)) mass bound for the actual Liu indicator.
A convenient real form of the source mass estimate.
If every prime divisor of d is at most w, then on an admissible pair the
only possible common prime divisor is p₁. The larger factor p₂ cannot divide
d because w ≤ y < p₂. The modulus cutoff w is independent of the lower
weight cutoff z, which does not occur in this arithmetic statement.
If a factor of a divides the modulus but not the residue, then the scaled
prime progression defining primesInAPBelow is empty.
The residue-count collapse at l = N % d.
Main-term-parametric finite R₁ seam #
The source-facing scaled AP error with an arbitrary main-term model:
π(Y; a, d, l) - main(Y/a)/φ(d).
No analytic, sign, or asymptotic property of main is assumed.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuScaledAPError main Y a d l = ↑(AnalyticNumberTheory.Sieve.primesInAPBelow Y a d l) - main (↑Y / ↑a) / ↑d.totient
Instances For
The signed non-coprime part for an arbitrary main-term model.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuMainNoncoprimeSum main Y X d l f = ∑ a ∈ Finset.range (X + 1), if ¬a.Coprime d then f a * MathlibNt.SieveTheory.LiuWeight.liuScaledAPError main Y a d l else 0
Instances For
The termwise absolute non-coprime majorant for an arbitrary main-term model.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuMainNoncoprimeMajorant main Y X d l f = ∑ a ∈ Finset.range (X + 1), if ¬a.Coprime d then |f a| * |MathlibNt.SieveTheory.LiuWeight.liuScaledAPError main Y a d l| else 0
Instances For
ANT's historical Pan error is exactly the specialization to its
x / log x compatibility proxy.
The legacy signed non-coprime Pan sum is exactly the proxy specialization.
The legacy non-coprime Pan majorant is exactly the proxy specialization.
The paper-shaped finite pair sum for an arbitrary main-term model.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuP₁DividesMainSum main N z y Y X d l = ∑ p ∈ MathlibNt.SieveTheory.LiuWeight.liuWeightPairs N z y with p.1 * p.2 ≤ X ∧ p.1 ∣ d, |MathlibNt.SieveTheory.LiuWeight.liuScaledAPError main Y (p.1 * p.2) d l|
Instances For
The main-parametric majorant is exactly the supported non-coprime sum.
Reindex the supported non-coprime sum by the unique admissible pair.
Exact per-modulus arbitrary-model majorant after the zero-count reduction.
Signed per-modulus arbitrary-model sum bounded by the explicit main sum.
Compatibility-proxy specializations #
Proxy specialization. With the progression count zero, ANT's historical
Pan error is the negative x / log x main term.
The sign-free consequence retains |li|; no positivity of the logarithmic
integral is assumed.
Specialization of the exact signed formula to the residue N % d.
Specialization of the absolute-value formula to the residue N % d.
The paper-shaped finite sum after the p₂ ∤ d observation.
Equations
- MathlibNt.SieveTheory.LiuWeight.liuP₁DividesSum N z y Y X d l = ∑ p ∈ MathlibNt.SieveTheory.LiuWeight.liuWeightPairs N z y with p.1 * p.2 ≤ X ∧ p.1 ∣ d, |AnalyticNumberTheory.Sieve.panDistributionError Y (p.1 * p.2) d l|
Instances For
The legacy finite pair sum is exactly the x / log x proxy specialization.
The termwise non-coprime majorant is first exactly the sum over supported
products that are not coprime to d.
Exact reindexing of the supported non-coprime sum by the unique admissible pair.
Exact equality for the majorant. On moduli whose prime divisors are at
most the independent cutoff w ≤ y, Liu's weight with lower cutoff z has
non-coprime majorant precisely equal to the finite p₁ ∣ d pair sum.
Termwise majorant, not an equality for the signed sum. This is the
finite R₁ reduction available before the still-open outer d ∣ Q weighted
asymptotic estimate.
Termwise residue collapse through Liu's finite p₁ ∣ d sum. The explicit
hypothesis is exactly what is needed to pass from p₁ ∣ d to p₁ ∤ N; in the
corrected Chen application it follows from d ∣ correctedChenSiftingProduct N.
Exact non-coprime majorant after every relevant prime divisor of d is
known not to divide N. The absolute value on li is retained.
Signed non-coprime sum bounded by the same exact finite |li| expression.
No outer modulus sum, cutoff estimate, or logarithmic estimate is asserted.