Lemma 4: singular values evolve by
ProvedDimensionalCollapse.singular_value_derivativeLet have, for all near , a singular value decomposition with orthogonal and , and suppose , and the are differentiable at . Then for every
where are the -th columns of and .
This is the singular-value part of the matrix-dynamics lemma of Arora et al. (2019).
Formalization Note The paper assumes a differentiable SVD implicitly; it is written as a hypothesis on a neighbourhood of . The singular values are not required to be sorted or distinct, since the identity does not need it.
import Mathlib import Definitions.Def_DimensionalCollapse_Basic open Matrix Filter Topology
namespace DimensionalCollapse
theorem singular_value_derivative {d : ℕ} (W U V : ℝ → Matrix (Fin d) (Fin d) ℝ)
(sig : ℝ → Fin d → ℝ) (t : ℝ) (hsvd : IsDiffSVDAt W U V sig t) :
∀ k, deriv (fun s => sig s k) t =
∑ a, ∑ b, U t a k * deriv (fun s => W s a b) t * V t b k := by sorry
end DimensionalCollapseRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a natural number, and let
be three arbitrary matrix-valued functions of a real parameter . Let be an arbitrary vector-valued function, with components for . Fix a real number . Write , , for matrix entries.
Hypothesis (differentiable SVD at ). There is a neighbourhood of such that, for every in it, all of the following hold:
- is an orthogonal matrix, i.e. ;
- is an orthogonal matrix;
- every entry is nonnegative: for all ;
- the factorization holds:
In addition, every entry function , every entry function , and every component is differentiable at the single point .
Nothing else is assumed. In particular:
- The values are not required to be sorted in any order.
- They are not required to be distinct; repeated or zero values are allowed.
- No differentiability of is assumed separately. Differentiability is assumed only at , not on the whole neighbourhood.
Conclusion. For every index ,
Equivalently, , where and are the -th columns of and .
How the derivatives are read. Each derivative here is the ordinary one-variable derivative at . By convention, this derivative is taken to be whenever the function fails to be differentiable at .
- For each , differentiability at is a hypothesis.
- For the entries , differentiability at is not stated directly. It follows because, near , equals the product , and each factor is differentiable at .
Degenerate case. When , there is no index , and the statement holds trivially.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.