Matrix.mulVec_eq_submatrix_castLE_mulVec
Library · theorem
A product through the leading columns: if the columns of \mathbf{Q} \in R^{m \times q} from k \le q on vanish, then \mathbf{Q}\mathbf{y} = \mathbf{Q}_{:,<k}\,\mathbf{y}_{<k}, the first k columns of \mathbf{Q} applied to the first k entries of \mathbf{y}.
Matrix.mulVec_eq_submatrix_castLE_mulVec.{u_4, u_5} {α : Type u_4} [NonUnitalNonAssocSemiring α]
{l : Type u_5} {q k : ℕ} (h : k ≤ q) (Q : Matrix l (Fin q) α)
(hQ : ∀ (j : Fin q), k ≤ ↑j → Q.col j = 0) (y : Fin q → α) :
Q *ᵥ y = Q.submatrix id (Fin.castLE h) *ᵥ y ∘ Fin.castLE hImport NLAlib.ForMathlib.Data.Matrix.Mul.