Section 3.3: the diversity condition with a fixed set of classes needs
ProvedLinearIdentifiability.diversity_requires_enough_classesLet , let , and let be a finite set of classes. If there are tuples of elements of such that the matrix with columns is invertible, then
In supervised classification, where is the fixed set of all labels, the diversity condition can therefore only hold when there are more classes than embedding dimensions.
Formalization Note The paper phrases this as the number of classes needed to generate difference vectors ; the statement allows arbitrary tuples in , which includes that case. The hypothesis excludes the degenerate case , .
import Mathlib import Definitions.Def_LinearIdentifiability_Basic open Matrix
namespace LinearIdentifiability
theorem diversity_requires_enough_classes {Y : Type*} {M : ℕ} (hM : 0 < M)
(g : Y → Fin M → ℝ) (S : Finset Y) (a b : Fin M → Y)
(ha : ∀ i, a i ∈ S) (hb : ∀ i, b i ∈ S) (hL : IsUnit (diffMatrix g a b).det) :
M + 1 ≤ S.card := by sorry
end LinearIdentifiabilityRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be an arbitrary type (a set of "targets" or class labels, with no structure assumed) and let be a natural number with . The theorem takes the following data:
- a function , assigning to each a real vector ;
- a finite subset ;
- two -tuples of elements of , and , indexed by .
It assumes:
- every belongs to ;
- every belongs to ;
- the real matrix whose -th column is the difference vector is invertible. Explicitly, its entries are
and the assumption is .
Under these hypotheses the theorem concludes that has at least elements:
Several points about the scope of the statement:
- What the tuples may contain. The tuples and are not required to be injective, and an may coincide with some . If for some , the -th column of is zero and , so hypothesis 3 rules out that case.
- What is not involved. No probability distribution, data distribution, representation , or model probability appears. The only objects are , , and , and the only link between and is that all lie in .
- The case . This case is excluded by the hypothesis . For , the empty matrix has determinant , so hypothesis 3 would hold trivially, while the conclusion could fail for .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.