Documentation

CslibFrontier.Foundations.LinearAlgebra.Matrix.PolarDecomposition

Finite-dimensional polar decomposition #

Matrices with the same column Gram matrix differ by a unitary on the left. The Gram identity first gives an isometry on the range and the finite-dimensional extension theorem makes it unitary on the whole space. The result gives a polar decomposition even at singular inputs and a variational characterization of the trace norm.

Main results #

theorem Matrix.exists_unitary_mul_eq_of_conjTranspose_mul_eq {m : Type u_1} {n : Type u_2} [Fintype m] [DecidableEq m] [Finite n] (A B : Matrix m n ℂ) (h : A.conjTranspose * A = B.conjTranspose * B) :
∃ U ∈ unitaryGroup m ℂ, U * A = B

Two matrices with the same column Gram matrix differ by a unitary on the left.

noncomputable def Matrix.traceNorm {m : Type u_1} {n : Type u_2} [Fintype m] [Fintype n] [DecidableEq n] (A : Matrix m n ℂ) :

The trace norm is the trace of the positive modulus √(Aᴴ A).

theorem Matrix.exists_unitary_polar {n : Type u_2} [Fintype n] [DecidableEq n] (A : Matrix n n ℂ) :
∃ U ∈ unitaryGroup n ℂ, U * CFC.sqrt (A.conjTranspose * A) = A

A square matrix is a unitary times its positive modulus.

theorem Matrix.IsHermitian.re_trace_conjTranspose_mul {n : Type u_2} [Fintype n] {H : Matrix n n ℂ} (hH : H.IsHermitian) (U : Matrix n n ℂ) :

Taking the adjoint of one factor in the real trace pairing with a Hermitian matrix preserves the pairing.

Real trace overlap with a unitary is bounded by the trace norm.

The polar witness attains the trace norm as a complex trace with zero imaginary part.

The trace norm is the maximum real trace overlap with a unitary, attained by a polar factor.

The trace norm of a rectangular matrix is unchanged by taking the conjugate transpose.

theorem Matrix.trace_conjStarAlgAut {n : Type u_2} [Fintype n] [DecidableEq n] (U : ↥(unitary (Matrix n n ℂ))) (A : Matrix n n ℂ) :

Trace is invariant under unitary conjugation.

Trace norm is invariant under unitary conjugation.