Lemma 7 (as proved): value of the combinatorial factor
ProvedSupConGeometry.supcon_comb_factorLet , , and , and let with and . Then the combinatorial factor of Lemma 5 equals
It is the counting step that turns the sum of repulsion terms over batches into a weighted sum over pairs of indices.
Formalization Note The paper states the identity "for every ". Its proof, and its only use (Lemma 9), take and . For other pairs the factor is , because or , and the printed identity fails. The statement is restricted accordingly. No balance assumption is needed.
import Mathlib import Definitions.Def_SupConGeometry_Basic open Finset
namespace SupConGeometry
theorem supcon_comb_factor {N K b : ℕ} (hb : 3 ≤ b) (Y : Fin N → Fin K) (y : Fin K) (l : ℕ)
(hl : 1 ≤ l) (hlb : l < b) (n m : Fin N) (hn : Y n = y) (hm : Y m ≠ y) :
combFactor Y b y l n m =
((batchesWithCount Y b y l).card : ℝ) /
((labelCount Y y : ℝ) * ((N : ℝ) - (labelCount Y y : ℝ))) := by sorry
end SupConGeometryRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers , and with . Let be any labelling that assigns a class to each index . Nothing is assumed about how balanced the labels are, and need not be surjective. Fix:
- a class ;
- a natural number with ;
- two indices with and .
These hypotheses force and , and the hypotheses on and guarantee that both class and its complement are non-empty.
Objects involved.
- is the number of indices with label .
- A batch is a multiset of exactly indices from . Repetitions are allowed and order is irrelevant.
- For a batch , the sub-multiset consists of the elements of labelled , kept with their multiplicities. The sub-multiset consists of the elements of not labelled , also with multiplicities.
- is the finite set of all batches of size with , counting multiplicity.
- For a multiset , denotes the multiplicity of in .
- The combinatorial factor is
computed in the real numbers. Here under the hypotheses.
Assertion. Under these hypotheses,
where the right-hand side is evaluated in the real numbers. The subtraction is ordinary real subtraction. The denominator is a product of two positive integers: because has label , and because does not. Consequently no division by zero occurs on either side.
In particular, the value of is claimed to be independent of the particular choice of in class and of outside class .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.