Theorem 1, eq. (11): Jensen lower bound for the cross-entropy loss
ProvedNeuralCollapseCE.ce_loss_jensen_boundLet and let be unit vectors, with and . Then
This is inequality (11) in the proof of Theorem 1, obtained from Jensen's inequality for the exponential (9) and for the convex function . It reduces Theorem 1 to bounding the quadratic form .
import Mathlib import Definitions.Def_NeuralCollapseCE_Basic open MeasureTheory Filter Topology Asymptotics
namespace NeuralCollapseCE
theorem ce_loss_jensen_bound {n d : ℕ} (hn : 2 ≤ n) (u v : Fin n → Vec d)
(hu : IsUnitConfig u) (hv : IsUnitConfig v) :
(n : ℝ) * Real.log (1 + ((n : ℝ) - 1) * Real.exp ((1 / (n : ℝ)) *
(inner ℝ (∑ i, v i) (∑ i, u i) / ((n : ℝ) - 1) -
(n : ℝ) / ((n : ℝ) - 1) * ∑ i, inner ℝ (v i) (u i)))) ≤
ceLoss u v := by sorry
end NeuralCollapseCERead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and be natural numbers with . Let carry its standard Euclidean inner product and norm . Let and be two arbitrary -tuples of vectors in . The hypotheses are that every vector is a unit vector:
There is no other assumption. No relation between and is required, is allowed, and the (or the ) may coincide.
When the only vector in is , which has norm . Since , the hypotheses cannot be satisfied in that case, so the statement is vacuously true for .
The theorem uses the cross-entropy loss
where is the natural logarithm. Each ratio here is a positive real number, so every logarithm is taken of a positive argument.
The theorem asserts that, under the hypotheses above,
On the left-hand side:
- The first term inside the exponential is the inner product of the sum of all the with the sum of all the , divided by .
- The second term is times the sum of the "diagonal" inner products .
- Because , the denominators and are nonzero.
- The argument of the outer logarithm is strictly positive, since it is plus a positive quantity.
So no degenerate values from division by zero or from logarithms of non-positive numbers occur.
The inequality is a non-strict . It is asserted for every pair of unit-vector tuples , not only for minimizers. The statement makes no claim about when equality holds.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.