NLA-lib Explorer

Matrix.mul_pow_mul

Library · theorem

Powers of the two products of rectangular matrices intertwine: (\mathbf{C}\mathbf{D})^j\mathbf{C} = \mathbf{C}(\mathbf{D}\mathbf{C})^j for \mathbf{C} \in R^{m \times n} and \mathbf{D} \in R^{n \times m}. The rectangular form of Mathlib's mul_pow_mul.

Matrix.mul_pow_mul.{u_2, u_3, u_4} {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n]
  {α : Type u_4} [Semiring α] [DecidableEq m] [DecidableEq n] (C : Matrix m n α) (D : Matrix n m α)
  (j : ℕ) : (C * D) ^ j * C = C * (D * C) ^ j

Full source on GitHub

Import NLAlib.ForMathlib.Data.Matrix.Mul.