Theorem (posSemidef_fromBlocks_iff_exists). Albert's criterion. The block matrix \begin{\mathbf{b}matri\mathbf{x}} \mathbf{A} & \mathbf{B} \\ \mathbf{B}^{\mathsf{H}} & \mathbf{C} \end{\mathbf{b}matri\mathbf{x}} is positive semidefinite exactly when \mathbf{A} is, the equation \mathbf{A}\mathbf{X} = \mathbf{B} has a solution, and \mathbf{C} - \mathbf{X}^{\mathsf{H}}\mathbf{A}\mathbf{X} is positive semidefinite for one such solution (equivalently for all, Matrix.IsHermitian.conjTranspose_mul_mul_eq_of_mul_eq). [HornJohnson2013, Theorem 7.7.9]; stated there with the pseudoinverse solution \mathbf{X} = \mathbf{A}^{+}\mathbf{B} and the range condition \mathbf{A}\mathbf{A}^{+}\mathbf{B} = \mathbf{B}, here with any solution, so that no pseudoinverse is needed.
Headline (provisional)
Lean statement and details
NLAlib.posSemidef_fromBlocks_iff_exists.{u_1, u_2, u_3} {๐ : Type u_1} [RCLike ๐] {m : Type u_2}
{n : Type u_3} [Fintype m] [Finite n] {A : Matrix m m ๐} {B : Matrix m n ๐} {C : Matrix n n ๐} :
(fromBlocks A B Bแดด C).PosSemidef โ A.PosSemidef โง โ X, A * X = B โง (C - Xแดด * A * X).PosSemidef