InformationTheory.Fano.Measure
Fano's inequality: measure-theoretic form #
The measure-theoretic form of Fano's inequality (Cover–Thomas, Polyanskiy), proved with
Mathlib's condDistrib (the regular conditional distribution) as the central object, for a
deterministic decoder Y → X.
Setting:
X : Fintype(discrete, finite) — the channel alphabetY : MeasurableSpace(arbitrary;ℝ,ℝⁿ, Polish spaces, etc. are admissible)- random variables
Xs : Ω → X(source) andYo : Ω → Y(observation) on(Ω, μ) decoder : Y → X— a deterministic measurable decoder
Main definitions #
condEntropy μ Xs Yo— the conditional entropyH(Xs | Yo)as an integral overμ.map Yo.errorProb μ Xs Yo decoder— the decoding error probabilityP(Xs ≠ decoder ∘ Yo).
Main statements #
fano_inequality_measure_theoretic—H(Xs | Yo) ≤ binEntropy Pe + Pe · log(|X| − 1).
Implementation notes #
The discrete Fano inequality of Fano.Core is applied pointwise for each y : Y, then
aggregated into integral form on P_Yo = μ.map Yo via Bochner–Jensen. The proof chains four
steps:
H(Xs | Yo)
= ∫ y, [∑ x, negMulLog (Q_y {x})] dP_Yo -- def of condEntropy
≤ ∫ y, qaryEntropy |X| (Pe_y) dP_Yo -- Step 1: pointwise_fano
≤ qaryEntropy |X| (∫ y, Pe_y dP_Yo) -- Step 2: Bochner Jensen
= qaryEntropy |X| (errorProb μ Xs Yo decoder) -- Step 3: disintegration
= h(Pe) + Pe · log(|X| - 1) -- Step 4: qaryEntropy split
Here Q_y = (condDistrib Xs Yo μ y).real is the conditional distribution of Xs given y
and Pe_y = Q_y {x | x ≠ decoder y} is the error rate given y. The StandardBorelSpace
requirement of condDistrib is imposed on the output type, which here is X; from
Fintype + MeasurableSingletonClass + Countable the instance
DiscreteMeasurableSpace → StandardBorelSpace is derived automatically, so Y carries no
extra constraint.
References #
- T. M. Cover and J. A. Thomas, Elements of Information Theory (2nd ed.), Wiley, 2006.
- Y. Polyanskiy and Y. Wu, Information Theory: From Coding to Learning, Cambridge, 2024.
Definitions #
InformationTheory.MeasureFano.condEntropy
sourceConditional Shannon entropy, measure-theoretic form:
H(Xs | Yo) = ∫ H(Xs | Yo = y) dP_Yo(y).
For each y : Y the measure condDistrib Xs Yo μ y : Measure X is discrete, so the
conditional entropy at y is the pointwise negMulLog sum, integrated against
P_Yo = μ.map Yo.
Equations
- InformationTheory.MeasureFano.condEntropy μ Xs Yo = ∫ (y : Y), ∑ x : X, (((ProbabilityTheory.condDistrib Xs Yo μ) y).real {x}).negMulLog ∂MeasureTheory.Measure.map Yo μ
Instances For
Used by
InformationTheory.MeasureFano.errorProb
sourceDecoding error probability Pe = P(Xs ≠ decoder ∘ Yo).
Equations
Instances For
Used by
InformationTheory.MeasureFano.pointwiseErrorProb
sourceError rate given y: Pe(y) = (condDistrib Xs Yo μ y).real {x | x ≠ decoder y}.
Equations
- InformationTheory.MeasureFano.pointwiseErrorProb μ Xs Yo decoder y = ((ProbabilityTheory.condDistrib Xs Yo μ) y).real {x : X | x ≠ decoder y}
Instances For
Used by
Pointwise Fano (bridge to the discrete form) #
A glue lemma for invoking the discrete Fano inequality at each y : Y, in a form with the
y-dependence abstracted away: for any probability measure Q : Measure X and guess
xh : X, the Shannon entropy is bounded by qaryEntropy |X| Pe. The proof applies
FiniteJointPMF.fano_inequality to the FiniteJointPMF X X whose second coordinate is a
Dirac mass at xh.
InformationTheory.MeasureFano.diracPMF
sourceThe FiniteJointPMF X X built from a probability measure Q : Measure X and a guess
xh : X, with a Dirac mass at xh in the second coordinate, i.e.
mass x x' = Q.real {x} · 𝟙[x' = xh].
Equations
Instances For
Used by
InformationTheory.MeasureFano.pointwise_fano
sourcePointwise Fano: for a probability measure Q : Measure X and guess xh : X,
∑ x, negMulLog (Q.real {x}) ≤ qaryEntropy |X| (Q.real {x | x ≠ xh}).
Used by
Main theorem: Fano's inequality, measure-theoretic form #
Steps 1–4 are chained with calc. Each step is built locally as a have inside the
theorem rather than as a separate lemma.
InformationTheory.MeasureFano.fano_inequality_measure_theoretic
sourceFano's inequality (measure-theoretic form, deterministic decoder).