Theorem (SymmetricGauge.apply_singularValuesFinsupp_sub_le).Mirsky's theorem. In every unitarily invariant norm, the sorted singular values are 1-Lipschitz: the gauge of the difference of the singular value sequences of \mathbf{A} and \mathbf{B} is at most the norm of \mathbf{A} - \mathbf{B}, \Phi\bigl(\sigma_0(\mathbf{A}) - \sigma_0(\mathbf{B}),\, \sigma_1(\mathbf{A}) - \sigma_1(\mathbf{B}),\, \dots\bigr) \le \|\mathbf{A} - \mathbf{B}\|_{\Phi}\,. [HornJohnson2013, Corollary 7.4.9.3]; [Bhatia1997, Theorem IV.3.4].
Headline (provisional)
Lean statement and details
NLAlib.SymmetricGauge.apply_singularValuesFinsupp_sub_le.{u_1, u_3, u_4} {๐ : Type u_1} [RCLike ๐]
{m : Type u_3} {n : Type u_4} [Fintype m] [Fintype n] (ฮฆ : SymmetricGauge) (A B : Matrix m n ๐) :
ฮฆ (singularValuesFinsupp A - singularValuesFinsupp B) โค ฮฆ.matrixNorm (A - B)
Theorem (frobNorm_sub_sq_eq_sum_singularValues_sub_sq_iff).Equality in Mirsky's inequality. For real or complex rectangular matrices \mathbf{A},\mathbf{B} of the same shape, the squared Frobenius distance equals the squared distance of their descending singular value lists exactly when \operatorname{Re}\operatorname{tr}(\mathbf{A}\mathbf{B}^{\mathsf{H}}) = \sum_i \sigma_i(\mathbf{A})\sigma_i(\mathbf{B})\,. Both sums extend to the smaller matrix dimension, including zero. [HornJohnson2013, ยง7.4.1], the Frobenius equality case of the singular-value inequalities. This extends the real statement in the original NLAlib formal library, NLAlib.Matrix.Factorizations.ProcrustesRotations, commit 77514ce42a0e437d837797a063ac161f41022730, to RCLike matrices.
General form: sizes are index types
Lean statement and details
NLAlib.frobNorm_sub_sq_eq_sum_singularValues_sub_sq_iff.{u_1, u_2, u_3} {๐ : Type u_1} [RCLike ๐]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (A B : Matrix m n ๐) :
frobNorm (A - B) ^ 2 =
โ i โ Finset.range (min (Fintype.card m) (Fintype.card n)),
(singularValues A i - singularValues B i) ^ 2 โ
frobInner A B =
โ i โ Finset.range (min (Fintype.card m) (Fintype.card n)),
singularValues A i * singularValues B i
Theorem (sum_abs_singularValues_add_sub_le_kyFanNorm).Lidskii's inequality for singular values. For any finite set S of indices, \sum_{i \in S} \lvert \sigma_i(\mathbf{A} + \mathbf{E}) - \sigma_i(\mathbf{A}) \rvert \le \|\mathbf{E}\|_{(\lvert S \rvert)} = \sum_{j < \lvert S \rvert} \sigma_j(\mathbf{E}) \,. [HornJohnson1991, Theorem 3.4.5]; [Bhatia1997, Theorem IV.3.4].
Lean statement and details
NLAlib.sum_abs_singularValues_add_sub_le_kyFanNorm.{u_1, u_2, u_3} {๐ : Type u_1} [RCLike ๐]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (A E : Matrix m n ๐) (S : Finset โ) :
โ i โ S, |singularValues (A + E) i - singularValues A i| โค kyFanNorm S.card E
Theorem (sum_singularValues_sub_sq_le_frobNorm_sub_sq).Mirsky's inequality in the Frobenius norm. The sorted singular values are 1-Lipschitz: for any finite set S of indices, \sum_{i \in S} \bigl(\sigma_i(\mathbf{A}) - \sigma_i(\mathbf{B})\bigr)^2 \le \|\mathbf{A} - \mathbf{B}\|_{\mathsf{F}}^2 \,. [HornJohnson2013, Corollary 7.4.1.3].
Lean statement and details
NLAlib.sum_singularValues_sub_sq_le_frobNorm_sub_sq.{u_1, u_2, u_3} {๐ : Type u_1} [RCLike ๐]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (A B : Matrix m n ๐) (S : Finset โ) :
โ i โ S, (singularValues A i - singularValues B i) ^ 2 โค frobNorm (A - B) ^ 2
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k โฅ 1.