Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorems 3 and 4 (proof, opening display): I(ZX;T)≥I(ZX;S)−I(X;S∣T)−I(ZX;X∣S,T)I(Z_X;T)\ge I(Z_X;S)-I(X;S|T)-I(Z_X;X|S,T)I(ZX​;T)≥I(ZX​;S)−I(X;S∣T)−I(ZX​;X∣S,T)

Proved
SSLMultiView.mutualInfo_task_lower_bound

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

bayes-errorinformation-theorymulti-view-learningmutual-informationself-supervised-learning

Let (X,S,T)(X,S,T)(X,S,T) have a joint probability mass function on finite sets, and let ZX=FX(X)Z_X=F_X(X)ZX​=FX​(X) for a deterministic map FXF_XFX​. Then

I(ZX;T)≥I(ZX;S)−I(X;S∣T)−I(ZX;X∣S,T).I(Z_X;T)\ge I(Z_X;S)-I(X;S\mid T)-I(Z_X;X\mid S,T).I(ZX​;T)≥I(ZX​;S)−I(X;S∣T)−I(ZX​;X∣S,T).

The task-relevant information of any representation is bounded below by its information about the self-supervised signal, minus the compression gap I(X;S∣T)I(X;S\mid T)I(X;S∣T) and the superfluous information I(ZX;X∣S,T)I(Z_X;X\mid S,T)I(ZX​;X∣S,T). This is the bound from which Theorem 3 follows.

Preamble
import Mathlib
import Definitions.Def_SSLMultiView_Basic

open Real
Formal statement
namespace SSLMultiView

theorem mutualInfo_task_lower_bound {X S T Zs : Type*} [Fintype X] [DecidableEq X] [Fintype S] [DecidableEq S]
    [Fintype T] [DecidableEq T] [Fintype Zs] [DecidableEq Zs]
    (P : X × S × T → ℝ) (hP : IsPMF P) (F : X → Zs) :
    mutualInfo P (rep F) signalS - condMutualInfo P inputX signalS taskT -
        condMutualInfo P (rep F) inputX signalTask ≤ mutualInfo P (rep F) taskT := by sorry

end SSLMultiView
Source
Tsai, Wu, Salakhutdinov and Morency, Self-supervised Learning from a Multi-view Perspective, ICLR 2021, arXiv:2006.05576v4, Appendix D, opening displays, p. 14
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let X\mathcal XX, S\mathcal SS, T\mathcal TT and Z\mathcal ZZ be arbitrary finite sets. Consider the finite sample space Ω=X×S×T\Omega = \mathcal X \times \mathcal S \times \mathcal TΩ=X×S×T, with outcomes ω=(x,s,t)\omega = (x, s, t)ω=(x,s,t). On Ω\OmegaΩ there are three coordinate random variables:

  • the input X(ω)=xX(\omega) = xX(ω)=x;
  • the signal S(ω)=sS(\omega) = sS(ω)=s;
  • the task variable T(ω)=tT(\omega) = tT(ω)=t.

There is also the pair (S,T)(ω)=(s,t)(S,T)(\omega) = (s,t)(S,T)(ω)=(s,t). Let P:Ω→RP : \Omega \to \mathbb RP:Ω→R be any function that is a probability mass function, meaning P(ω)≥0P(\omega) \ge 0P(ω)≥0 for all ω\omegaω and ∑ωP(ω)=1\sum_{\omega} P(\omega) = 1∑ω​P(ω)=1. Zero-probability outcomes are allowed, and no other condition is imposed on PPP.

Let F:X→ZF : \mathcal X \to \mathcal ZF:X→Z be any function. The theorem places no optimality condition on FFF and makes no multi-view or other assumption. The representation is the random variable Z(ω)=F(x)Z(\omega) = F(x)Z(ω)=F(x).

Information quantities. For a random variable fff on Ω\OmegaΩ, its law is

P(f=a)=∑ω:f(ω)=aP(ω).P(f = a) = \sum_{\omega : f(\omega) = a} P(\omega).P(f=a)=ω:f(ω)=a∑​P(ω).

Its entropy, in nats, is

H(f)=∑a−P(f=a)log⁡P(f=a),H(f) = \sum_a -P(f=a)\log P(f=a),H(f)=a∑​−P(f=a)logP(f=a),

with the convention 0log⁡0=00 \log 0 = 00log0=0. The sum runs over all elements aaa of the finite codomain, and tuples of random variables are treated as random variables with values in the product set. From these, the mutual and conditional mutual information are defined directly by the entropy formulas

I(f;g)=H(f)+H(g)−H(f,g),I(f;g) = H(f) + H(g) - H(f,g),I(f;g)=H(f)+H(g)−H(f,g), I(f;g∣h)=H(f,h)+H(g,h)−H(f,g,h)−H(h).I(f;g\mid h) = H(f,h) + H(g,h) - H(f,g,h) - H(h).I(f;g∣h)=H(f,h)+H(g,h)−H(f,g,h)−H(h).

Claim. The theorem asserts the inequality

I(Z;S)  −  I(X;S∣T)  −  I(Z;X∣(S,T))  ≤  I(Z;T).I(Z;S) \;-\; I(X;S\mid T) \;-\; I(Z;X\mid (S,T)) \;\le\; I(Z;T).I(Z;S)−I(X;S∣T)−I(Z;X∣(S,T))≤I(Z;T).

Written out:

  • First term: I(Z;S)=H(Z)+H(S)−H(Z,S)I(Z;S) = H(Z) + H(S) - H(Z,S)I(Z;S)=H(Z)+H(S)−H(Z,S).
  • Second term: I(X;S∣T)=H(X,T)+H(S,T)−H(X,S,T)−H(T)I(X;S\mid T) = H(X,T) + H(S,T) - H(X,S,T) - H(T)I(X;S∣T)=H(X,T)+H(S,T)−H(X,S,T)−H(T).
  • Third term: I(Z;X∣(S,T))=H(Z,S,T)+H(X,S,T)−H(Z,X,S,T)−H(S,T)I(Z;X\mid (S,T)) = H(Z,S,T) + H(X,S,T) - H(Z,X,S,T) - H(S,T)I(Z;X∣(S,T))=H(Z,S,T)+H(X,S,T)−H(Z,X,S,T)−H(S,T).
    • Because ZZZ is a deterministic function of XXX, the joint law of (Z,X,S,T)(Z,X,S,T)(Z,X,S,T) has the same nonzero masses as that of (X,S,T)(X,S,T)(X,S,T). This term therefore equals H(Z,S,T)−H(S,T)H(Z,S,T) - H(S,T)H(Z,S,T)−H(S,T).
  • Right-hand side: I(Z;T)=H(Z)+H(T)−H(Z,T)I(Z;T) = H(Z) + H(T) - H(Z,T)I(Z;T)=H(Z)+H(T)−H(Z,T).

Degenerate cases.

  • If X\mathcal XX, S\mathcal SS or T\mathcal TT is empty, then Ω\OmegaΩ is empty and no PPP can sum to 111, so the statement is vacuous.
  • If Z\mathcal ZZ is empty, then a function FFF can only exist when X\mathcal XX is empty, so this case is also vacuous.
  • One-element sets are allowed. In that case the corresponding entropies vanish.
Human review
  • Endorsed by Shuze Chen · Nov 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 25, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me