NLA-lib Explorer

Existence of the pseudoinverse

Library · Result group

Theorem (exists_isPinv). Existence of the pseudoinverse. Every matrix \mathbf{A}, of any shape and rank, has a Moore–Penrose pseudoinverse: some \mathbf{B} satisfies the four Penrose identities \mathbf{A}\mathbf{B}\mathbf{A} = \mathbf{A}, \quad \mathbf{B}\mathbf{A}\mathbf{B} = \mathbf{B}, \quad (\mathbf{A}\mathbf{B})^{\mathsf{H}} = \mathbf{A}\mathbf{B}, \quad (\mathbf{B}\mathbf{A})^{\mathsf{H}} = \mathbf{B}\mathbf{A}\,. [GolubVanLoan2013, §5.5.2].

Headline

Lean statement and details
NLAlib.exists_isPinv.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_3} {n : Type u_4}
  [Fintype m] [Fintype n] (A : Matrix m n 𝕜) : ∃ B, IsPinv A B

Full source on GitHub

Copy link