theorem
MindFormal.StationaryWriterRows.singular_norm_sq
{V : Type u_1}
[NormedAddCommGroup V]
[InnerProductSpace ℝ V]
[FiniteDimensional ℝ V]
(A : V →ₗ[ℝ] V)
(v : V)
:
‖A v‖ ^ 2 = ∑ k : Fin (Module.finrank ℝ V), A.singularValues ↑k ^ 2 * inner ℝ ((⋯.eigenvectorBasis ⋯) k) v ^ 2
Spectral expansion with the actual singular values of A, in descending order. These are Euclidean/Hilbert norms, not the sup norm on a Pi type.
theorem
MindFormal.StationaryWriterRows.singular_norm_bounds
{V : Type u_1}
[NormedAddCommGroup V]
[InnerProductSpace ℝ V]
[FiniteDimensional ℝ V]
(A : V →ₗ[ℝ] V)
(hdim : 0 < Module.finrank ℝ V)
(v : V)
:
theorem
MindFormal.StationaryWriterRows.singular_direction
{V : Type u_1}
[NormedAddCommGroup V]
[InnerProductSpace ℝ V]
[FiniteDimensional ℝ V]
(A : V →ₗ[ℝ] V)
(k : Fin (Module.finrank ℝ V))
:
have v := (⋯.eigenvectorBasis ⋯) k;
‖v‖ = 1 ∧ ‖A v‖ = A.singularValues ↑k
Each eigenvector of A* A is a right singular vector with unit norm and exact image norm. In particular the first and last attain both constants.
theorem
MindFormal.StationaryWriterRows.sharp_residual_bounds
{V : Type u_1}
[NormedAddCommGroup V]
[InnerProductSpace ℝ V]
[FiniteDimensional ℝ V]
(A : V →ₗ[ℝ] V)
(hA : Function.Bijective ⇑A)
(hdim : 0 < Module.finrank ℝ V)
(error residual : V)
(hr : A error = residual)
:
theorem
MindFormal.StationaryWriterRows.zero_dimension
{V : Type u_1}
[NormedAddCommGroup V]
[InnerProductSpace ℝ V]
[FiniteDimensional ℝ V]
(A : V →ₗ[ℝ] V)
(hdim : Module.finrank ℝ V = 0)
(v : V)
:
The zero-dimensional case has only the zero error and zero residual; there are no nonzero singular-vector directions to claim.