A rectangular matrix mask retains a block with the selected cardinalities
Provedmme_MMObj_rectangle_mask_cardinality_restrictionmatrix-multiplicationtensor-restriction
Let be a field and be natural numbers. Choose sets of column indices among labels and of row indices among labels. In the third coordinate of , retain precisely the matrix units with and , leaving the first two coordinates unchanged. The resulting projected tensor restricts to
Thus a rectangular shared-coordinate mask retains a matrix block of volume . Empty selections and zero dimensions are allowed.
Preamble
import Definitions.Def_mme_tensor_rank import Definitions.Def_mme_permutation import Mathlib.Tactic.FinCases open MME PiTensorProduct Module BigOperators universe u set_option autoImplicit false
Formal statement
theorem mme_MMObj_rectangle_mask_cardinality_restriction
{K : Type u} [Field K] (n m p : ℕ)
(C : Fin n → Prop) (R : Fin p → Prop) [DecidablePred C] [DecidablePred R] :
let P : ∀ i, (MMObj K n m p).V i →ₗ[K] (MMObj K n m p).V i :=
Function.update (fun _ ↦ LinearMap.id) 2
(LinearMap.pi (fun ki : Fin p × Fin n ↦
if R ki.1 ∧ C ki.2 then LinearMap.proj ki else 0))
TensorObj.Restrict
(MMObj K (Fintype.card {i : Fin n // C i}) m (Fintype.card {k : Fin p // R k}))
{ MMObj K n m p with t := PiTensorProduct.map P (MMObj K n m p).t } := by sorrySource
Coordinate restriction along injective row and column enumerations, followed by commutation with the rectangular mask.