Beigel–Tarui parity-amplifier coefficients and staged factor jet evaluation #
Lemma 5.1 and Appendix B.1–B.2 of OpenAI, The Exponential Time Hypothesis is False expand $p_\ell(Y) = (1 - Y)^\ell \sum_{j < \ell} \binom{\ell + j - 1}{j} Y^j$ in powers of $h(Y) = Y (Y - 1)$ with linear remainders $a_{\ell, s} + b_{\ell, s} Y$, and evaluate a single parity-amplifier factor on a fixed-denominator $z$-jet cleared by $\Gamma = \Delta^{2 \ell - 1}$.
Cslib.polyAdd,Cslib.mulZJet,Cslib.polyMul,Cslib.divModByH: executable univariate polynomial and 1D $z$-jet arithmetic bridged toPolynomial.ofCoeffList,Polynomial.coeffNorm1, and monic division byPolynomial.hPoly.Cslib.parityLinearCoeffs,Cslib.evalParityAmplifier: $(a_{\ell, s}, b_{\ell, s})$ expansion bridged toPolynomial.parityAmplifierandPolynomial.parityBaseDigit, parity congruence mod $2^\ell$, $2^{7 \ell^2}$ magnitude bound, andComputableInPolyTime.Cslib.evalParityFactorJet: $\Gamma$-cleared $J \times \ell$ factor table built withCslib.tabulateTableandCslib.rowEntry, bridged toCslib.IsTableShape,Cslib.jetL1Norm, andCslib.BitString.parityFactorCleared, with $\mathbb{Z}[X]$ / $\mathbb{Q}[X]$ ($\Delta \ne 0$) / $j = 0$ identities, Appendix B.2 norm/bit bounds, andComputableInPolyTime.
Coefficient $\ell_1$-norms and list/polynomial helpers #
The $\ell_1$-norm $\sum_i |c_i|$ of an integer coefficient list.
Instances For
Cslib.jetL1Norm equals the sum of Cslib.polyNorm1 across rows.
Univariate polynomial and 1D $z$-jet primitives #
polyAdd represents polynomial addition under Polynomial.ofCoeffList.
Below J, ofCoeffList (mulZJet J u v) has the same coefficients as
ofCoeffList u * ofCoeffList v.
polyMul represents polynomial multiplication under Polynomial.ofCoeffList.
Polynomial division identity for divModByH dividing by $X^2 - X$.
divModByH computes the exact monic quotient and remainder on division by
Polynomial.hPoly = X ^ 2 - X.
Beigel–Tarui parity-amplifier coefficients (parityLinearCoeffs) #
Degree-$< \ell$ Taylor inverse of $(1 - Y)^\ell$ modulo $Y^\ell$.
Instances For
Coefficient list of $(1 - Y)^\ell$.
Instances For
Coefficient list of $p_\ell(Y) = (1 - Y)^\ell \sum_{j < \ell} \binom{\ell + j - 1}{j} Y^j$.
Instances For
Integer evaluation of the Beigel–Tarui $(a_s, b_s)$ expansion in powers of $y (y - 1)$.
Instances For
parityPolyCoeffs ℓ represents Polynomial.parityAmplifier ℓ under
Polynomial.ofCoeffList.
Polynomial specification of parityPolyCoeffs for $1 \le \ell$.
parityLinearCoeffs ℓ has length ℓ.
Entry s of parityLinearCoeffs ℓ equals the (coeff 0, coeff 1) pair of
Polynomial.parityBaseDigit ℓ s.
Exact $\mathbb{Z}[X]$ identity expanding $p_\ell(X)$ in powers of $X^2 - X$.
evalParityAmplifier ℓ y agrees with (Polynomial.parityAmplifier ℓ).eval y.
For $1 \le \ell$ and every integer $y$, the $(a_{\ell, s}, b_{\ell, s})$ expansion evaluates to $p_\ell(y) = (1 - y)^\ell \sum_{j < \ell} \binom{\ell + j - 1}{j} y^j$.
Magnitude and bit-length bounds for parityLinearCoeffs (Lemma B.1) #
Coefficient magnitude bound ([OAI26c], Lemma B.1): every pair $(a_s, b_s)$ in
parityLinearCoeffs ℓ has $|a_s|, |b_s| \le 2^{7 \ell^2}$.
Coefficient bit-length bound ([OAI26c], Lemma B.1): every coefficient in
parityLinearCoeffs ℓ uses at most $7 \ell^2 + 2$ bits under encIntBin.
Staged fixed-denominator factor jet evaluation (evalParityFactorJet) #
Column list (colJet ... s)_{s < ℓ} for evalParityFactorJet.
Instances For
Staged fixed-denominator parity-factor jet evaluation ([OAI26c], Appendix B.2): returns
a $J \times \ell$ integer table (J rows of length ℓ) whose entry (j, s) (j < J, s < ℓ) is
unconditionally (including when $\Delta = 0$) the $z^j$ coefficient of the homogenized integer
polynomial $\Delta^{2 (\ell - 1 - s)} (\Delta a_s + b_s \widetilde{Y}(z)) (\widetilde{Y}(z) (\widetilde{Y}(z) - \Delta))^s \bmod z^J$ for
$\widetilde{Y}(z) = \sum_{r < J} \text{yJet}[r] z^r$. When $\Delta \ne 0$, this equals the $z^j$
coefficient of $\Gamma \cdot (a_s + b_s Y(z)) (Y(z) (Y(z) - 1))^s \bmod z^J$ for
$Y(z) = \Delta^{-1} \widetilde{Y}(z)$ and $\Gamma = \Delta^{2 \ell - 1}$ (see
evalParityFactorJet_entry_cast_rat; for $\Delta = 0$, e.g.
evalParityFactorJet 1 1 0 [1] = [[-1]], whereas the rational expression has $\Gamma = 0$).
Instances For
evalParityFactorJet J ℓ Δ yJet has rectangular shape J × ℓ.
truncZJet J u represents u.take J under Polynomial.ofCoeffList.
Polynomial-in-$z$ specification of evalParityFactorJet modulo $z^J$.
Stage-2 to Stage-3 bridge ([OAI26c], §5.4 and Appendix B.2): for every $j < J$ and
all $\ell, s \in \mathbb{N}$, entry $(j, s)$ of evalParityFactorJet J ℓ Δ yJet equals the $z^j$
coefficient of the $V^s$ coefficient of Cslib.BitString.parityFactorCleared.
Rational $z$-jet homogenization identity ([OAI26c], Appendix B.2) for $\Delta \ne 0$ and $Y_{\mathbb{Q}}(z) = \Delta^{-1} \widetilde{Y}(z) \in \mathbb{Q}[X]$.
Summing row $j < J$ of evalParityFactorJet ($V = 1$) gives the $z^j$ coefficient of
$\Delta^{2 \ell - 1} p_\ell(Y_{\mathbb{Q}}(z))$ over $\mathbb{Q}[X]$.
Prefix $\ell_1$-norm and bit-length bounds for evalParityFactorJet (Appendix B.2) #
Prefix-sum magnitude bound for every row of evalParityFactorJet ([OAI26c],
Appendix B.2).
Entry and row-prefix bit-length bound ([OAI26c], Appendix B.2): every entry and row
prefix sum uses $O(\ell^2 + \ell \log(\|\widetilde{y}\|_1 + |\Delta| + 2))$ bits under
encIntBin.
Plain polynomial-time certificates (ComputableInPolyTime) #
polyNorm1 l is bounded exponentially in (encList encIntBin l).length.
Polynomial-time certificate for polyAdd.
Polynomial-time certificate for cauchyCoeff.
Compositional plain polynomial-time certificate for mulZJet.
Polynomial-time certificate for polyMul.
Polynomial-time certificate for monic division by $Y^2 - Y$ (divModByH).
Polynomial-time certificate for parityPolyCoeffs.
Compositional plain polynomial-time certificate for parityLinearCoeffs.
Standalone plain polynomial-time certificate for parityLinearCoeffs on unary $\ell$.
Compositional polynomial-time certificate for truncZJet.
Compositional plain polynomial-time certificate for powZJet.
Wrapping a binary integer into a singleton list is polynomial-time.
Compositional plain polynomial-time certificate for evalParityFactorJet
([OAI26c], Appendix B.2) on unary $(J, \ell)$ and binary $(\Delta, \text{yJet})$.
Standalone plain polynomial-time certificate for evalParityFactorJet on unary $(J, \ell)$
and binary $(\Delta, \text{yJet})$.