Integer parity-amplifying polynomials and shared-total-order truncation #
For ℓ ≥ 1, the complement of the Beigel–Tarui modulus-amplifying polynomial Toda,
Arora and Barak, Section 17.4,
$$p_\ell(Y) = (1 - Y)^\ell \sum_{j=0}^{\ell-1} \binom{\ell - 1 + j}{j} Y^j \in \mathbb{Z}[Y],$$
satisfies $p_\ell(Y) \equiv 1 \pmod{Y^\ell}$ and $p_\ell(Y) \equiv 0 \pmod{(1 - Y)^\ell}$, so
for every integer $y \in \mathbb{Z}$, $p_\ell(y) \equiv \mathbf{1}_{\{2 \mid y\}} \pmod{2^\ell}$
(Polynomial.parityAmplifier_eval_modEq_two_pow).
Following Lemma 5.1 and Lemma B.1 of
OpenAI, The Exponential Time Hypothesis is False, writing $p_\ell$ in powers of
the monic quadratic $h(Y) = Y^2 - Y = Y(Y - 1)$ (Polynomial.hPoly) by successive monic division
produces remainders $e_0, \dots, e_{\ell-1} \in \mathbb{Z}[Y]$ (Polynomial.parityBaseDigit) of
degree at most $1$ with $p_\ell(Y) = \sum_{j=0}^{\ell-1} e_j(Y) h(Y)^j$
(Polynomial.parityAmplifier_eq_sum_baseDigit) and explicit coefficient bounds
(Polynomial.natAbs_coeff_parityBaseDigit_le, Polynomial.coeffNorm1_parityBaseDigit_le).
Since $h(y) = y(y - 1)$ is even for every $y \in \mathbb{Z}$, introducing a shared formal variable
$V$ (Polynomial.parityFactor) across a family of equations and discarding powers $V^s$ with
$s \ge \ell$ via Polynomial.sumCoeffsBelow (Lemma 5.2 of [OAI26c]) preserves the product
of evenness indicators modulo $2^\ell$ (Polynomial.sumCoeffsBelow_prod_parityFactor_modEq), while
bounding the multivariate total degree of every retained coefficient and of their sum by
$d_* (\#I + 2(\ell - 1))$ when each input polynomial has total degree at most $d_*$
(Polynomial.totalDegree_sumCoeffsBelow_prod_parityFactor_le).
Main definitions #
Polynomial.hPoly: the monic quadraticX ^ 2 - Xinℤ[X].Polynomial.parityKernel: the partial binomial series∑ j < ℓ, choose (ℓ - 1 + j) j * X ^ j.Polynomial.parityAmplifier: the even-parity amplifying polynomialp_ℓ(X) ∈ ℤ[X].Polynomial.iterDivByH,Polynomial.baseDigitByH,Polynomial.parityBaseDigit: successive monic quotients and linear remainderse_j(X)on division byX ^ 2 - X.Polynomial.coeffNorm1: theℓ₁coefficient norm∑ i ∈ p.support, (p.coeff i).natAbs.Polynomial.parityFactor: theV-series factorB(y; V) = ∑ j < ℓ, e_j(y) h(y)^j V^j.Polynomial.sumCoeffsBelow: the truncated coefficient sumS_ℓ(P) = ∑ s < ℓ, P.coeff s.
Main results #
Polynomial.parityAmplifier_add_X_pow_mul_eq_one: Bezout identityp_ℓ(X) + X ^ ℓ * ∑ m < ℓ, choose (m + ℓ - 1) (ℓ - 1) * (1 - X) ^ m = 1forℓ ≥ 1.Polynomial.parityAmplifier_eval_modEq_two_pow:p_ℓ(y) ≡ (if Even y then 1 else 0) [ZMOD 2 ^ ℓ].Polynomial.parityAmplifier_eq_sum_baseDigit:p_ℓ = ∑ j < ℓ, e_j * (X ^ 2 - X) ^ j.Polynomial.coeffNorm1_parityAmplifier_le:‖p_ℓ‖₁ ≤ 2 ^ (3 * ℓ).Polynomial.natAbs_coeff_parityBaseDigit_le:|coeff k (e_j)| ≤ (2 * ℓ) ^ j * 2 ^ (3 * ℓ).Polynomial.coeffNorm1_parityBaseDigit_le:‖e_j‖₁ ≤ 2 * ((2 * ℓ) ^ j * 2 ^ (3 * ℓ)).Polynomial.sumCoeffsBelow_prod_parityFactor_modEq: shared-Vtruncation modulo2 ^ ℓ.Polynomial.totalDegree_sumCoeffsBelow_prod_parityFactor_le: linear total-degree boundtotalDegree ≤ d_* * (#I + 2 * (ℓ - 1)).
References #
1. The univariate even-parity amplifier p_ℓ(X) #
The partial binomial series g(m, K) = ∑ j ∈ range K, choose (m + j) j * X ^ j in ℤ[X].
Instances For
The kernel ∑ j ∈ range ℓ, choose (ℓ - 1 + j) j * X ^ j of the even-parity amplifier.
Instances For
The even-parity amplifying polynomial
p_ℓ(X) = (1 - X) ^ ℓ * ∑ j ∈ range ℓ, choose (ℓ - 1 + j) j * X ^ j in ℤ[X].
Instances For
At precision 0, parityAmplifier 0 is 0.
At precision 1, parityAmplifier 1 = 1 - X.
At precision 2, parityAmplifier 2 = 1 - 3 * X ^ 2 + 2 * X ^ 3.
(1 - X) ^ ℓ divides parityAmplifier ℓ in ℤ[X].
Exact Bezout identity for parityAmplifier ℓ (ℓ ≥ 1):
p_ℓ(X) + X ^ ℓ * ∑ i ∈ range ℓ, choose (i + ℓ - 1) (ℓ - 1) * (1 - X) ^ i = 1.
For ℓ ≥ 1, X ^ ℓ divides 1 - parityAmplifier ℓ in ℤ[X].
At any even integer y, parityAmplifier ℓ (ℓ ≥ 1) evaluates to 1 modulo 2 ^ ℓ.
At any odd integer y, parityAmplifier ℓ evaluates to 0 modulo 2 ^ ℓ.
2. Base-h(X) expansion (h(X) = X ^ 2 - X) and degree bounds #
The monic quadratic h(X) = X ^ 2 - X = X * (X - 1) in ℤ[X].
Instances For
Evaluation of an integer polynomial P : ℤ[X] at y : A via the canonical cast ℤ →+* A.
Instances For
On ℤ, evalInt coincides with Polynomial.eval.
Iterated monic quotient of P : ℤ[X] on division by hPoly = X ^ 2 - X.
Instances For
The j-th linear remainder e_j(X) in the base-(X ^ 2 - X) expansion of p_ℓ(X).
Instances For
Remainder modulo hPoly has degree at most 1.
Each baseDigitByH P j has degree at most 1.
Each parityBaseDigit ℓ j (e_j) has degree at most 1.
Explicit affine decomposition e_j(X) = a_j + b_j X of parityBaseDigit ℓ j.
Division expansion after m steps of monic division by hPoly:
P = (∑ j ∈ range m, baseDigitByH P j * hPoly ^ j) + iterDivByH P m * hPoly ^ m.
iterDivByH P j has degree P.natDegree - 2 * j.
iterDivByH P j vanishes once P.natDegree < 2 * j (or P = 0).
parityKernel ℓ has degree at most ℓ - 1.
parityAmplifier ℓ has degree at most 2 * ℓ - 1.
After ℓ divisions by hPoly, the quotient of parityAmplifier ℓ is 0.
Lemma 5.1 (base-h decomposition): for every ℓ : ℕ,
parityAmplifier ℓ = ∑ j ∈ range ℓ, parityBaseDigit ℓ j * hPoly ^ j.
Evaluation of parityAmplifier ℓ in any commutative ring A via parityBaseDigit.
3. Coefficient and ℓ₁-norm bounds (Lemma B.1) #
The ℓ₁ norm of parityKernel ℓ is at most 2 ^ (2 * ℓ).
Lemma B.1 (ℓ₁-norm of p_ℓ): ‖p_ℓ‖₁ ≤ 2 ^ (3 * ℓ).
The constant coefficient of p %ₘ hPoly equals p.coeff 0.
Every coefficient of p /ₘ hPoly has absolute value at most coeffNorm1 p.
Every coefficient of p %ₘ hPoly has absolute value at most coeffNorm1 p.
The ℓ₁ norm of p %ₘ hPoly is at most 2 * coeffNorm1 p.
The ℓ₁ norm of p /ₘ hPoly is at most p.natDegree * coeffNorm1 p.
After j monic divisions by hPoly, coeffNorm1 (iterDivByH p j) is at most
p.natDegree ^ j * coeffNorm1 p.
Lemma B.1 (coefficient bound for e_j): every coefficient of parityBaseDigit ℓ j has
absolute value at most (2 * ℓ) ^ j * 2 ^ (3 * ℓ).
Lemma B.1 (ℓ₁-norm bound for e_j): ‖parityBaseDigit ℓ j‖₁ is at most
2 * ((2 * ℓ) ^ j * 2 ^ (3 * ℓ)).
4. Shared-total-order truncation and multivariate total-degree bound (Lemma 5.2) #
The V-series factor B(y; V) = ∑ j ∈ range ℓ, e_j(y) h(y)^j V^j in A[X], where the
polynomial indeterminate X represents the shared formal truncation marker V.
Instances For
The linear map S_ℓ(∑_s b_s V^s) = ∑ s ∈ range ℓ, b_s summing the coefficients of
V ^ 0, …, V ^ (ℓ - 1).
Instances For
The s-th coefficient of parityFactor ℓ y is e_s(y) h(y)^s for s < ℓ and 0
otherwise.
Evaluating parityFactor ℓ y at V = 1 recovers p_ℓ(y).
At an integer y, the s-th coefficient of parityFactor ℓ y is divisible by 2 ^ s.
Every V ^ s-coefficient of ∏ i ∈ I, parityFactor ℓ (y i) at integer arguments y i is
divisible by 2 ^ s.
If 2 ^ s ∣ P.coeff s for all s, then sumCoeffsBelow ℓ P ≡ P.eval 1 (mod 2 ^ ℓ).
Lemma 5.2 (shared-V truncation congruence): for ℓ ≥ 1 and integers y i,
S_ℓ(∏ i ∈ I, B_i(V)) ≡ ∏ i ∈ I, (if Even (y i) then 1 else 0) (mod 2 ^ ℓ).
Evaluating an affine integer polynomial (natDegree ≤ 1) at y : MvPolynomial σ R preserves
any upper bound d on y.totalDegree.
Evaluating hPoly = X ^ 2 - X at y : MvPolynomial σ R of total degree at most d gives
a polynomial of total degree at most 2 * d.
For y : MvPolynomial σ R of total degree at most d, the V ^ s-coefficient of
parityFactor ℓ y has total degree at most d + 2 * d * s.
Graded total-degree bounds totalDegree (coeff s) ≤ M + 2 * d * s add in the offset M
under multiplication in (MvPolynomial σ R)[X].
Lemma 5.2 (graded total-degree bound): if every y i (i ∈ I) has multivariate total
degree at most d, then the V ^ s-coefficient of ∏ i ∈ I, parityFactor ℓ (y i) has total
degree at most d * (#I + 2 * s).
Lemma 5.2 (retained coefficient total-degree bound): for s < ℓ, the V ^ s-coefficient
of ∏ i ∈ I, parityFactor ℓ (y i) has total degree at most d * (#I + 2 * (ℓ - 1)).
Lemma 5.2 (truncated sum total-degree bound): the truncated coefficient sum
sumCoeffsBelow ℓ (∏ i ∈ I, parityFactor ℓ (y i)) has total degree at most
d * (#I + 2 * (ℓ - 1)).