Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.3: variational form of the nuclear norm

Proved
NeuralCollapseUFM.nuclear_norm_variational_form

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

cross-entropyneural-collapsesimplex-etfstrict-saddleunconstrained-feature-model

Let Z∈RK×NZ\in\mathbb{R}^{K\times N}Z∈RK×N, α>0\alpha>0α>0, and let d≥rank⁡Zd\ge\operatorname{rank}Zd≥rankZ. Then

∥Z∥∗=min⁡W∈RK×d,H∈Rd×NZ=WH12α(∥W∥F2+α∥H∥F2).\|Z\|_*=\min_{\substack{W\in\mathbb{R}^{K\times d},\,H\in\mathbb{R}^{d\times N}\\ Z=WH}}\frac1{2\sqrt\alpha}\big(\|W\|_F^2+\alpha\|H\|_F^2\big).∥Z∥∗​=W∈RK×d,H∈Rd×NZ=WH​min​2α​1​(∥W∥F2​+α∥H∥F2​).

That is, every factorization Z=WHZ=WHZ=WH satisfies ∥Z∥∗≤12α(∥W∥F2+α∥H∥F2)\|Z\|_*\le\frac1{2\sqrt\alpha}(\|W\|_F^2+\alpha\|H\|_F^2)∥Z∥∗​≤2α​1​(∥W∥F2​+α∥H∥F2​), and some factorization attains equality.

This identity links the factored objective fff to the convex program (37) with the nuclear-norm penalty λWλH∥Z∥∗\sqrt{\lambda_W\lambda_H}\|Z\|_*λW​λH​​∥Z∥∗​.

Formalization Note The paper does not name the inner dimension ddd of the factorization. The hypothesis d≥rank⁡Zd\ge\operatorname{rank}Zd≥rankZ makes the set of factorizations nonempty and the minimum attained. In Lemma C.2 and the proof of Theorem C.1 it is applied for arbitrary ddd, where only the inequality half is needed; that half holds for every ddd. The minimum is stated as a lower bound together with an attaining factorization.

Preamble
import Mathlib
import Definitions.Def_NeuralCollapseUFM_Basic

open Matrix Filter Topology
Formal statement
namespace NeuralCollapseUFM

theorem nuclear_norm_variational_form {K N d : ℕ} (Z : Matrix (Fin K) (Fin N) ℝ) (α : ℝ)
    (hα : 0 < α) (hd : Z.rank ≤ d) :
    (∀ (W : Matrix (Fin K) (Fin d) ℝ) (H : Matrix (Fin d) (Fin N) ℝ), W * H = Z →
      nuclearNorm Z ≤ 1 / (2 * Real.sqrt α) * (frobSq W + α * frobSq H)) ∧
    ∃ (W : Matrix (Fin K) (Fin d) ℝ) (H : Matrix (Fin d) (Fin N) ℝ), W * H = Z ∧
      nuclearNorm Z = 1 / (2 * Real.sqrt α) * (frobSq W + α * frobSq H) := by sorry

end NeuralCollapseUFM
Source
Zhu, Ding, Zhou, Li, You, Sulam and Qu, A Geometric Analysis of Neural Collapse with Unconstrained Features, arXiv:2105.02375v1 (2021), Appendix A, Lemma A.3, eq. (11), p. 28
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let K,N,dK, N, dK,N,d be natural numbers, any of which may be 000. Let Z∈RK×NZ \in \mathbb{R}^{K \times N}Z∈RK×N be a real matrix and α\alphaα a real number. The theorem assumes:

  • α>0\alpha > 0α>0;
  • rank⁡(Z)≤d\operatorname{rank}(Z) \le drank(Z)≤d, where rank is the usual rank over R\mathbb{R}R. If d=0d = 0d=0, this forces Z=0Z = 0Z=0.

Notation.

  • For a matrix AAA, ∥A∥F2=∑i,jAij2\|A\|_F^2 = \sum_{i,j} A_{ij}^2∥A∥F2​=∑i,j​Aij2​ is the sum of the squares of all its entries (the squared Frobenius norm).
  • The quantity ∥Z∥∗\|Z\|_*∥Z∥∗​ is defined from the characteristic polynomial of the K×KK \times KK×K matrix ZZ⊤Z Z^\topZZ⊤. Take the multiset of its real roots, counted with multiplicity. Apply the real square root to each root and sum the results. A negative input would map to 000 under this square root, but the roots of ZZ⊤Z Z^\topZZ⊤ are real and nonnegative. So this equals the sum of the singular values of ZZZ, with any zero eigenvalues contributing 000.
  • When K=0K = 0K=0, the sum is empty and ∥Z∥∗=0\|Z\|_* = 0∥Z∥∗​=0.

The theorem asserts the conjunction of two statements.

  1. (Lower bound for every factorization.) For every W∈RK×dW \in \mathbb{R}^{K \times d}W∈RK×d and H∈Rd×NH \in \mathbb{R}^{d \times N}H∈Rd×N with WH=ZW H = ZWH=Z,
∥Z∥∗  ≤  12α(∥W∥F2+α ∥H∥F2).\|Z\|_* \;\le\; \frac{1}{2\sqrt{\alpha}}\left(\|W\|_F^2 + \alpha\,\|H\|_F^2\right).∥Z∥∗​≤2α​1​(∥W∥F2​+α∥H∥F2​).
  1. (Attainment.) There exist W∈RK×dW \in \mathbb{R}^{K \times d}W∈RK×d and H∈Rd×NH \in \mathbb{R}^{d \times N}H∈Rd×N with WH=ZW H = ZWH=Z and
∥Z∥∗  =  12α(∥W∥F2+α ∥H∥F2).\|Z\|_* \;=\; \frac{1}{2\sqrt{\alpha}}\left(\|W\|_F^2 + \alpha\,\|H\|_F^2\right).∥Z∥∗​=2α​1​(∥W∥F2​+α∥H∥F2​).

The inner dimension ddd is the same fixed ddd from the hypothesis in both parts. Only factorizations through Rd\mathbb{R}^dRd are considered, and the minimum over them is claimed to equal ∥Z∥∗\|Z\|_*∥Z∥∗​ exactly.

Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me