Lemma B.5: a classifier on augmentations gives a labeling with few cut edges
ProvedSpectralContrastive.labels_cut_boundConsider the finite data model and labels . Suppose a classifier on augmented data predicts the label with error at most :
(Assumption 3.6). Then there is an extended labeling function with
The paper's is the partition induced by . The lemma turns the recoverability assumption into a bound on the edge weight crossing the classes.
import Mathlib import Definitions.Def_SpectralContrastive_Basic open Matrix
namespace SpectralContrastive
theorem labels_cut_bound {Xbar X : Type*} [Fintype Xbar] [Fintype X] [DecidableEq X] {r : ℕ}
(P : Xbar → ℝ) (A : Xbar → X → ℝ) (hM : IsAugModel P A) (y : Xbar → Fin r) (α : ℝ)
(g : X → Fin r) (hg : labelDisagree P A y g ≤ α) :
∃ yhat : X → Fin r, labelDisagree P A y yhat ≤ α ∧
cutWeight (augWeight P A) yhat ≤ 2 * α := by sorry
end SpectralContrastiveRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let (natural data) and (augmented data) be finite sets, with equality on decidable. Let and write .
Data model. Let and , written . Assume the pair is an augmentation model:
- for all , and ;
- for all , and for every ;
- every has some with and .
These conditions force and to be nonempty.
Labels and classifier. Let be a labelling of natural data. Since is nonempty, such a exists only if , so for the statement is vacuous. Let be arbitrary, and let be any function on augmented data.
Disagreement. For any , define the disagreement
which is the probability that when and .
Hypothesis. Assume . Because , this can only hold when .
Graph weights. Define the augmentation-graph weights
For , define the cut weight
This sum is over ordered pairs, so each unordered pair with distinct labels is counted twice.
Conclusion. The theorem asserts that there exists a function such that
The statement places no requirement relating to . The function appears only in the hypothesis, as a witness that some classifier on achieves disagreement at most with . No graph properties of are assumed beyond those implied by its definition and the augmentation-model conditions.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.