Theorem 2 (as proved): identifiability up to for
ProvedIdentifiableVAE.block_permutation_identifiability_k_ge_twoAssume the hypotheses of Theorem 1 (as stated above) and . Assume further:
- (2.i) every sufficient statistic is twice differentiable;
- (2.ii) the mixing function has all first partial derivatives and all second cross derivatives , .
Let be a parameter describing a model on with the same properties: satisfies (iii) and (2.i), and satisfies (2.ii). If for all , then there are an invertible block-permutation matrix and such that, for almost every , for some and
Thus each block is an affine image of one block ,.
Formalization Note The conclusion concerns the matrix only. It does not say that acts coordinatewise: when the statistics are not injective, for example , that map is not determined by the equation. The proof differentiates and twice and applies Lemma 5 to . The class of competing parameters is therefore taken to satisfy the same assumptions (iii), (2.i) and (2.ii). As in Theorem 1, the conclusion is stated almost everywhere.
import Mathlib import Definitions.Def_IdentifiableVAE_Basic open MeasureTheory
namespace IdentifiableVAE
theorem block_permutation_identifiability_k_ge_two {n d m k : ℕ} (hk : 2 ≤ k) (hnd : n ≤ d)
(U : Set (Fin m → ℝ)) (hU : IsOpen U)
(Pε : Measure (EuclideanSpace ℝ (Fin d))) [IsProbabilityMeasure Pε] (hPε : Pε ≪ volume)
(θ : Param n d m k) (hθ : IsParam θ U)
(h1 : CharFunZeroNull Pε) (h3 : SuffStatRegular θ) (h4 : HasInvertibleL θ U)
(h21 : TwiceDiffStats θ) (h22 : HasSecondCrossPartials θ.f) :
IdentifiableUpTo Pε U
{θ' | IsParam θ' U ∧ SuffStatRegular θ' ∧ TwiceDiffStats θ' ∧ HasSecondCrossPartials θ'.f}
SimPAE θ := by sorry
end IdentifiableVAERead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers (latent dimension), (observation dimension), (auxiliary dimension) and (statistics per latent coordinate). The theorem assumes
Also fixed are:
- an open set of auxiliary values;
- a probability measure on Euclidean space (the noise law), absolutely continuous with respect to Lebesgue measure on ;
- a parameter with the following components:
- ;
- for ;
- for , ;
- for .
Observed law. For a parameter and a point , define the unnormalised factor, the normalising constant, the prior density and the prior law:
- A negative density value would be clipped to .
- A division by is read as .
The observed conditional law is the measure on given by the convolution
This is the law of with and independent.
Hypotheses on and the noise.
-
Valid parameter for . This bundles the following conditions:
- is measurable and injective;
- each is measurable and strictly positive everywhere;
- each is measurable;
- for every and every , the function is Lebesgue-integrable on .
-
Noise characteristic function. The set has Lebesgue measure zero, where .
-
Regular statistics. Two conditions:
- every is differentiable at Lebesgue-almost every ;
- for every , every Lebesgue-measurable-or-not set of positive (outer) Lebesgue measure, every and every : if for all , then .
-
Invertible . There exist points and , one for each index pair , with these properties:
- the points are pairwise distinct;
- each differs from ;
- the matrix with entry in row and column has nonzero determinant.
In particular must contain at least distinct points. For example, this is impossible if and .
-
Twice differentiable statistics. Every is differentiable everywhere on , and its derivative is also differentiable everywhere.
-
Second cross partials of . At every :
- every partial derivative exists (as a directional derivative along the -th basis vector);
- for every , the function has a partial derivative in direction .
The class . is the set of all parameters (with the same ) that satisfy:
- hypothesis 1 (valid parameter for );
- hypothesis 3 (regular statistics);
- hypothesis 5 (twice differentiable statistics);
- hypothesis 6 (second cross partials of ).
is not required to satisfy the invertible- condition 4.
Conclusion. For every , suppose the observed laws agree on , i.e. as measures on for every . Then there exist an real matrix (rows and columns indexed by pairs ) and a vector such that:
- is invertible;
- is a block permutation matrix: there is a permutation of with whenever ;
- for Lebesgue-almost every there exists with
where and .
The relation is only required almost everywhere in , not for every . On the exceptional null set, need not lie in the image of .
Edge case . In this case is a single point carrying unit mass. The matrix in hypothesis 4 is empty with determinant , so hypothesis 4 reduces to . and are empty, and the conclusion reduces to the existence of with at the unique point.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.