Explicit Chan–He size bounds for polynomially bounded integers #
Adapted from Sizes.lean and the parameter definitions in
PaperStatements.lean, at anthropics/formal-math@16a5ce41304fcdaea4e0be7c132e1c361dc26da5.
This module extracts the concrete natural-number bounds. It does not import the source's
asymptotic calculus, native machine or running-time claims.
Main definitions #
lenOf: the common output length8 * mPar n (2n^κ)^2.numBound: a degree-seven logarithmic bound on the number of instances.workBound: a bound on candidate-prime/element pairs, not RAM instructions.
Main results #
threeSum_iff_exists_convolution: the finite reduction at polynomial magnitudes.length_instances_pow_le,abs_instances_pow_le,scanPairs_pow_le: explicit bounds.
References #
- T. M. Chan and Q. He, Reducing 3SUM to Convolution-3SUM, Theorem 5.1.
The common length of instances for inputs bounded by n^κ.
Instances For
A degree-seven logarithmic upper bound on the number of instances, for n ≥ 2.
Instances For
Bound on candidate-prime/element pairs scanned, excluding all other preprocessing work.
Instances For
An explicit square-root times squared-logarithm bound on the searched primes. This elementary estimate is original to the adaptation; it is a size bound, not a time bound.
At polynomial magnitudes every convolution array has length at most n times a
fourth-degree logarithm, with an explicit constant depending only on κ.
The instances are not empty arrays.