Proposition 3.1: InfoMin views yield optimal representations
ProvedGoodViews.infomin_optimal_representationLet the data and the label of a downstream task be finitely-valued random variables on a finite probability space. Let the optimal views be
the minimum being over views , created from the data with values in given finite view spaces , . Let and be minimal sufficient encoders for the contrastive task between and . Then the representations and are optimal for the task (Definition 3): each is a minimal sufficient statistic of for .
This is the InfoMin principle: the best views share as little information as possible while keeping all the task-relevant information.
Formalization Note The first sentence of the printed proposition, which says what the optimal views are, is encoded as the definition of optimal views. The theorem is its second sentence. Both and are covered by the conclusion.
import Mathlib import Definitions.Def_GoodViews_Basic open Finset
namespace GoodViews
theorem infomin_optimal_representation {S X Y V₁ V₂ Z₁ Z₂ : Type} [Fintype S] [Fintype X]
[Fintype Y] [Fintype V₁] [Fintype V₂] [Fintype Z₁] [Fintype Z₂]
(P : S → ℝ) (hP : IsPMF P) (x : S → X) (y : S → Y) (g₁ : X → V₁) (g₂ : X → V₂)
(hopt : IsOptimalViews P x y g₁ g₂) (f₁ : V₁ → Z₁) (f₂ : V₂ → Z₂)
(hf₁ : IsMinimalSufficientEncoder P (g₁ ∘ x) (g₂ ∘ x) f₁)
(hf₂ : IsMinimalSufficientEncoder P (g₂ ∘ x) (g₁ ∘ x) f₂) :
IsOptimalRep P x y (f₁ ∘ g₁) ∧ IsOptimalRep P x y (f₂ ∘ g₂) := by sorry
end GoodViewsRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be arbitrary finite sets. Any of them may be empty, but is forced to be nonempty by the next assumption. Let be a probability mass function on , meaning for all and .
On the sample space there are two random variables:
- the "data" ;
- the "label" .
There are also four deterministic maps:
- and , which produce the views and ;
- and .
Information quantities. For any random variable with finite codomain, . The entropy is computed with the natural logarithm, summing over every in the codomain, with the convention :
Mutual information is defined as
where is the paired random variable.
Hypotheses. The theorem assumes the following.
- are optimal views. Two conditions hold:
- Feasibility: and .
- Minimality: for every pair of maps and satisfying the same two feasibility equations,
The competing views range only over maps into the same fixed sets and .
- is a minimal sufficient encoder of for . Two conditions hold:
- Sufficiency: .
- Minimality: for every finite set and every map with ,
- is a minimal sufficient encoder of for . This is the same as item 2 with the roles exchanged:
- Sufficiency: .
- Minimality: for every finite set and every with ,
Conclusion. Both composite representations and are optimal representations of for . For each this means two things:
- Sufficiency:
- Minimality: for every finite set and every map with ,
Further remarks. No other assumptions are made about the relationship between and , or about the sizes of the codomains. The views and encoders are all deterministic functions. Conditional mutual information does not appear anywhere in the statement.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.