Singular values and two-sided unitary matrix orbits #
Rectangular matrices lie in the same two-sided unitary orbit exactly when their singular values
agree. The singular values are Mathlib's LinearMap.singularValues, applied through
Matrix.toEuclideanLin; no second enumeration is introduced.
Matrix.exists_unitary_mul_diagonal_mul_unitary reads the operator singular value decomposition
in the standard orthonormal basis. The orbit characterization then identifies the diagonal
entries as complete invariants, including for singular matrices and in dimension zero.
For the special unitary group the determinant is a second invariant, and together with the
singular values it is complete:
Matrix.exists_specialUnitary_mul_mul_specialUnitary_iff_singularValues_eq_and_det_eq.
The reason is that the two-sided stabilizer of a square matrix over a nonempty index type contains
unitary pairs with arbitrary prescribed determinants whose product is one, and, for a singular
matrix, with independently prescribed determinants
(Matrix.exists_unitary_mul_mul_unitary_eq_self). Both come from rescaling one diagonal entry of
the singular value decomposition.
References #
- R. A. Horn and C. R. Johnson, Matrix Analysis, second edition, Section 2.6.
Left multiplication by a unitary matrix preserves every singular value.
Right multiplication by a unitary matrix preserves every singular value.
Every square matrix is a product of two unitary matrices and the diagonal matrix of its singular values in decreasing order. Zero singular values are allowed.
In a two-sided unitary factorization with a nonnegative decreasing real diagonal, the diagonal entries are the singular values.
Singular values classify two-sided unitary orbits of rectangular matrices. This is the matrix
form of LinearMap.mem_twoSidedUnitaryOrbit_iff_singularValues_eq.
The two-sided stabilizer of a square matrix over a nonempty index type contains pairs of
unitary matrices with any prescribed unitary determinants a and b such that a * b = 1. If
the matrix is singular, a and b are arbitrary.
Two square matrices lie in the same two-sided special unitary orbit exactly when their singular values and their determinants agree.