Guessing a hidden value with low conditional entropy #
Fano's inequality (conditionalEntropy_le_binEntropy_add_mul_logb) says that a hidden value that
can be guessed well has low conditional entropy. This module proves a converse: if X has
conditional entropy H(X | Y) given an observation Y, the maximum a posteriori estimator
guesses X from Y with error probability at most 1 - 2^(-H(X | Y)) ≤ (ln 2) H(X | Y).
Guessing bounds of this kind turn entropy estimates into guessing attacks, as in
information-theoretic lower bounds for garbled circuits [JRR25]. Joint laws list
the observation first, as for Cslib.Probability.PMF.conditionalEntropy.
The proof compares each conditional law with its most likely value: that value has probability
at least 2^(-H) because min-entropy is at most Shannon entropy, and Jensen's inequality for the
convex function t ↦ 2^(-t) averages these bounds over the observation.
Main definitions #
Cslib.Probability.PMF.maxPosteriorGuess: a most likely hidden value for each observation.
Main results #
Cslib.Probability.PMF.errorProb_maxPosteriorGuess_le: the estimator errs least among all deterministic estimators.Cslib.Probability.PMF.errorProb_maxPosteriorGuess_le_one_sub_rpow: its error probability is at most1 - 2^(-H(X | Y)).Cslib.Probability.PMF.errorProb_maxPosteriorGuess_le_log_two_mul: its error probability is at most(ln 2) H(X | Y).
References #
The maximum a posteriori estimator guesses the hidden value X from the observation Y
except with probability at most 1 - 2^(-H(X | Y)).
The maximum a posteriori estimator errs with probability at most (ln 2) H(X | Y).