NLAlib.HasOrthonormalCols.exists_fromCols
Library · theorem
Orthonormal completion: a matrix \mathbf{Q} with orthonormal columns indexed by n extends, by columns \mathbf{Q}' indexed by any type p with \lvert n \rvert + \lvert p \rvert = \lvert m \rvert, to a matrix \begin{\mathbf{b}matri\mathbf{x}} \mathbf{Q} & \mathbf{Q}' \end{\mathbf{b}matri\mathbf{x}} with orthonormal columns. That matrix has as many rows as columns, so it is unitary up to relabelling: HasOrthonormalCols.mul_conjTranspose_add_mul_conjTranspose gives \mathbf{Q}\mathbf{Q}^{\mathsf{H}} + \mathbf{Q}'\mathbf{Q}'^{\mathsf{H}} = \mathbf{I}.
NLAlib.HasOrthonormalCols.exists_fromCols.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} {p : Type u_4} [Fintype m] [Fintype n] [Fintype p] [DecidableEq n]
[DecidableEq p] {Q : Matrix m n 𝕜} (hQ : HasOrthonormalCols Q)
(h : Fintype.card n + Fintype.card p = Fintype.card m) : ∃ Q', HasOrthonormalCols (Q.fromCols Q')Import NLAlib.Matrix.Basic.OrthonormalBasis.