Documentation

CslibFrontier.Foundations.LinearAlgebra.Tensor.Separate

From shared-left packings to packings with independent left inputs #

A shared-left degeneration computes w targets F i that share one left input. To compute them with independent left inputs A i, interpolate (Pass, Lemma 3.4): batch the left inputs into one polynomial A(ξ) with A(i) = A i, and the w column blocks B i j of the i-th right input into B'_i(ξ) with B'_i(i + ε j) = B i j. At each of 2 w - 1 evaluation points ξ = k all targets share the left input A(k), so the shared-left degeneration applies; interpolating the 2 w - 1 outputs, which are polynomials in ξ of degree at most 2 w - 2, and evaluating at ξ = i + ε j recovers F i (A i) (B i j) modulo ε, because A(i + ε j) ≡ A i modulo ε. The denominators ε ^ (w - 1) of the right encodings are cleared by raising the order, and the inner degeneration is used with ε replaced by ε ^ w so that its error survives the division.

The result (IsSLDegen.separate) is a degeneration, of order w h + w - 1, of 2 w - 1 independent copies of S ⊗ mm 1 1 u to the direct sum of the targets F i ⊗ mm 1 1 w, each target now with w column blocks and its own left input.

Main results #

References #

Structural helpers #

Substituting ε ↦ ε ^ w #

Lagrange interpolation at the nodes 0, …, m - 1 #

The right encoder polynomials #

The encoders and the decoder #

theorem Cslib.Tensor.IsSLDegen.separate {K : Type u_1} [Field K] [CharZero K] {X : Type u_2} {Y : Type u_3} {Z : Type u_4} {X' : Type u_5} {Y' : Type u_6} {Z' : Type u_7} [Finite X] [Finite Y] [Finite Z] [Fintype X'] [Fintype Y'] [Fintype Z'] [DecidableEq X'] {w u h : ℕ} {f : X → X'} {F : Fin w → Tensor K X Y Z} {S : Tensor K X' Y' Z'} (hF : IsSLDegen f h (slSum F) (slSum fun (x : Fin u) => S)) :
IsDegen (w * h + w - 1) (dsum fun (i : Fin w) => (F i).tprod (mm 1 1 w)) (dsum fun (x : Fin (2 * w - 1)) => S.tprod (mm 1 1 u))

From shared-left to independent left inputs (Pass, Lemma 3.4): a shared-left degeneration of order h of u copies of S to the targets F i, i < w, gives a degeneration of order w h + w - 1 of 2 w - 1 independent copies of S ⊗ mm 1 1 u to the direct sum of the targets F i ⊗ mm 1 1 w.