Theorem (Matrix.PosDef.isGreatest_setOf_posSemidef_fromBlocks). Greatest positive block completion. For positive definite \mathbf{A} and positive semidefinite \mathbf{B}, their geometric mean is the greatest Hermitian \mathbf{X} for which the block matrix with diagonal \mathbf{A},\mathbf{B} and off-diagonal \mathbf{X} is positive semidefinite. [Tropp2022, Definition 16.15 and Theorem 12.16].
Headline
Lean statement and details
Matrix.PosDef.isGreatest_setOf_posSemidef_fromBlocks.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} [Fintype n] [DecidableEq n] {A B : Matrix n n 𝕜} (hA : A.PosDef)
(hB : B.PosSemidef) :
IsGreatest {X | X.IsHermitian ∧ (fromBlocks A X X B).PosSemidef} (matrixPerspective Real.sqrt A B)