Theorem 1 (as proved): the contrastive regression recovers the independent components
ProvedNonlinearICAAux.nonlinear_ica_identifiabilityAssume the nonlinear ICA model with auxiliary variables: has a probability law , the sources have conditional density , and with a diffeomorphism of , . Assume further:
- each has continuous second derivatives;
- the Assumption of Variability holds;
- is invertible, and and have continuous second derivatives;
- the regression function of eq. (6) equals the optimal regression function, the log-density ratio of the two classes and : for all and ,
Then the hidden units give the independent components up to a permutation and component-wise invertible transformations: there are a permutation and bijections with
This is the paper's identifiability result for nonlinear ICA with auxiliary variables.
Formalization Note The printed theorem concludes that logistic regression "in the limit of infinite data" with universal approximation is consistent. The proof starts from the identity in item 4, which is what that limit is taken to mean; the passage from the logistic loss to the log-density ratio is the separate statement logistic_optimum_is_log_ratio, which holds only almost everywhere. The permutation is not in the printed conclusion but is produced by the proof and cannot be avoided. Under items 2 and 4 the proof forces to be a sum of functions of single sources, so item 4 can hold only when the sources are marginally independent.
import Mathlib import Definitions.Def_NonlinearICAAux_Basic open MeasureTheory open scoped ENNReal
namespace NonlinearICAAux
theorem nonlinear_ica_identifiability {n m : ℕ} (μ : Measure (Fin m → ℝ)) [IsProbabilityMeasure μ]
(q : Fin n → ℝ → (Fin m → ℝ) → ℝ) (f : (Fin n → ℝ) ≃ (Fin n → ℝ))
(hM : IsAuxICAModel μ q f) (hq : ∀ i u, ContDiff ℝ 2 (fun s => q i s u))
(hvar : Variability q)
(h : (Fin n → ℝ) ≃ (Fin n → ℝ)) (hh : IsC2Diffeo h) (ψ : Fin n → ℝ → (Fin m → ℝ) → ℝ)
(hopt : ∀ x u, regFun ψ h x u = logRatio μ q f x u) :
∃ σ : Equiv.Perm (Fin n), ∃ φ : Fin n → ℝ → ℝ, (∀ i, Function.Bijective (φ i)) ∧
∀ x i, h x i = φ i (f.symm x (σ i)) := by sorry
end NonlinearICAAuxRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be arbitrary natural numbers, with and allowed. Write for the source/observation space and for the auxiliary-variable space. The theorem takes the following data and hypotheses.
- Law of the auxiliary variable. is any probability measure on .
- Log-density components. For each , is a real function. Write
- Mixing map. is a bijection with inverse .
- Model hypothesis. All four of the following hold:
- and are both (twice continuously differentiable).
- Each is jointly Borel measurable on .
- For every , the function is Lebesgue-integrable on and .
- For every , the function is -integrable.
- Smoothness in the source variable. For every and every , the map is on .
- Assumption of Variability. For each and , let be the vector whose first entries are and whose last entries are , for . The hypothesis is: for every there exist points such that the vectors
are linearly independent in . When the family is empty, so this hypothesis holds automatically.
- Learned feature map. is a bijection such that and are both .
- Regression components. For each , is an arbitrary function. No measurability, continuity or other condition is imposed on it.
The final hypothesis is an exact pointwise identity. Let be the absolute Jacobian determinant of at . Define
The hypothesis requires, for every and every (not merely -almost every , and not merely on any support):
Here is the total real logarithm, with the convention ; this matters at points where . This hypothesis is stated directly as an equality of functions. It does not mention any logistic loss, any minimisation, or any data distribution.
Conclusion. There exist:
- a permutation of , and
- functions , each of which is a bijection of ,
such that for every and every ,
That is, the -th coordinate of is a bijective scalar function of the -th coordinate of . No continuity, measurability, monotonicity or differentiability of the is asserted, only that they are bijective. When the conclusion is trivially true.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.