NLA-lib Explorer

NLAlib.sub_eq_one_sub_mul_sub_mul_one_sub

Library 路 theorem

The difference of two matrices in terms of the two one-sided products: \mathbf{P} - \mathbf{Q} = (\mathbf{I} - \mathbf{Q})\mathbf{P} - \mathbf{Q}(\mathbf{I} - \mathbf{P}).

NLAlib.sub_eq_one_sub_mul_sub_mul_one_sub.{u_1, u_3} {饾暅 : Type u_1} [RCLike 饾暅] {n : Type u_3}
  [Fintype n] [DecidableEq n] (P Q : Matrix n n 饾暅) : P - Q = (1 - Q) * P - Q * (1 - P)

Full source on GitHub

Import NLAlib.Matrix.Subspaces.ProjectorPair.