Documentation

LeanPool.MatrixMultiplicationAllFields.LinearAlgebra.MatrixMultiplication.Tensor.ComplexBatchCeiling

Finite coefficient tensors and their algebraic transformations.

Number of batches of size k needed to cover rank R, with natural-number division.

Equations
Instances For

    Rank bound obtained by repeatedly applying the finite batching recurrence.

    Equations
    Instances For
      theorem MatrixMultiplicationAllFields.MatrixMultiplication.Foundation.batchRank_succ_le_affine {k : ℕ} (hk : 0 < k) (r t : ℕ) :
      ↑(batchRank k r (t + 1)) ≤ ↑r / ↑k * ↑(batchRank k r t) + ↑r
      theorem MatrixMultiplicationAllFields.MatrixMultiplication.Foundation.Tensor.RankAtMost.repeat_batch_ceiling {K : Type u_1} {U : Type u_5} {V : Type u_6} {W : Type u_7} [CommSemiring K] {S : Tensor K U V W} {k r R : ℕ} (hbatch : (directSum fun (x : Fin k) => S).RankAtMost r) (hk : 0 < k) :
      (directSum fun (x : Fin R) => S).RankAtMost (batchCount R k * r)
      theorem MatrixMultiplicationAllFields.MatrixMultiplication.Foundation.Tensor.RankAtMost.batch_product_ceiling {K : Type u_1} {X : Type u_2} {Y : Type u_3} {Z : Type u_4} {U : Type u_5} {V : Type u_6} {W : Type u_7} [CommSemiring K] [Finite U] [Finite V] [Finite W] {T : Tensor K X Y Z} {S : Tensor K U V W} {R k r : ℕ} (hT : T.RankAtMost R) (hbatch : (directSum fun (x : Fin k) => S).RankAtMost r) (hk : 0 < k) :