Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma C.2: the convex program (37) bounds the objective from below

Proved
NeuralCollapseUFM.convex_program_lower_bound

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

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

Let K≥2K\ge2K≥2, n≥1n\ge1n≥1, N=nKN=nKN=nK, λW,λH,λb>0\lambda_W,\lambda_H,\lambda_b>0λW​,λH​,λb​>0, and let (Z⋆,b⋆)(Z^\star,b^\star)(Z⋆,b⋆) be a global minimizer of the convex program

f~(Z,b)=g(Z+b1⊤)+λWλH ∥Z∥∗+λb2∥b∥22,Z∈RK×N, b∈RK.\tilde f(Z,b)=g(Z+b1^\top)+\sqrt{\lambda_W\lambda_H}\,\|Z\|_*+\frac{\lambda_b}2\|b\|_2^2,\qquad Z\in\mathbb{R}^{K\times N},\ b\in\mathbb{R}^K.f~​(Z,b)=g(Z+b1⊤)+λW​λH​​∥Z∥∗​+2λb​​∥b∥22​,Z∈RK×N, b∈RK.

Then f~(Z⋆,b⋆)≤f(W,H,b)\tilde f(Z^\star,b^\star)\le f(W,H,b)f~​(Z⋆,b⋆)≤f(W,H,b) for all W∈RK×dW\in\mathbb{R}^{K\times d}W∈RK×d, H∈Rd×NH\in\mathbb{R}^{d\times N}H∈Rd×N, b∈RKb\in\mathbb{R}^Kb∈RK.

The convex program is the lower model through which Theorem 3.2 certifies global optimality.

Formalization Note The lemma does not restrict ddd, and neither does the Lean statement.

Preamble
import Mathlib
import Definitions.Def_NeuralCollapseUFM_Basic

open Matrix Filter Topology
Formal statement
namespace NeuralCollapseUFM

theorem convex_program_lower_bound {K d n : ℕ} (hK : 2 ≤ K) (hn : 1 ≤ n)
    (lamW lamH lamb : ℝ) (hW : 0 < lamW) (hH : 0 < lamH) (hb : 0 < lamb)
    (Z : Matrix (Fin K) (Fin K × Fin n) ℝ) (b : Fin K → ℝ)
    (hmin : ∀ (Z' : Matrix (Fin K) (Fin K × Fin n) ℝ) (b' : Fin K → ℝ),
      convexObjective lamW lamH lamb Z b ≤ convexObjective lamW lamH lamb Z' b') :
    ∀ x : Params K d n, convexObjective lamW lamH lamb Z b ≤ objective lamW lamH lamb x := 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 C.2, Lemma C.2, eqs. (37)-(38), pp. 38 and 40
Read-back

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

Fix natural numbers KKK, ddd, nnn with K≥2K \ge 2K≥2 and n≥1n \ge 1n≥1. The feature dimension ddd is arbitrary and may be 000. Fix real numbers λW,λH,λb\lambda_W, \lambda_H, \lambda_bλW​,λH​,λb​ with

λW>0,λH>0,λb>0.\lambda_W > 0, \qquad \lambda_H > 0, \qquad \lambda_b > 0 .λW​>0,λH​>0,λb​>0.

Let Z∈RK×(K×n)Z \in \mathbb{R}^{K \times (K \times n)}Z∈RK×(K×n) be a real matrix. Its rows are indexed by j∈{1,…,K}j \in \{1,\dots,K\}j∈{1,…,K} and its N=KnN = KnN=Kn columns are indexed by pairs (k,i)(k,i)(k,i) with k∈{1,…,K}k \in \{1,\dots,K\}k∈{1,…,K} and i∈{1,…,n}i \in \{1,\dots,n\}i∈{1,…,n}. Write zk,i∈RKz_{k,i} \in \mathbb{R}^Kzk,i​∈RK for column (k,i)(k,i)(k,i). Let b∈RKb \in \mathbb{R}^Kb∈RK.

The ingredients.

  • Cross-entropy. For a vector z∈RKz \in \mathbb{R}^Kz∈RK and a label kkk, the loss is
LCE(z,k)=−log⁡ezk∑l=1Kezl.L_{CE}(z,k) = -\log\frac{e^{z_k}}{\sum_{l=1}^K e^{z_l}}.LCE​(z,k)=−log∑l=1K​ezl​ezk​​.
  • Averaged risk. For any K×(K×n)K \times (K\times n)K×(K×n) matrix YYY with columns yk,iy_{k,i}yk,i​,
g(Y)=1Kn∑k=1K∑i=1nLCE(yk,i,k).g(Y) = \frac{1}{Kn}\sum_{k=1}^K \sum_{i=1}^n L_{CE}(y_{k,i}, k).g(Y)=Kn1​k=1∑K​i=1∑n​LCE​(yk,i​,k).

Column (k,i)(k,i)(k,i) is scored against label kkk.

  • Bias broadcast. b1⊤b\mathbf{1}^\topb1⊤ denotes the K×(K×n)K \times (K\times n)K×(K×n) matrix whose every column equals bbb.

  • Nuclear norm. ∥Z∥∗\|Z\|_*∥Z∥∗​ is defined as the sum of the square roots of the KKK roots, counted with multiplicity, of the characteristic polynomial of the K×KK\times KK×K matrix ZZ⊤ZZ^\topZZ⊤. That is, it is the sum of the square roots of the eigenvalues of ZZ⊤ZZ^\topZZ⊤.

  • Norms. ∥⋅∥F2\|\cdot\|_F^2∥⋅∥F2​ is the sum of squared entries of a matrix, and ∥b∥22=∑jbj2\|b\|_2^2 = \sum_j b_j^2∥b∥22​=∑j​bj2​.

The two objectives.

The "convex counterpart" objective, on pairs (Z′,b′)(Z', b')(Z′,b′), is

f~(Z′,b′)=g(Z′+b′1⊤)+λWλH ∥Z′∥∗+λb2∥b′∥22.\tilde f(Z',b') = g\big(Z' + b'\mathbf{1}^\top\big) + \sqrt{\lambda_W\lambda_H}\,\|Z'\|_* + \frac{\lambda_b}{2}\|b'\|_2^2 .f~​(Z′,b′)=g(Z′+b′1⊤)+λW​λH​​∥Z′∥∗​+2λb​​∥b′∥22​.

The regularized objective is defined on triples x=(W,H,c)x = (W,H,c)x=(W,H,c), where:

  • W∈RK×dW \in \mathbb{R}^{K\times d}W∈RK×d;
  • H∈Rd×(K×n)H \in \mathbb{R}^{d\times(K\times n)}H∈Rd×(K×n), with columns indexed by pairs (k,i)(k,i)(k,i);
  • c∈RKc \in \mathbb{R}^Kc∈RK.

It is

f(W,H,c)=g(WH+c1⊤)+λW2∥W∥F2+λH2∥H∥F2+λb2∥c∥22.f(W,H,c) = g\big(WH + c\mathbf{1}^\top\big) + \frac{\lambda_W}{2}\|W\|_F^2 + \frac{\lambda_H}{2}\|H\|_F^2 + \frac{\lambda_b}{2}\|c\|_2^2 .f(W,H,c)=g(WH+c1⊤)+2λW​​∥W∥F2​+2λH​​∥H∥F2​+2λb​​∥c∥22​.

When d=0d = 0d=0, the matrices WWW and HHH are empty, so WH=0WH = 0WH=0 and ∥W∥F2=∥H∥F2=0\|W\|_F^2 = \|H\|_F^2 = 0∥W∥F2​=∥H∥F2​=0.

Hypothesis. (Z,b)(Z,b)(Z,b) is a global minimizer of f~\tilde ff~​:

f~(Z,b)≤f~(Z′,b′)for all Z′∈RK×(K×n), b′∈RK.\tilde f(Z,b) \le \tilde f(Z',b') \quad\text{for all } Z' \in \mathbb{R}^{K\times(K\times n)},\ b' \in \mathbb{R}^K .f~​(Z,b)≤f~​(Z′,b′)for all Z′∈RK×(K×n), b′∈RK.

The statement does not assert that such a minimizer exists. If none exists, the theorem holds vacuously.

Conclusion. For every triple (W,H,c)(W,H,c)(W,H,c) with W∈RK×dW \in \mathbb{R}^{K\times d}W∈RK×d, H∈Rd×(K×n)H \in \mathbb{R}^{d\times(K\times n)}H∈Rd×(K×n) and c∈RKc\in\mathbb{R}^Kc∈RK,

f~(Z,b)≤f(W,H,c).\tilde f(Z,b) \le f(W,H,c).f~​(Z,b)≤f(W,H,c).

In words: the minimum value of the convex counterpart is at most the value of the regularized objective at any point, for every feature dimension ddd.

The statement asserts only this inequality between values. It says nothing about:

  • equality of the two minimum values;
  • the structure of the minimizer (Z,b)(Z,b)(Z,b);
  • any relationship between ZZZ and a product WHWHWH.
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