Theorem 4.2, Step 1: matching likelihoods force content invariance (eq. (9))
DisprovedContentStyle.invariance_from_matching_likelihoodsLet be the true generative process and a model on the same space . Both satisfy Assumptions 3.1–3.2 and condition (i), and . Suppose that the laws of the observed pairs agree, . Then satisfies
This is the invariance (9), the first step of the proof of Theorem 4.2.
Formalization Note Matching likelihoods on is stated as equality of the two laws on every Borel set of . The pair has no density with respect to Lebesgue measure on , because .
import Mathlib import Definitions.Def_ContentStyle_Basic open MeasureTheory open scoped ContDiff
namespace ContentStyle
theorem invariance_from_matching_likelihoods {nc ns d : ℕ}
(C : Set (Fin nc → ℝ)) (S : Set (Fin ns → ℝ))
(M Mhat : LatentModel nc ns) (f fhat : Latent nc ns → Obs d)
(hM : IsAugModel C S M) (hMhat : IsAugModel C S Mhat)
(hf : CondI C S f) (hfhat : CondI C S fhat)
(hX : fhat '' (C ×ˢ S) = f '' (C ×ˢ S))
(hmatch : ∀ E : Set (Obs d × Obs d), MeasurableSet E →
obsPairProb C S M f E = obsPairProb C S Mhat fhat E) :
pairProb C S M {w | (Function.invFunOn fhat (C ×ˢ S) (f w.1)).1 ≠
(Function.invFunOn fhat (C ×ˢ S) (f w.2)).1} = 0 := by sorry
end ContentStyleRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be arbitrary natural numbers; is allowed. Latent points are pairs , called content and style . Observations are points of . Fix the following data:
- arbitrary sets and , with ;
- arbitrary maps ;
- two "latent models" and .
Each latent model consists of three arbitrary real-valued functions:
- a function on ;
- a function on the subsets ;
- for each such , a function of two vectors .
For a style vector , write for its coordinates indexed by . Write . For , write for the vector that equals on and off . Write .
No openness, connectedness or other topological condition is imposed on , or .
Expectation over pairs. For a model and any -valued on pairs of latents, define
All integrals are Lebesgue lower integrals with values in , so they are defined even for non-measurable integrands. The inner -integral ranges over all of . When , is a single point carrying mass .
- The latent pair probability is .
- The observed pair probability is for , where denotes the pair.
Hypotheses. Each of and satisfies the following conditions:
- is Borel measurable on all of .
- on , and . In particular must have positive Lebesgue measure, otherwise the hypotheses cannot hold.
- for every subset , and .
- For every :
- is jointly measurable;
- for every and every , ;
- for every , ;
- for every and every with , .
Each of and satisfies the following conditions:
- It is smooth on in the following sense: every point of has an open neighbourhood and a function on that agrees with the map on .
- It is injective on .
- Its chosen inverse is smooth, in the same sense, on the image of .
The chosen inverse is defined on all of :
- for , it returns the unique with ;
- for , it returns a fixed but unspecified latent point.
Further hypotheses:
- The images coincide: .
- For every Borel measurable ,
No positivity or smoothness assumptions are made on or on any beyond those listed above.
Conclusion. Write for the content component of . Under the true model , the set of latent pairs satisfying
has -probability exactly . This set is not asserted to be measurable, and the probability is the lower integral defined above.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.