Explicit floor-sum control of the quadratic Siegel convolution discrepancy #
This file opens the divisor double sum and records the exact floor-sum form.
The cutoff error is then separated into a short floor error and a genuinely
oscillatory long tail. In particular, the floor error costs only the cutoff
m, rather than the ambient length X.
Finite Abel summation with a nonnegative decreasing weight. This is the
form used below for w(d)=⌊X/d⌋; only interval-prefix cancellation is paid.
Inspect dependencies
DirichletCharacter.abs_sum_range_mul_le_of_prefix · compiled type and proof/definition references.
Reindex the divisor double sum by the divisor. The multiplicity of d is
exactly ⌊X/d⌋.
Inspect dependencies
DirichletCharacter.quadraticDivisorDoubleSum_eq_floorSum · compiled type and proof/definition references.
At s=1, the real harmonic truncation is the ordinary finite sum
∑_{1≤d<m} Re χ(d)/d.
Inspect dependencies
DirichletCharacter.quadraticHarmonicTruncation_eq_Ico · compiled type and proof/definition references.
Pólya--Vinogradov controls every real character interval, not merely prefixes.
Inspect dependencies
DirichletCharacter.IsPrimitive.abs_sum_Ico_character_re_le_eight_mul_sqrt_q_mul_one_add_log · compiled type and proof/definition references.
The long floor-weighted tail is controlled by interval prefixes through
finite Abel summation. This is the cancellation step which prevents a
termwise O(X) bound.
Inspect dependencies
DirichletCharacter.IsPrimitive.abs_floorWeighted_character_tail_le · compiled type and proof/definition references.
Exact floor-sum expansion of the production discrepancy.
Inspect dependencies
DirichletCharacter.quadraticSiegelConvolutionDiscrepancy_eq_floorSum_sub · compiled type and proof/definition references.