Proposition 1: every ground-truth slot affects some inferred slot
ProvedObjectCentric.inferred_slot_depends_on_some_slotLet and , let and let . Let be a diffeomorphism with inverse that is compositional. Let be a diffeomorphism (with inverse ) and . Then for all and there is with
Formalization Note The slot dimension is assumed to satisfy , which the paper takes for granted. For every block is the empty matrix and the statement would fail. The compositionality of is a hypothesis of the paper's statement although its proof does not use it; it is kept.
import Mathlib import Definitions.Def_ObjectCentric_Basic open MeasureTheory
namespace ObjectCentric
theorem inferred_slot_depends_on_some_slot {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)
(ghat : Obs N → Lat K M) (fhat : Lat K M → Obs N) (hhat : IsDiffeoWithInv fhat ghat X) :
∀ (z : Lat K M) (i : Fin K), ∃ j : Fin K, slotBlock (fun w => ghat (f w)) z j i ≠ 0 := by sorry
end ObjectCentricRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix natural numbers (number of slots), (dimension of each slot) and (number of pixels), and assume . The latent space is , the space of tuples with . The pixel space is . Let be any set, and let
be arbitrary maps satisfying the hypotheses below.
Hypotheses on and .
- is continuously differentiable () on all of .
- is on the set , in the sense of differentiability relative to .
- The image of is exactly .
- for every , so is injective.
Compositionality of . For a point and a slot , write for the vector of partial derivatives of pixel with respect to the coordinates of slot . These are read off from the Fréchet derivative of at . Define
The hypothesis is that for every and every pair of distinct slots ,
Hypotheses on and . These are the same diffeomorphism-with-inverse conditions, with the same set :
- is on all of .
- is on , relative to .
- The image of is exactly .
- for every .
No other assumption is made on or . In particular, nothing is assumed about compositionality of and nothing about any training objective.
Conclusion. Consider the composite map , written . For slots and a point , let
be the matrix whose entry is the derivative of the -th coordinate of output slot of in the direction of the -th coordinate of input slot , at . This is taken from the Fréchet derivative of on all of . By convention, if is not differentiable at this derivative is defined to be zero, and then every such block is the zero matrix. Note that is only assumed differentiable relative to , which need not give ambient differentiability of at points of when is not open.
The theorem asserts that for every and every slot there exists a slot such that
that is, at least one entry of that block is nonzero. The slot may depend on and , and it need not be unique.
Degenerate case. When there are no slots , so the conclusion holds vacuously.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.