Claim A.1 (as proved): the global minimum of is , attained by a function of the content
ProvedContentStyle.alignMaxEnt_global_minimumAssume the setting and conditions (i)–(iii) of Theorem 4.2, with and . Then:
- for every ;
- there is a measurable (the Darmois construction) such that satisfies
So the global minimum of is , and it is attained by a function of the content.
Formalization Note Claim A.1 and the text before it also assert that , and hence , is smooth, because is smooth. The proof does not establish this: the content marginal of a smooth need not be continuous. This statement keeps what the proof establishes and asks for a measurable . The entropy is (and the loss ) when has no density.
import Mathlib import Definitions.Def_ContentStyle_Basic open MeasureTheory open scoped ContDiff
namespace ContentStyle
theorem alignMaxEnt_global_minimum {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 → (Fin nc → ℝ), Set.MapsTo g (f '' (C ×ˢ S)) (cube nc) →
0 ≤ alignMaxEntLoss C S M f g) ∧
∃ dm : (Fin nc → ℝ) → (Fin nc → ℝ), Measurable dm ∧ Set.MapsTo dm C (cube nc) ∧
alignMaxEntLoss C S M f (fun x => dm (Function.invFunOn f (C ×ˢ S) x).1) = 0 := by sorry
end ContentStyleRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers with and . No constraint is placed on ; it may be .
A latent is a pair with content and style . An observation is a vector in .
The data of the theorem are:
- sets and , with ;
- a function , defined everywhere but constrained only on ;
- a "latent model" , consisting of three arbitrary real-valued functions:
- ;
- , assigning a real number to each subset , including ;
- for each such , a function , written .
Some notation for a subset of style indices:
- For , is the restriction of to the coordinates in .
- .
- For , is the vector that equals on the coordinates in and equals off .
- When , is a one-point space carrying the unit point mass.
"Smooth on a set " (for a function ) means: every has an open neighbourhood and a function that is on with on .
Hypotheses.
-
Latent space. is an open subset of and is simply connected as a subspace. Simple connectivity includes path-connectedness, so this forces .
-
Augmentation model.
- is measurable, on , and .
- for every , and , the sum running over all subsets.
- For every :
- is jointly measurable.
- For every and every , .
- For every , .
- For every and every : if , then .
-
Condition (i).
- is smooth on in the above sense.
- is injective on .
- The function is smooth on . Here sends to a chosen preimage in ; at points outside its value is an arbitrary choice.
-
Condition (ii).
- is on .
- for Lebesgue-almost every .
-
Condition (iii). For every style index there is a subset such that:
- ;
- is on ;
- for each there is an open set with and for all .
The pair expectation. For any (valued in ), define
where and . The augmented latent keeps the same content .
Let the measure on with density with respect to Lebesgue measure restricted to .
Differential entropy. For a measure on :
- If is absolutely continuous with respect to Lebesgue measure, let , taken as a real number. Then
with the convention .
- Otherwise, .
The loss. For , define
computed in the extended reals . Here:
- if is -a.e. measurable, and otherwise.
- With extended-real subtraction, .
- If , then .
Conclusion. Under all the above hypotheses, both of the following hold.
-
Non-negativity. For every function that maps into the open cube , we have .
- is not assumed measurable.
- is unconstrained outside .
-
Attainment. There exists a function such that:
- is measurable;
- maps into ;
- the encoder
has loss exactly $L = 0$. This encoder takes the content component of the chosen preimage of $x$ and applies $d_m$.
Nothing further is required of ; in particular, it is not required to be injective, smooth, or a bijection onto the cube.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.