Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2, eq. (7): lower bound for the symmetric loss

Proved
NeuralCollapseCE.sym_loss_lower_bound

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

cross-entropyjensen-inequalityneural-collapsesimplex-etfuniform-distribution-on-sphere

Let n≥2n\ge2n≥2, α>0\alpha>0α>0, and let u1,…,un∈Rdu_1,\dots,u_n\in\mathbb{R}^du1​,…,un​∈Rd be unit vectors. Then

Lα(u) ≥ nlog⁡(1+(n−1) e−nαn−1).\mathcal{L}_\alpha(u)\ \ge\ n\log\Big(1+(n-1)\,e^{-\frac{n\alpha}{n-1}}\Big).Lα​(u) ≥ nlog(1+(n−1)e−n−1nα​).

This is the lower bound (7) obtained in the proof of Theorem 2 by two applications of Jensen's inequality. It is attained exactly by the simplex equiangular tight frames, which gives the value of the minimum in Theorem 2.

Formalization Note The bound holds for every dimension ddd; the hypothesis d≥n−1d\ge n-1d≥n−1 of Theorem 2 is used only for attainment and is not assumed.

Preamble
import Mathlib
import Definitions.Def_NeuralCollapseCE_Basic

open MeasureTheory Filter Topology Asymptotics
Formal statement
namespace NeuralCollapseCE

theorem sym_loss_lower_bound {n d : ℕ} (hn : 2 ≤ n) (α : ℝ) (hα : 0 < α)
    (u : Fin n → Vec d) (hu : IsUnitConfig u) :
    (n : ℝ) * Real.log (1 + ((n : ℝ) - 1) * Real.exp (-((n : ℝ) * α / ((n : ℝ) - 1)))) ≤
      symLoss α u := by sorry

end NeuralCollapseCE
Source
Lu and Steinerberger, Neural collapse with cross-entropy loss, arXiv:2012.08465v2 (2021), Section 2 (proof of Theorem 2), eq. (7), p. 6
Read-back

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

Let nnn and ddd be natural numbers with n≥2n \ge 2n≥2, and let α\alphaα be a real number with α>0\alpha > 0α>0. Let u=(u1,…,un)u = (u_1, \dots, u_n)u=(u1​,…,un​) be any family of nnn vectors in Rd\mathbb{R}^dRd, equipped with the standard Euclidean inner product ⟨⋅,⋅⟩\langle \cdot, \cdot \rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. Assume every vector has unit length:

∥ui∥=1for all i=1,…,n.\|u_i\| = 1 \quad \text{for all } i = 1, \dots, n.∥ui​∥=1for all i=1,…,n.

The theorem asserts the inequality

n⋅log⁡ ⁣(1+(n−1) exp⁡ ⁣(−n αn−1))  ≤  Lα(u).n \cdot \log\!\Big(1 + (n-1)\, \exp\!\Big(-\frac{n\,\alpha}{n-1}\Big)\Big) \;\le\; L_\alpha(u).n⋅log(1+(n−1)exp(−n−1nα​))≤Lα​(u).

Here log⁡\loglog is the real natural logarithm, exp⁡\expexp is the real exponential, and n−1n - 1n−1 is computed as a real number. Since n≥2n \ge 2n≥2, the denominator n−1n-1n−1 is at least 111, so no division by zero occurs. The quantity Lα(u)L_\alpha(u)Lα​(u) is the symmetric loss

Lα(u)  =  ∑i=1nlog⁡ ⁣(1+∑j=1j≠inexp⁡ ⁣(α (⟨uj,ui⟩−1))).L_\alpha(u) \;=\; \sum_{i=1}^{n} \log\!\Big(1 + \sum_{\substack{j=1 \\ j \ne i}}^{n} \exp\!\big(\alpha\,(\langle u_j, u_i\rangle - 1)\big)\Big).Lα​(u)=i=1∑n​log(1+j=1j=i​∑n​exp(α(⟨uj​,ui​⟩−1))).

In each outer term, the inner sum runs over all indices jjj other than iii. Its summands are strictly positive, so each logarithm is applied to a number greater than 111, and no junk value of the logarithm arises.

The statement holds for every dimension ddd, including d=0d = 0d=0 and d=1d = 1d=1, and for every unit configuration uuu. Vectors may repeat: ui=uju_i = u_jui​=uj​ for i≠ji \ne ji=j is permitted. Two edge cases:

  • When d=0d = 0d=0: the space R0\mathbb{R}^0R0 contains only the zero vector, which has norm 000. The unit-norm hypothesis therefore cannot be satisfied, and the statement is vacuously true in that case.
  • When d≥1d \ge 1d≥1: unit configurations exist, so the hypothesis is satisfiable.

The theorem asserts only this one-sided, non-strict lower bound. It makes no claim that the bound is attained, nor does it say which configurations, if any, achieve equality.

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

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 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