Documentation

CslibFrontier.Foundations.LinearAlgebra.Tensor.Primal

The primal packing #

The primal packing of Pass, Theorem 3.1, generalizing the three-for-one degeneration of OpenAI's proof of ω ≤ 9/4: for c t ≥ a + 2 b - 1, the c + 1 full products Full_{a,b} of one polynomial A of length a with polynomials P₁, …, P_{c+1} of length b, together with one middle product Mid_{a,b} of A with a polynomial Q, are computed modulo ε from the c full products of A with the encoded polynomials E_ν = P_ν - z ^ t P_{ν+1} + ε z ^ b Q^{(ν)}, where Q^{(ν)} is the ν-th block of t consecutive coefficients of Q. The telescoping sum ∑ z ^ (t ν) A E_ν = A P₁ + ε z ^ b A Q - z ^ (c t) A P_{c+1} exposes the middle coefficients of A Q in the gap between the two endpoint products, and the successive differences recover the full products.

In the language of degenerations, this is a shared-left degeneration of order 1 of the sum of the c sources Full_{a,b+t} to the shared-left sum of the c + 2 targets, along the inclusion of the padded index sets (Tensor.isSLDegen_primal). Each coefficient of the decoded output is ε times the target plus ε ^ 2 times an error.

Main definitions #

Main results #

References #

def Cslib.Tensor.primalTargets {K : Type u_1} [CommRing K] (a b c : ℕ) (j : Fin (c + 2)) :
Tensor K (Fin (a + b - 1)) (Fin (a + b - 1)) (Fin (a + b - 1))

The targets of the primal packing: c + 1 copies of the full product Full_{a,b} followed by one middle product Mid_{a,b}.

The encoder, the decoder and the decoded entries #

The right encoder and the decoder are given by their entries as functions of the index values, ε-free parts and ε-parts separately; the decoded entries are computed as double sums over the source indices, and the three coefficient identities below are the telescoping argument.

theorem Cslib.Tensor.isSLDegen_primal {K : Type u_1} [CommRing K] {a b c t : ℕ} (ha : 1 ≤ a) (hb : 1 ≤ b) (ht : 1 ≤ t) (hc : a + 2 * b - 1 ≤ c * t) :
IsSLDegen (Fin.castLE ⋯) 1 (slSum (primalTargets a b c)) (slSum fun (x : Fin c) => full a (b + t))

The primal packing (Pass, Theorem 3.1): for a, b, t ≥ 1 and c t ≥ a + 2 b - 1, the shared-left sum of c + 1 full products Full_{a,b} and one middle product Mid_{a,b} is a shared-left degeneration of order 1 of the shared-left sum of c full products Full_{a,b+t}, along the inclusion Fin (a + b - 1) → Fin (a + (b + t) - 1) of the padded index sets.