Polynomial error functions #
Robustness theorems for nonlocal games, low-degree tests and property testing are stated with an
error function: a strategy that wins with probability 1 - ε is δ(ε)-close to an ideal one,
where δ(ε) = poly(ε); the convention poly(a) ≤ C a^C is fixed in
Ji, Natarajan, Vidick, Wright and Yuen, §3, p. 25. The papers never track the
polynomial; they only use that such functions are closed under the operations their proofs
perform. Cslib.PolyErr δ is that notion: |δ x| ≤ C (|x|^lo + |x|^hi) for some constant C and
exponents 0 < lo ≤ hi. The lower exponent makes δ small near 0, the upper exponent keeps it
polynomially bounded for large arguments, which is what makes the class closed under composition
across fractional powers. This two-exponent formulation is introduced here; it is not taken from
the source.
PolyErr is a fun_prop predicate. The identity, √, |·| and positive powers are polynomial
errors, and the class is closed under sums, differences, products, scalar multiples, negation,
max and composition, so fun_prop proves goals such as
PolyErr fun ε => 3 * √ε + (ε + √(2 * ε)) ^ 2. Nonconstant bounds are compared with
Cslib.PolyErr.mono, and Cslib.PolyErr.exists_le turns a polynomial error back into an explicit
bound δ ε ≤ C ε^c on [0, 1].
Main definitions #
Cslib.PolyErr: polynomial error functions.
Main results #
Cslib.PolyErr.add,Cslib.PolyErr.mul,Cslib.PolyErr.comp, ...: the closure properties, registered withfun_prop.Cslib.PolyErr.exists_le: an explicit bound|δ ε| ≤ C ε^con[0, 1].Cslib.PolyErr.tendsto_zero: a polynomial error tends to0at0.
References #
A polynomial error function: |f x| ≤ C (|x|^lo + |x|^hi) for a constant C and
exponents 0 < lo ≤ hi, the δ = poly(ε) of robustness theorems.
A bound holds with any wider range of exponents, at twice the constant.
A polynomial error tends to 0 at 0.