Polynomial-time construction of auxiliary exchange matrices and replacement rows #
Executable pure-integer counterparts, Lemma 4.6 magnitude and bit-length bounds, and plain
Turing.MultiTapeTM.ComputableInPolyTime certificates for the auxiliary measurement matrix C^B
(measurementMatrix), swap-interpolation matrix (R - 1)! M_0 (M0ScaledInt), common denominator
d_den = (R - 1)! Q! (commonDenom), and cleared replacement rows d_den · P⃗_u(T)
(auxReplacementRowScaledInt) from §§4.1–4.3 and §4.6 (Lemmas 4.1, 4.3, 4.6, and 4.7,
pp. 27–29, 33–34) of OpenAI, The Exponential Time Hypothesis is False. Plain
ComputableInPolyTime certificates cover the concrete Nat- and List-encoded routines
(decodeAuxDigits, encodeAuxDigits, commonDenom, auxMeasurementRowsBounded,
auxReplacementRowCoeffsDigits, auxReplacementRowCoeffsIdx, auxReplacementTableBounded), while
AuxLabel wrappers and full-D aliases (auxMeasurementRows, auxReplacementTable) provide
unencoded semantic bridges to Complexity.Foundations.LinearAlgebra.ExchangeReplacement.
Main definitions and results #
Cslib.LinearAlgebra.decodeAuxDigits,Cslib.LinearAlgebra.encodeAuxDigits,Cslib.LinearAlgebra.encodeAuxLabel,Cslib.LinearAlgebra.decodeAuxLabel,Cslib.LinearAlgebra.auxLabelEquivFin: mixed-radixAuxLabel Q rencoding and decoding.Cslib.LinearAlgebra.size_commonDenom_le,Cslib.LinearAlgebra.computableInPolyTime_commonDenom: bit-length bounds and polynomial-time certificates forcommonDenom Q R.Cslib.LinearAlgebra.auxMeasurementRowsBounded,Cslib.LinearAlgebra.auxMeasurementRows,Cslib.LinearAlgebra.isTableShape_auxMeasurementRows,Cslib.LinearAlgebra.rowEntry_auxMeasurementRows,Cslib.LinearAlgebra.measurementMatrix_mulVec_eq_zero_iff_auxMeasurementRows,Cslib.LinearAlgebra.computableInPolyTime_auxMeasurementRowsBounded: executable{0, 1, -1}measurement matrixC^B, table shape, kernel correspondence, and polynomial-time construction.Cslib.LinearAlgebra.auxReplacementRowCoeffs,Cslib.LinearAlgebra.auxReplacementTableBounded,Cslib.LinearAlgebra.natDegree_mismatchAnnihilatorScaledInt_le,Cslib.LinearAlgebra.getD_auxReplacementRowCoeffs,Cslib.LinearAlgebra.sum_row_natAbs_auxReplacementRowCoeffs_le,Cslib.LinearAlgebra.computableInPolyTime_auxReplacementTableBounded: executable cleared integer replacement rows via 1D swap-orbit DP, exactauxReplacementRowScaledIntequality, Lemma 4.6 bounds, and polynomial-time construction.
References #
- OpenAI, The Exponential Time Hypothesis is False, §§4.1–4.3 and §4.6
1. Mixed-radix AuxLabel encoding and decoding #
Decode idx in base r into two length-Q digit lists (u₁, u₂) via Cslib.Radix.digit.
Total for all r, idx: extracts the low 2 * Q digits idx / r ^ i % r when idx ≥ r ^ (2 * Q)
(0 digits at r = 1; at r = 0, slot 0 is idx when 0 < Q and higher slots are 0).
Instances For
Pack a pair of base-r digit lists (u₁, u₂) into a natural number via Nat.ofDigits.
Instances For
Pack u : AuxLabel Q r into its mixed-radix index < r ^ (2 * Q).
Instances For
First coordinate list of decodeAuxDigits Q r idx has length Q.
Second coordinate list of decodeAuxDigits Q r idx has length Q.
Every digit in (decodeAuxDigits Q r idx).1 is strictly less than r when 1 ≤ r.
Every digit in (decodeAuxDigits Q r idx).2 is strictly less than r when 1 ≤ r.
Encoding decodeAuxDigits Q r idx recovers idx for every idx < r ^ (2 * Q).
Converting decodeAuxLabel hD idx back to digits yields decodeAuxDigits Q r idx.
Every u : AuxLabel Q r encodes to an index strictly less than r ^ (2 * Q).
Decoding encodeAuxLabel u yields auxLabelToDigits u.
Left-inverse identity for decodeAuxLabel and encodeAuxLabel.
Right-inverse identity for encodeAuxLabel and decodeAuxLabel on idx < r ^ (2 * Q).
2. Common denominator bit-length bounds (commonDenom) #
Encoded encIntBin bit-length bound for (commonDenom Q R : ℤ).
3. Executable {0, 1, -1} measurement matrix C^B #
Executable 1-slot {0, 1, -1} basis value on natural-number digits α δ x y : ℕ.
Instances For
Measurement row indices outside Ico A₀ (A₀ + R), truncated to < min D_cap (r ^ (2 * Q)).
Instances For
Full list of measurement row indices < r ^ (2 * Q) outside Finset.Ico A₀ (A₀ + R).
Instances For
Every value of pairBasisNat lies in {0, 1, -1}.
Every entry of eigenvecDigits lies in {0, 1, -1}.
eigenvecDigits on auxLabelToDigits agrees identically with eigenvecInt.
antisymCountDigits on auxLabelToDigits agrees identically with antisymCount.
When r ^ (2 * Q) ≤ D_cap, auxMeasurementRowsBounded equals auxMeasurementRows.
Characterization of membership in auxMeasurementIndices Q r A₀ R via measurementIndices.
auxMeasurementRows Q r A₀ R is a #(measurementIndices Q r A₀ R) × r ^ (2 * Q) table.
Every entry of auxMeasurementRowsBounded D_cap Q r A₀ R belongs to {0, 1, -1}.
Every entry of auxMeasurementRowsBounded D_cap Q r A₀ R has absolute value at most 1.
In-bounds entry correspondence (i < length, u_idx < r ^ (2 * Q)) between
auxMeasurementRows and eigenvecInt via Cslib.rowEntry (0 out of bounds).
Kernel correspondence: ξ lies in ker (measurementMatrix Q r A₀ R K) iff its inner
product with every row in auxMeasurementRows Q r A₀ R vanishes.
4. Executable cleared integer replacement rows (auxReplacementRowCoeffs) #
Weight profile after multiplying ∏_{a < j} (2 W_0 - 2 (A₀ + a) I) on a swap orbit.
Instances For
Executable (R - 1)! M_0[u, y] entry summing j < R runs of the (m + 1)-state 1D
swap-orbit DP fallingOrbitWeights (0 at R = 0; missing digits read as 0).
Instances For
Executable dense coefficient list (length max R 1) of d_den · P⃗_u(T)_y on digit lists,
cleared by commonDenom Q R = (R - 1)! * Q! > 0 (at R = 0, (R - 1)! = 1 and length is 1;
missing digits read as 0).
Instances For
Executable cleared integer replacement polynomial coefficients from mixed-radix indices.
Instances For
4.1 Correctness of the 1D swap-orbit DP for M0ScaledInt #
m0ScaledIntDigits on auxLabelToDigits equals M0ScaledInt Q r A₀ R u y.
4.2 Correctness of mismatchAnnihilatorCoeffsDigits and auxReplacementRowCoeffs #
Reconstructing a polynomial from mismatchAnnihilatorCoeffsDigits yields
mismatchAnnihilatorScaledInt u y.
Length of auxReplacementRowCoeffsDigits is max R 1.
Length of auxReplacementRowCoeffs is max R 1 (equal to R whenever 1 ≤ R).
Degree of mismatchAnnihilatorScaledInt u y is at most #(mismatchSet u y).
Exact coefficient equality between auxReplacementRowCoeffs and
auxReplacementRowScaledInt.
Reconstructing a polynomial from auxReplacementRowCoeffs Q r A₀ R u y gives
auxReplacementRowScaledInt Q r A₀ R u y unconditionally.
When r ^ (2 * Q) ≤ D_cap, auxReplacementTableBounded equals auxReplacementTable.
Exact entry lookup in auxReplacementTable Q r A₀ R for u_idx, y_idx < r ^ (2 * Q).
4.3 Coefficient magnitude, coeffNorm1 bridge, and bit-length bounds (Lemma 4.6) #
Polynomial ℓ₁ bound ‖Q! φ_{u,y}‖₁ ≤ 2 ^ Q * Q! on mismatchAnnihilatorCoeffsDigits
(Lemma 4.6, p. 33).
Exact equality between the list ℓ₁ sum of auxReplacementRowCoeffs and
Polynomial.coeffNorm1 of auxReplacementRowScaledInt.
Unconditional magnitude bound on every coefficient of auxReplacementRowCoeffsDigits.
Explicit encIntBin bit-length bound for every coefficient of auxReplacementRowCoeffs
(Lemma 4.6, p. 33).
Row-ℓ₁ coefficient bound (Lemma 4.6, p. 33): when 0 < Q and ∀ a < R - 1, A₀ + a ≤ Q,
the sum of absolute values across row u of auxReplacementRowCoeffs is at most
commonDenom Q R * (1 + (1 + 2 ^ Q) * R * (4 * Q) ^ (R - 1)).
5. Plain polynomial-time certificates (Lemma 4.7, p. 34) #
decodeAuxDigits is computable in polynomial time from unary Q and binary (r, idx).
encodeAuxDigits is computable in polynomial time from binary r and digit lists u.
commonDenom Q R = (R - 1)! * Q! is computable in polynomial time from unary (Q, R).
(commonDenom Q R : ℤ) is computable in polynomial time in encIntBin from unary (Q, R).
auxMeasurementRowsBounded (C^B) is computable in polynomial time from unary
(D_cap, Q, r, A₀, R).
auxReplacementRowCoeffsDigits (d_den · P⃗_u(T)_y) is computable in polynomial time per
(u, y) pair from unary (Q, A₀, R) and digit lists u, y.
auxReplacementRowCoeffsIdx is computable in polynomial time per (u_idx, y_idx) pair from
unary (Q, A₀, R) and binary (r, u_idx, y_idx).
The D_len × D_len × max R 1 auxiliary replacement table (auxReplacementTableBounded,
with D_len = min D_cap (r ^ (2 * Q)), giving the full D × D table when r ^ (2 * Q) ≤ D_cap)
is computable in polynomial time from unary (D_cap, Q, r, A₀, R) (Lemma 4.7, p. 34).