noncomputable def
MindFormal.A641Awareness.hsSquare
{E : Type u_1}
{F : Type u_2}
[NormedAddCommGroup E]
[InnerProductSpace ℝ E]
[FiniteDimensional ℝ E]
[NormedAddCommGroup F]
[InnerProductSpace ℝ F]
(A : E →ₗ[ℝ] F)
:
Equations
- MindFormal.A641Awareness.hsSquare A = ∑ j : Fin (Module.finrank ℝ E), ‖A ((stdOrthonormalBasis ℝ E) j)‖ ^ 2
Instances For
theorem
MindFormal.A641Awareness.hsSquare_nonneg
{E : Type u_1}
{F : Type u_2}
[NormedAddCommGroup E]
[InnerProductSpace ℝ E]
[FiniteDimensional ℝ E]
[NormedAddCommGroup F]
[InnerProductSpace ℝ F]
(A : E →ₗ[ℝ] F)
:
theorem
MindFormal.A641Awareness.orthonormal_images_le_hsSquare
{E : Type u_1}
{F : Type u_2}
[NormedAddCommGroup E]
[InnerProductSpace ℝ E]
[FiniteDimensional ℝ E]
[NormedAddCommGroup F]
[InnerProductSpace ℝ F]
[FiniteDimensional ℝ F]
{I : Type u_3}
[Fintype I]
(A : E →ₗ[ℝ] F)
(v : I → E)
(hv : Orthonormal ℝ v)
:
theorem
MindFormal.A641Awareness.singular_image_square
{E : Type u_1}
{F : Type u_2}
[NormedAddCommGroup E]
[InnerProductSpace ℝ E]
[FiniteDimensional ℝ E]
[NormedAddCommGroup F]
[InnerProductSpace ℝ F]
[FiniteDimensional ℝ F]
(A : E →ₗ[ℝ] F)
(v : E)
:
‖A v‖ ^ 2 = ∑ j : Fin (Module.finrank ℝ E), A.singularValues ↑j ^ 2 * inner ℝ ((⋯.eigenvectorBasis ⋯) j) v ^ 2
theorem
MindFormal.A641Awareness.weighted_tail
{I : Type u_3}
[Fintype I]
[DecidableEq I]
(s : Finset I)
(eig w : I → ℝ)
(c : ℝ)
(hc : 0 ≤ c)
(hw : ∀ (i : I), 0 ≤ w i ∧ w i ≤ 1)
(hlo : ∀ i ∈ sᶜ, eig i ≤ c)
(hhi : ∀ i ∈ s, c ≤ eig i)
(hmass : ↑sᶜ.card ≤ ∑ i : I, w i)
:
Allocate at most one unit to each eigenvalue; the cheapest retained trace is in the tail. This elementary inequality is the spectral step in the Frobenius low-rank bound, rather than an assumed approximation bill.
noncomputable def
MindFormal.A641Awareness.spectralTailSquare
{E : Type u_1}
{F : Type u_2}
[NormedAddCommGroup E]
[InnerProductSpace ℝ E]
[FiniteDimensional ℝ E]
[NormedAddCommGroup F]
[InnerProductSpace ℝ F]
[FiniteDimensional ℝ F]
(A : E →ₗ[ℝ] F)
(m : ℕ)
:
Equations
- MindFormal.A641Awareness.spectralTailSquare A m = ∑ j : Fin (Module.finrank ℝ E), if m ≤ ↑j then A.singularValues ↑j ^ 2 else 0
Instances For
theorem
MindFormal.A641Awareness.spectralTailSquare_le
{E : Type u_1}
{F : Type u_2}
[NormedAddCommGroup E]
[InnerProductSpace ℝ E]
[FiniteDimensional ℝ E]
[NormedAddCommGroup F]
[InnerProductSpace ℝ F]
[FiniteDimensional ℝ F]
(A B : E →ₗ[ℝ] F)
(m : ℕ)
(hrank : Module.finrank ℝ ↥B.range ≤ m)
:
Every rank-at-most-m approximation pays the full squared singular value tail. The proof uses the approximation's kernel, Bessel and the internally selected sorted spectral basis of A* A.