Documentation

CslibFrontier.Foundations.LinearAlgebra.Matrix.Kronecker

The rank of a Kronecker product, and its action on vectors #

Over a commutative semiring, a Kronecker product acts on vectors indexed by pairs factor by factor: (A ⊗ₖ B) v is computed by applying A to the first index and B to the second (Matrix.kronecker_mulVec_mul for a product vector v (i, k) = x i * y k). With an identity factor, A ⊗ₖ 1 acts as A on the first index (Matrix.kronecker_one_mulVec_apply) and 1 ⊗ₖ B as B on the second (Matrix.one_kronecker_mulVec_apply).

Over a field, a matrix of rank r factors through r-dimensional space (Matrix.exists_eq_mul_rank). Applying this to both factors of a Kronecker product and using Matrix.mul_kronecker_mul bounds the rank of A ⊗ₖ B by A.rank * B.rank (Matrix.rank_kronecker_le). Equality holds as well, but only the upper bound is proved here.

Main results #

References #

These are standard facts of linear algebra. The Kronecker bound is the "≤" half of the multiplicativity of rank used for Claim 7(3) of N. Limaye, S. Srinivasan, S. Tavenas, Superpolynomial lower bounds against low-depth algebraic circuits, pp. 6–7.

theorem Matrix.kronecker_mulVec_mul {R : Type u_1} {l : Type u_2} {m : Type u_3} {n : Type u_4} {p : Type u_5} [CommSemiring R] [Fintype m] [Fintype p] (A : Matrix l m R) (B : Matrix n p R) (x : m → R) (y : p → R) :
((kroneckerMap (fun (x1 x2 : R) => x1 * x2) A B).mulVec fun (q : m × p) => x q.1 * y q.2) = fun (q : l × n) => A.mulVec x q.1 * B.mulVec y q.2

(A ⊗ₖ B)(x ⊗ y) = Ax ⊗ By: a Kronecker product maps a product vector to the product of the images.

theorem Matrix.kronecker_one_mulVec_apply {R : Type u_1} {l : Type u_2} {m : Type u_3} {n : Type u_4} [NonAssocSemiring R] [Fintype m] [Fintype n] [DecidableEq n] (A : Matrix l m R) (v : m × n → R) (q : l × n) :
(kroneckerMap (fun (x1 x2 : R) => x1 * x2) A 1).mulVec v q = A.mulVec (fun (i : m) => v (i, q.2)) q.1

A ⊗ₖ 1 acts as A on the first index.

theorem Matrix.one_kronecker_mulVec_apply {R : Type u_1} {m : Type u_3} {n : Type u_4} {p : Type u_5} [NonAssocSemiring R] [Fintype m] [Fintype p] [DecidableEq m] (B : Matrix n p R) (v : m × p → R) (q : m × n) :
(kroneckerMap (fun (x1 x2 : R) => x1 * x2) 1 B).mulVec v q = B.mulVec (fun (k : p) => v (q.1, k)) q.2

1 ⊗ₖ B acts as B on the second index.

theorem Matrix.rank_kronecker_le {K : Type u_1} [Field K] {l : Type u_2} {m : Type u_3} {n : Type u_4} {p : Type u_5} [Finite m] [Finite p] (A : Matrix l m K) (B : Matrix n p K) :
(kroneckerMap (fun (x1 x2 : K) => x1 * x2) A B).rank ≤ A.rank * B.rank

The rank of a Kronecker product is at most the product of the ranks.