InformationTheory.Fano.Core
Fano core proof: error indicator + chain-rule glue (Markov form) #
Markov-form variant of the Fano core: the joint PMF lives on (X, Xh) where
both coordinates take values in the same finite alphabet X, and the error
event is {(x, xh) : x ≠ xh} rather than {(x, y) : x ≠ decode y}. The
deterministic-decoder form decode : Y → X is recovered downstream via the
data processing inequality.
errIndicator : X → X → Bool—decide (x ≠ xh).withErr P : X → Bool → X → ℝ— the 3-variable mass extending a finite joint PMF on(X, Xh)with the deterministic indicator coordinate.- Bridge lemmas connecting
withErr'sJoint3.*quantities to the originalFiniteJointPMFones, plus the specializationwithErr_condE_XY_zeroof M2's deterministic-collapse lemma. withErr_marginalEY_true_sumrecovers the error probability from the(E, Xh)marginal atE = true.
Joint3-level rearrangement for binary E #
H(E | Y) of a 3-variable mass with E = Bool collapses to a weighted
sum of binEntropy over Y, where the weights are the Y marginal and
the points are the conditional probabilities P(E = 1 | Y = y).
InformationTheory.Joint3.condE_Y_eq_sum_marginalY_mul_binEntropy
sourceUsed by
InformationTheory.Joint3.condX_EY_eq_sum_per_ey
sourcePer-(e, y) decomposition of condX_EY:
H(X | E, Y) = ∑ e, ∑ y, [(∑ x, negMulLog μ(x, e, y)) - negMulLog (marginalEY μ e y)].
Used by
Non-normalized maximum-entropy bound #
(∑ a, negMulLog μ a) - negMulLog (∑ a, μ a) ≤ (∑ a, μ a) * log |S| whenever
the support of μ is contained in a Finset S.
InformationTheory.sum_negMulLog_sub_le_sum_mul_log_card
sourceUsed by
InformationTheory.FiniteJointPMF.errIndicator
sourceDecoding-error indicator (Markov form): errIndicator x xh = true
iff the estimator xh differs from the source x.
Equations
- InformationTheory.FiniteJointPMF.errIndicator x xh = decide (x ≠ xh)
Instances For
Used by
InformationTheory.FiniteJointPMF.withErr
sourceThe 3-variable mass extending P with the decoding-error coordinate.
The point (x, e, xh) carries mass P.mass x xh exactly when e agrees
with errIndicator x xh, and 0 otherwise.
Equations
Instances For
Used by
Bridge to Joint3 quantities #
InformationTheory.FiniteJointPMF.withErr_marginalXY
sourceThe (X, Xh) marginal of withErr recovers the original 2-variable mass.
Used by
InformationTheory.FiniteJointPMF.withErr_marginalY
sourceThe Xh marginal of withErr agrees with the original marginalY.
Used by
InformationTheory.FiniteJointPMF.withErr_xyEntropy
sourceUsed by
InformationTheory.FiniteJointPMF.withErr_yEntropy
sourceUsed by
InformationTheory.FiniteJointPMF.withErr_condX_Y
sourceH(X | Xh) for the original PMF agrees with Joint3.condX_Y of the
3-variable extension.
Used by
InformationTheory.FiniteJointPMF.withErr_isDeterministic
sourceUsed by
InformationTheory.FiniteJointPMF.withErr_condE_XY_zero
sourceH(E | X, Xh) = 0 for the deterministic indicator extension.
Used by
Marginal of E = true equals the error probability #
InformationTheory.FiniteJointPMF.withErr_marginalEY_true_sum
sourceUsed by
M5(2): H(E | Xh) ≤ binEntropy Pe #
InformationTheory.FiniteJointPMF.withErr_nonneg
sourceUsed by
InformationTheory.FiniteJointPMF.withErr_marginalY_sum
sourceThe Xh-marginal sum on withErr equals 1 (since P is a PMF).
Used by
InformationTheory.FiniteJointPMF.withErr_condE_Y_le_binEntropy_errorProb
sourceThe conditional entropy H(E | Xh) of the indicator extension is
bounded above by binEntropy of the estimator's error probability.
Used by
M5(3): H(X | E, Xh) ≤ Pe * log(|X| - 1) #
InformationTheory.FiniteJointPMF.withErr_condX_EY_le
sourceThe conditional entropy H(X | E, Xh) of the indicator extension is
bounded above by Pe * log(|X| - 1).
Used by
M6: assembled Fano core inequality #
InformationTheory.FiniteJointPMF.fano_core
sourceFano's inequality (core, Markov form):
H(X | Xh) ≤ qaryEntropy |X| P.errorProb.
Used by
InformationTheory.FiniteJointPMF.errorProb_nonneg
sourceThe error probability is non-negative.
Used by
InformationTheory.FiniteJointPMF.fano_inequality
sourceFano's inequality (Markov form, textbook RHS):
H(X | Xh) ≤ binEntropy Pe + Pe · log(|X| - 1), with no external hcore
hypothesis.
Used by
InformationTheory.FiniteJointPMF.error_lower_bound
sourceStrict inverse form of Fano's inequality on the increasing branch
(Markov form), with no external hcore hypothesis (and errorProb
non-negativity absorbed into the proof).