NLA-lib Explorer

NLAlib.mul_embedBlock_eq_setRect

Library · theorem

The product by \operatorname{diag}(\mathbf{I}, \mathbf{V}, \mathbf{I}) (the block on [c_0, c_0 + q)) replaces the column block \mathbf{X} of \mathbf{U} on that range by \mathbf{X}\mathbf{V}.

NLAlib.mul_embedBlock_eq_setRect {N c0 q : ℕ} (hc : c0 + q ≤ N) (U : Matrix (Fin N) (Fin N) ℂ)
  (V : Matrix (Fin q) (Fin q) ℂ) : U * embedBlock c0 V = setRect U 0 c0 (subRect U 0 c0 N q * V)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.StoredBlocks.