Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2: each inferred slot generates pixels of exactly one ground-truth slot

Proved
ObjectCentric.inferred_slot_meets_one_object

by Xeroth · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

identifiabilityjacobian-rankobject-centric-learningrepresentation-learning

Let K≥0K\ge0K≥0 and M≥1M\ge1M≥1, let Z=(RM)K\mathcal Z=(\mathbb R^M)^KZ=(RM)K and let X⊆RN\mathcal X\subseteq\mathbb R^NX⊆RN. Let f:Z→X\mathbf f:\mathcal Z\to\mathcal Xf:Z→X be a diffeomorphism with inverse g\mathbf gg that is compositional with irreducible mechanisms. Let g^:X→Z\hat{\mathbf g}:\mathcal X\to\mathcal Zg^​:X→Z be a diffeomorphism with inverse f^:Z→X\hat{\mathbf f}:\mathcal Z\to\mathcal Xf^:Z→X that is compositional. Write z^=g^(f(z))\hat{\mathbf z}=\hat{\mathbf g}(\mathbf f(\mathbf z))z^=g^​(f(z)) and let I^j(z^)\hat I_j(\hat{\mathbf z})I^j​(z^) be the index sets of f^\hat{\mathbf f}f^. Then for all z∈Z\mathbf z\in\mathcal Zz∈Z and j∈[K]j\in[K]j∈[K] there is exactly one i∈[K]i\in[K]i∈[K] with

I^j(z^)∩Ii(z)≠∅.\hat I_j(\hat{\mathbf z})\cap I_i(\mathbf z)\neq\emptyset.I^j​(z^)∩Ii​(z)=∅.

Each inferred slot generates pixels of exactly one ground-truth slot.

Formalization Note The slot dimension is assumed to satisfy M≥1M\ge1M≥1, which the paper takes for granted (each slot encodes MMM object properties).

Preamble
import Mathlib
import Definitions.Def_ObjectCentric_Basic

open MeasureTheory
Formal statement
namespace ObjectCentric

theorem inferred_slot_meets_one_object {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)
    (ghat : Obs N → Lat K M) (fhat : Lat K M → Obs N) (hhat : IsDiffeoWithInv fhat ghat X)
    (hfhatc : IsCompositional fhat) :
    ∀ (z : Lat K M) (j : Fin K), ∃! i : Fin K,
      (indexSet fhat (ghat (f z)) j ∩ indexSet f z i).Nonempty := by sorry

end ObjectCentric
Source
Brady, Zimmermann, Sharma, Schölkopf, von Kügelgen and Brendel, Provably Learning Object-Centric Representations, ICML 2023, arXiv:2305.14229v1 (2023), Appendix A, Proposition 2, pp. 16-18
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Fix natural numbers KKK (number of slots), MMM (dimension of each slot) and NNN (number of pixels), with the hypothesis M>0M > 0M>0. There is no assumption on KKK or NNN. The latent space is Z=(RM)KZ = (\mathbb{R}^M)^KZ=(RM)K: a point z∈Zz \in Zz∈Z assigns to each slot k∈{1,…,K}k \in \{1,\dots,K\}k∈{1,…,K} a vector zk∈RMz_k \in \mathbb{R}^Mzk​∈RM. The pixel space is RN\mathbb{R}^NRN. Let X⊆RNX \subseteq \mathbb{R}^NX⊆RN be an arbitrary set.

The generator and its inverse. Let f:Z→RNf : Z \to \mathbb{R}^Nf:Z→RN and g:RN→Zg : \mathbb{R}^N \to Zg:RN→Z be maps satisfying all of the following:

  • fff is continuously differentiable (C1C^1C1) on all of ZZZ;
  • ggg is C1C^1C1 on the set XXX;
  • the image of fff is exactly XXX, that is, f(Z)=Xf(Z) = Xf(Z)=X;
  • g(f(z))=zg(f(z)) = zg(f(z))=z for every z∈Zz \in Zz∈Z. In particular fff is injective.

Notation used in the remaining hypotheses. For any map F:Z→RNF : Z \to \mathbb{R}^NF:Z→RN and any point w∈Zw \in Zw∈Z, write

∂Fn∂wk(w)∈RM\frac{\partial F_n}{\partial w_k}(w) \in \mathbb{R}^M∂wk​∂Fn​​(w)∈RM

for the vector of partial derivatives of pixel nnn of FFF with respect to the MMM coordinates of slot kkk, taken at www. The index set of slot kkk at www is

IkF(w)={ n∈{1,…,N}:∂Fn∂wk(w)≠0 },I^F_k(w) = \Big\{\, n \in \{1,\dots,N\} : \frac{\partial F_n}{\partial w_k}(w) \neq 0 \,\Big\},IkF​(w)={n∈{1,…,N}:∂wk​∂Fn​​(w)=0},

the set of pixels whose derivative with respect to slot kkk is not the zero vector. FFF is called compositional if, for every w∈Zw \in Zw∈Z and every pair of distinct slots k≠jk \neq jk=j,

IkF(w)∩IjF(w)=∅.I^F_k(w) \cap I^F_j(w) = \emptyset.IkF​(w)∩IjF​(w)=∅.

For a set of pixels SSS, let rk⁡S(w)\operatorname{rk}_S(w)rkS​(w) denote the rank of the submatrix of the full N×KMN \times KMN×KM Jacobian of FFF at www formed by the rows indexed by SSS.

Hypotheses on fff.

  • fff is compositional.

  • fff is irreducible. That is, for every z∈Zz \in Zz∈Z, every slot kkk, and every pair of sets S1,S2S_1, S_2S1​,S2​ of pixels satisfying

    • S1S_1S1​ and S2S_2S2​ are nonempty,
    • S1∩S2=∅S_1 \cap S_2 = \emptysetS1​∩S2​=∅,
    • S1∪S2=Ikf(z)S_1 \cup S_2 = I^f_k(z)S1​∪S2​=Ikf​(z),

    the ranks of the corresponding row-submatrices of the Jacobian of fff at zzz satisfy the strict inequality

rk⁡S1∪S2(z)<rk⁡S1(z)+rk⁡S2(z).\operatorname{rk}_{S_1 \cup S_2}(z) < \operatorname{rk}_{S_1}(z) + \operatorname{rk}_{S_2}(z).rkS1​∪S2​​(z)<rkS1​​(z)+rkS2​​(z).

This condition holds vacuously at any (z,k)(z,k)(z,k) where Ikf(z)I^f_k(z)Ikf​(z) has fewer than two elements.

The model maps. Further, let g^:RN→Z\hat g : \mathbb{R}^N \to Zg^​:RN→Z (encoder) and f^:Z→RN\hat f : Z \to \mathbb{R}^Nf^​:Z→RN (decoder) satisfy the same four conditions as the pair (f,g)(f, g)(f,g), with respect to the same set XXX:

  • f^\hat ff^​ is C1C^1C1 on ZZZ;
  • g^\hat gg^​ is C1C^1C1 on XXX;
  • f^(Z)=X\hat f(Z) = Xf^​(Z)=X, so f^\hat ff^​ has the same image as fff;
  • g^(f^(w))=w\hat g(\hat f(w)) = wg^​(f^​(w))=w for all w∈Zw \in Zw∈Z.

In addition, f^\hat ff^​ is assumed compositional, in the sense above, at every point of ZZZ.

What is not assumed. Irreducibility of f^\hat ff^​ is not assumed. No probability distribution, no reconstruction objective, no compositional-contrast objective, and no optimality or minimization condition appears anywhere in the statement.

Conclusion. For every z∈Zz \in Zz∈Z and every slot jjj, write z^=g^(f(z))\hat z = \hat g(f(z))z^=g^​(f(z)). This is well-defined as a point of ZZZ, and f(z)∈Xf(z) \in Xf(z)∈X. Then there exists exactly one slot i∈{1,…,K}i \in \{1,\dots,K\}i∈{1,…,K} such that

Ijf^(z^)∩Iif(z)≠∅.I^{\hat f}_j(\hat z) \cap I^{f}_i(z) \neq \emptyset.Ijf^​​(z^)∩Iif​(z)=∅.

In words: the set of pixels that depend (under f^\hat ff^​, at z^\hat zz^) on inferred slot jjj shares at least one pixel with the set of pixels that depend (under fff, at zzz) on ground-truth slot iii. This happens for one and only one iii.

This conclusion carries two consequences:

  • Existence. For every zzz and every jjj, the index set Ijf^(z^)I^{\hat f}_j(\hat z)Ijf^​​(z^) must be nonempty.
  • Uniqueness. It meets no other Ii′f(z)I^f_{i'}(z)Ii′f​(z) with i′≠ii' \neq ii′=i.

Degenerate cases.

  • K=0K = 0K=0. The conclusion is vacuously true, since there is no slot jjj.
  • Injectivity requirement. The hypotheses require fff to be a continuous injection from RKM\mathbb{R}^{KM}RKM into RN\mathbb{R}^NRN. For example, they cannot be satisfied when N=0N = 0N=0 and K≥1K \geq 1K≥1.
Human review
  • Endorsed by Shuze Chen · Nov 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me