Theorems 3 and 4 (proof): the Feder–Merhav and Fano bounds and the range of
ProvedSSLMultiView.bayes_error_entropy_boundsLet have a joint probability mass function on finite sets, let for a deterministic map , and let be the Bayes error rate of predicting from . Then
The left inequality is the bound the paper cites from Feder and Merhav (1994). The right inequality is the form of Fano's inequality that the paper cites from Cover and Thomas. The range of is the "feasible range" used at the end of the proofs of Theorems 3 and 4.
import Mathlib import Definitions.Def_SSLMultiView_Basic open Real
namespace SSLMultiView
theorem bayes_error_entropy_bounds {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) :
-Real.log (1 - bayesError P (rep F) taskT) ≤ condEntropy P taskT (rep F) ∧
condEntropy P taskT (rep F) ≤
Real.log 2 + bayesError P (rep F) taskT * Real.log (Fintype.card T : ℝ) ∧
0 ≤ bayesError P (rep F) taskT ∧
bayesError P (rep F) taskT ≤ 1 - 1 / (Fintype.card T : ℝ) := by sorry
end SSLMultiViewRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let , , and be arbitrary finite sets with decidable equality. Let be a probability mass function on the product sample space : for every , and . Let be an arbitrary function. No other hypotheses are imposed. In particular:
- there is no multi-view assumption;
- there is no optimality condition on ;
- the variable plays no role beyond being marginalized out.
Random variables. For a sample , write for the task variable. Write for the representation; it depends only on the -coordinate. For a random variable on , its law is
Entropy. Entropy is Shannon entropy in nats, using the convention :
The conditional entropy is defined as a difference of joint and marginal entropies:
Bayes error. The "Bayes error" of predicting from is defined as
Since is finite, the supremum is a maximum when is nonempty. Over an empty it would be taken to be .
Degenerate cases.
- Empty sets. If any of , , is empty, then is empty and . The hypotheses are then unsatisfiable, so effectively .
- Logarithm. The real logarithm is total, with and for . The statement places no separate condition ensuring .
- Single task value. When , the upper bound in (4) is and .
The theorem asserts that the following four inequalities hold simultaneously, where is the cardinality of viewed as a real number:
All inequalities are non-strict.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.