Theorem 4.3: identifying content with an invertible encoder
ProvedContentStyle.invertible_encoder_block_identifiesAssume the setting and conditions (i)–(iii) of Theorem 4.2 for the true process, with and . Let be a smooth bijection that minimises
over all smooth bijections . Then block-identifies the true content: on for some injective on .
Formalization Note The theorem refers to "conditions (i)–(iv) as in Theorem 4.2", but Theorem 4.2 has only conditions (i)–(iii), and those three are assumed here. "Smooth and invertible" is read as a smooth bijection of onto , and the minimisation is over that class, which contains .
import Mathlib import Definitions.Def_ContentStyle_Basic open MeasureTheory open scoped ContDiff
namespace ContentStyle
theorem invertible_encoder_block_identifies {nc ns d : ℕ} (hnc : 1 ≤ nc) (hns : 1 ≤ ns)
(C : Set (Fin nc → ℝ)) (S : Set (Fin ns → ℝ)) (hZ : IsLatentSpace C S)
(M : LatentModel nc ns) (f : Latent nc ns → Obs d)
(hM : IsAugModel C S M) (hi : CondI C S f) (hii : CondII C S M) (hiii : CondIII S M)
(g : Obs d → Latent nc ns) (hg : IsSmoothInvertible C S f g)
(hmin : ∀ g' : Obs d → Latent nc ns, IsSmoothInvertible C S f g' →
alignLoss C S M f g ≤ alignLoss C S M f g') :
BlockIdentifies C S f (fun x => (g x).1) := by sorry
end ContentStyleRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be natural numbers with and . There is no constraint on . A latent is a pair with content and style . An observation is a vector in .
For a subset of style indices, the following notation is used:
- is the restriction of to the coordinates in .
- is the image of under this restriction.
- , for , is the style vector that equals on and off .
When , is a one-point space, and Lebesgue measure on it is the unit point mass.
The data. The theorem takes:
- Arbitrary sets and . Write .
- A "latent model" , which is three arbitrary real-valued functions:
- ;
- , a real number assigned to each of the subsets , including and the full set;
- for each , a function , written .
- An arbitrary function .
- An arbitrary function .
Smoothness on a set. "Smooth on a set " means the following: every point of has an open neighbourhood and a function that is on and agrees with the given function on .
The pair expectation. For a function on pairs of latents (possibly taking the value ), define
where and . All integrals are Lebesgue lower integrals with values in , so no measurability of is required.
The alignment loss. For any , write for its content (first) component. The loss is
where denotes the pair argument.
Hypotheses.
-
Latent space. is open in and is simply connected as a subspace. In particular it is nonempty and path-connected.
-
Model axioms.
- is Borel measurable on the whole space.
- on , and .
- for every , and .
- For every :
- is measurable;
- for every and every , , and ;
- for every and every with , we have .
-
Condition (i).
- is smooth on and injective on .
- The function is smooth on the image . Here is some chosen with when such a exists, and an unspecified value otherwise.
-
Condition (ii). is on , and at Lebesgue-almost every point of .
-
Condition (iii). For every style index there is a subset with all of the following properties:
- and ;
- is on , a set that need not be open;
- for every there is an open set containing with for all .
-
is admissible. is smooth on , and restricted to is a bijection from onto .
-
Minimality. For every that is admissible in the sense of hypothesis 6, , as an inequality in . No particular value of is asserted or assumed; for example, it is not assumed to be .
Conclusion. The content part of block-identifies the true content. That is, there exists a function that is injective on such that
Nothing further is asserted about . In particular, it is not claimed to be continuous, smooth, surjective onto anything, or invertible beyond injectivity on . Nothing is asserted about outside .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.