Theorem 2: zero reconstruction error and zero compositional contrast give slot identifiability
ProvedObjectCentric.compositional_contrast_identifiableLet and , let and let . Let be a diffeomorphism with inverse that is compositional with irreducible mechanisms. Let the latent law be a probability measure with full support on (every nonempty open set has positive mass), and let . Let the encoder and the decoder be differentiable, and let . If
then slot-identifies in the sense of Definition 6.
This is the optimisation form of Theorem 1: an auto-encoder with zero reconstruction error and zero compositional contrast identifies the objects.
Formalization Note Differentiable means here ( relative to ). The decoder's codomain is the hypothesis . Full support of is the standing assumption of Section 2. The expectation is the -valued integral over of the integrand at , so a non-integrable integrand cannot make it vanish. The slot dimension is assumed to satisfy .
import Mathlib import Definitions.Def_ObjectCentric_Basic open MeasureTheory
namespace ObjectCentric
theorem compositional_contrast_identifiable {K M N : ℕ} (hM : 0 < M) (X : Set (Obs N))
(f : Lat K M → Obs N) (g : Obs N → Lat K M) (hf : IsDiffeoWithInv f g X)
(hfc : IsCompositional f) (hfi : IsIrreducible f)
(pz : Measure (Lat K M)) [IsProbabilityMeasure pz] [pz.IsOpenPosMeasure]
(ghat : Obs N → Lat K M) (fhat : Lat K M → Obs N)
(hghat : ContDiffOn ℝ 1 ghat X) (hfhat : ContDiff ℝ 1 fhat) (hfhatX : Set.range fhat ⊆ X)
(lam : ℝ) (hlam : 0 < lam) (hobj : aeObjective f pz ghat fhat lam = 0) :
SlotIdentifies f ghat := by sorry
end ObjectCentricRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers (number of slots), (slot dimension) and (number of pixels), with ; and may be . The latent space is : a latent has slot vectors . The pixel space is . The theorem takes the following data:
- a set ;
- maps and ;
- a probability measure on ;
- maps and ;
- a real number .
Derivative notions used below. For any map and any :
- The Jacobian is the real matrix with rows indexed by pixels and columns by pairs . Its entry is the derivative of at in the direction of the unit vector that has a in coordinate of slot and elsewhere.
- The slot gradient is the vector of those entries for .
- The index set is .
- For a set of pixels, is the submatrix of formed by the rows in , keeping all columns. Its rank is the real matrix rank.
Hypotheses.
-
is invertible onto . is on all of . is on , with no condition on outside . The image of equals exactly. Finally, for every .
-
Compositionality. For every and all slots , , where the index sets are computed for . In words, no pixel has a nonzero slot gradient with respect to two different slots at the same point.
-
Irreducibility. Take any , any slot , and any two sets of pixels that are nonempty and disjoint with . Then
Whenever has at most one element, no such split exists and the condition holds vacuously at that .
-
The measure. is a probability measure on that gives strictly positive mass to every nonempty open subset of .
-
Regularity of the model. is on , with no condition outside . is on all of , and every value of lies in .
-
Positive weight. .
-
The objective vanishes. For , write . The compositional contrast of at is
where is the Euclidean norm on . The hypothesis is
where .
- The integral is the extended-nonnegative lower Lebesgue integral: the supremum of integrals of measurable simple functions lying below the integrand.
- The integrand itself is not assumed measurable.
- No measurability assumption is made on , or anywhere.
- Since and both terms are nonnegative, the never truncates anything.
Conclusion (slot identifiability of by ). For every slot there is exactly one slot for which some map satisfies both of the following:
- is and has a two-sided inverse that is also ;
- for every , the -th slot of equals :
Uniqueness is asserted only for the slot , not for the map . The conclusion does not state that is a bijection of slots.
Remarks on what is and is not assumed.
- No relation between and , or between and , is assumed beyond the hypotheses above.
- is not assumed injective or compositional.
- appears only in hypothesis 1.
Degenerate cases.
- If , the conclusion holds trivially because there are no slots.
- If , hypothesis 1 forces to be a single point. With this happens only when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.