Theorem 3 (with the regularity its proof uses): identifiability up to for
ProvedIdentifiableVAE.permutation_identifiability_k_eq_oneAssume the hypotheses of Theorem 1 (as stated above) with , and write . Assume further:
- each is continuous and its turning points are isolated: every has a punctured neighbourhood on each side of which is strictly monotonic;
- (3.i) no is monotonic, meaning that none is strictly increasing or strictly decreasing;
- (3.ii) all partial derivatives of exist and are continuous; moreover is a embedding (a homeomorphism onto its image) whose differential is injective at every point.
Let be a parameter describing a model on with the same properties: satisfies (iii), each is continuous with isolated turning points and is not monotonic, and is a embedding with injective differential. Let also have the same image as . If for all , then there are an invertible matrix with exactly one nonzero entry in each row and column, that is a scaled permutation matrix, and . For almost every , for some , and
Formalization Note The statement adds the hypotheses that the printed proof uses but the printed theorem does not state.
- Continuity of and . Without it the statement is false. For example, take the Gaussian location model of Proposition 1 and redefine at the two points so that is not monotonic. The observed laws are unchanged, and the rotation of Proposition 1 gives a competing parameter that is not related by a permutation.
- The proof says that "by hypothesis" is with nonvanishing Jacobian. Continuous partial derivatives of and do not give this. For example, gives a that is not differentiable. An injective map need not even have a continuous inverse. The embedding conditions, together with a common image (the paper's standing notation), make a diffeomorphism of .
- The proof chooses a neighbourhood in which has a single minimum, which needs isolated turning points.
The printed proof also assumes "without loss of generality" that every attains a minimum at the chosen point. This fails when some of the maps have only maxima. A topological argument at a point where every non-constant has a strict local extremum repairs it. That argument compares the level set of , a hypersurface, with that of . The conclusion is stated almost everywhere.
import Mathlib import Definitions.Def_IdentifiableVAE_Basic open MeasureTheory
namespace IdentifiableVAE
theorem permutation_identifiability_k_eq_one {n d m : ℕ} (hnd : n ≤ d)
(U : Set (Fin m → ℝ)) (hU : IsOpen U)
(Pε : Measure (EuclideanSpace ℝ (Fin d))) [IsProbabilityMeasure Pε] (hPε : Pε ≪ volume)
(θ : Param n d m 1) (hθ : IsParam θ U)
(h1 : CharFunZeroNull Pε) (h3 : SuffStatRegular θ) (h4 : HasInvertibleL θ U)
(hTc : ∀ i, Continuous (θ.T i 0)) (hTi : ∀ i, IsolatedTurningPoints (θ.T i 0))
(h31 : NotMonotoneStats θ) (h32 : HasContinuousPartials θ.f) (hemb : IsC1Embedding θ.f) :
IdentifiableUpTo Pε U
{θ' | IsParam θ' U ∧ SuffStatRegular θ' ∧ (∀ i, Continuous (θ'.T i 0)) ∧
(∀ i, IsolatedTurningPoints (θ'.T i 0)) ∧ NotMonotoneStats θ' ∧
HasContinuousPartials θ'.f ∧ IsC1Embedding θ'.f ∧ Set.range θ'.f = Set.range θ.f}
SimPAE θ := by sorry
end IdentifiableVAERead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers with , and take the number of sufficient statistics per latent coordinate to be . Latent vectors are , observations are (Euclidean space with its standard inner product and Lebesgue measure), and auxiliary variables are .
A parameter consists of:
- a function ;
- functions for ;
- functions (one statistic per coordinate, since );
- a map .
From and one forms the unnormalised factors and normalising constants
Two conventions apply. The integral is taken to be if is not Lebesgue-integrable, and division by gives . The prior density is
The prior law is Lebesgue measure on weighted by this density, with negative values truncated to . When , the product is and is the unit mass on the single point of .
Given a noise measure on , the observed law is
This is the law of with and independent.
Hypotheses. Let be an open set. Let be a probability measure on that is absolutely continuous with respect to Lebesgue measure, and whose characteristic function
vanishes only on a Lebesgue-null subset of .
Let be a parameter satisfying all of the following.
-
Admissibility on .
- is measurable and injective.
- Each is measurable and strictly positive everywhere on .
- Each is measurable.
- For every and every , the function is Lebesgue-integrable on .
-
Regular statistics.
- Each is differentiable at Lebesgue-almost every .
- For every , every of positive Lebesgue measure, and all reals : if for all , then . Equivalently, is not constant on any set of positive measure.
-
Invertible . There exist points with the following properties:
- are pairwise distinct;
- each differs from ;
- the matrix has nonzero determinant.
For the determinant is , so this only requires .
-
Each is continuous.
-
Isolated turning points. For every and every there is such that is strictly increasing or strictly decreasing on , and likewise (independently) on .
-
Non-monotone statistics. No is strictly increasing on all of , and no is strictly decreasing on all of .
-
Continuous partials. For every coordinate , the partial derivative exists at every and is continuous in .
-
embedding. is continuously (Fréchet) differentiable, is a topological embedding, and its differential is injective at every .
Comparison class. Let be the set of all parameters , with the same and , that satisfy:
- conditions 1, 2, 4, 5, 6, 7 and 8 above (with tildes);
- .
Condition 3 is not required of .
Conclusion. For every , suppose as measures on for every . Then there exist an invertible real matrix , a vector , and a permutation of such that:
- whenever , so that, by invertibility, is a permutation matrix with nonzero scalings ;
- for Lebesgue-almost every there exists with and
The "almost every" refers to Lebesgue measure on , not to the prior. Since is injective, is unique. The base measures need not equal . Values of and of the observed laws for play no role.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.