An information diffusion Fano inequality
Sebastian Pokutta
v1 2026-11-27 · last 2026-11-29
Additional material: arXiv:1504.05492
Note: Formalizes the note by Braun & Pokutta (2015).
Abstract. Fano’s inequality bounds the probability of reconstructing a hidden random variable from observations by their mutual information. The information diffusion inequality behind it holds for any two probability distributions and and any event : if with , then , where is the binary entropy. For a Markov chain and an arbitrary relation of acceptable reconstructions, this gives a Fano inequality in terms of , which contains the distance-based and continuous Fano inequalities of Duchi and Wainwright as special cases. The statements hold for arbitrary measurable spaces.
Fano’s inequality is a standard tool for lower bounds in statistics and optimization: a hidden random variable can be reconstructed from observations only if carries enough information about . The setup is a Markov chain , where the reconstruction depends on only through . The note replaces the usual reconstruction event by an arbitrary relation of acceptable reconstructions, and derives the whole family of Fano inequalities from one elementary inequality between two distributions. Logarithms are natural, is the relative entropy (Kullback–Leibler divergence) of Mathlib, and is the binary entropy.
Relative entropy and mutual information¶
The information diffusion inequality¶
The relative entropy splits over and its complement, and on each part it is at least , where and are the masses of the part under and . Summing gives the data processing bound for the binary relative entropy , and is at least .
Rényi divergences¶
Hölder’s inequality on and on its complement compares the Hellinger integral with its two-point version , where : it is at least that for and at most that for , so in both cases. Since is the Hellinger integral times , both cases reduce to comparing with the Hellinger integral times . For , gives the form of the paper.
Fano inequality for arbitrary relations¶
The second inequality is data processing for the relative entropy: the joint law of and the product of its marginals are the images of the joint law of and the product of its marginals under the same Markov kernel. The first is Proposition 2.1 with the joint law of and the product of its marginals, under which has probability .
Entropy of finite random variables¶
For random variables with finitely many values the relative entropy is a finite sum, and mutual information can be written with entropies.
On a finite set with all singletons measurable, the Radon–Nikodym derivative at a point of positive mass is the ratio of the masses, so . For a joint law and the product of its marginals this is .
Entropy versions¶
Inequality (5) rearranged in terms of gives entropy versions; the condition is no longer needed.
Corollary 2.5 is Corollary 2.3 with and , since for uniform .
Independent samples¶
If consists of samples that are i.i.d. given , the mutual information grows at most linearly in .
Let be the product of the laws of the , and the law of given . Then , and since , , the last step because and are products. Concavity of the logarithm gives , hence .
Special cases¶
For a function and a radius , the relation with gives the distance-based and continuous Fano inequalities of Duchi and Wainwright, with .
In the continuous case the binary entropy is bounded by .
Coverage¶
All results of the note are formalized: Propositions 2.1 and 2.2 and Corollaries 2.3 to 2.7.
The formal statements at a glance¶
/-- Proposition 2.1 for `α = 1`: the information diffusion Fano inequality for relative entropy. -/
theorem info_diffusion_fano_kl : InfoDiffusionFanoKL := Proof.info_diffusion_fano_kl
/-- Proposition 2.2: the Fano inequality for arbitrary relations along a Markov chain. -/
theorem fano_arbitrary_relation : FanoArbitraryRelation := Proof.fano_arbitrary_relation
/-- Corollary 2.6: the distance-based Fano inequality, mutual information version. -/
theorem distance_fano : DistanceFano := Proof.distance_fano
/-- Corollary 2.7: the continuous Fano inequality. -/
theorem continuous_fano : ContinuousFano := Proof.continuous_fano
/-- Proposition 2.1 for orders `α ≠ 1`, corrected: the normalized power `p^α/(p^α + (1 - p)^α)`. -/
theorem info_diffusion_fano_renyi : InfoDiffusionFanoRenyi := Proof.info_diffusion_fano_renyi
/-- Proposition 2.1 for orders `α > 1`, as stated in the paper. -/
theorem info_diffusion_fano_renyi_gt_one : InfoDiffusionFanoRenyiGtOne :=
Proof.info_diffusion_fano_renyi_gt_one
/-- For finite random variables, `I(X; X̂) = H(X) - H(X | X̂)`, and it is finite. -/
theorem mutual_info_entropy : MutualInfoEntropy := Proof.mutual_info_entropy
/-- The entropy of the uniform law on a finite set `α` is `log |α|`. -/
theorem entropy_uniform : EntropyUniform := Proof.entropy_uniform
/-- Corollary 2.3: the entropy version of the Fano inequality. -/
theorem entropy_fano : EntropyFano := Proof.entropy_fano
/-- Corollary 2.5: the distance-based Fano inequality. -/
theorem distance_fano_entropy : DistanceFanoEntropy := Proof.distance_fano_entropy
/-- Corollary 2.4, with left-hand side `P[R]`: the Fano inequality for independent samples. -/
theorem independent_samples_fano : IndependentSamplesFano := Proof.independent_samples_fanoFormal verification — ✅ all 18 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) Mutual information —
Lemmata.FanoDiffusion.mutualInfo(source)◇ elaborated definition (Lean v4.35.0) Markov chain —
Lemmata.FanoDiffusion.chainLaw(source)✓ kernel-checked (Lean v4.35.0) Proposition 2.1 —
Lemmata.FanoDiffusion.info_diffusion_fano_kl(source)✓ kernel-checked (Lean v4.35.0) Proposition 2.2 —
Lemmata.FanoDiffusion.fano_arbitrary_relation(source)✓ kernel-checked (Lean v4.35.0) Corollary 2.6 —
Lemmata.FanoDiffusion.distance_fano(source)✓ kernel-checked (Lean v4.35.0) Corollary 2.7 —
Lemmata.FanoDiffusion.continuous_fano(source)◇ elaborated definition (Lean v4.35.0) Hellinger integral and Rényi divergence —
Lemmata.FanoDiffusion.hellingerInt(source)◇ elaborated definition (Lean v4.35.0) Rényi divergence —
Lemmata.FanoDiffusion.renyiDiv(source)◇ elaborated definition (Lean v4.35.0) Binary Rényi entropy —
Lemmata.FanoDiffusion.binRenyiEntropy(source)✓ kernel-checked (Lean v4.35.0) Proposition 2.1 —
Lemmata.FanoDiffusion.info_diffusion_fano_renyi(source)✓ kernel-checked (Lean v4.35.0) Proposition 2.1 —
Lemmata.FanoDiffusion.info_diffusion_fano_renyi_gt_one(source)◇ elaborated definition (Lean v4.35.0) Entropy —
Lemmata.FanoDiffusion.entropy(source)◇ elaborated definition (Lean v4.35.0) Conditional entropy —
Lemmata.FanoDiffusion.condEntropy(source)✓ kernel-checked (Lean v4.35.0) Mutual information and entropy —
Lemmata.FanoDiffusion.mutual_info_entropy(source)✓ kernel-checked (Lean v4.35.0) Entropy of the uniform law —
Lemmata.FanoDiffusion.entropy_uniform(source)✓ kernel-checked (Lean v4.35.0) Corollary 2.3 —
Lemmata.FanoDiffusion.entropy_fano(source)✓ kernel-checked (Lean v4.35.0) Corollary 2.5 —
Lemmata.FanoDiffusion.distance_fano_entropy(source)✓ kernel-checked (Lean v4.35.0) Corollary 2.4 —
Lemmata.FanoDiffusion.independent_samples_fano(source)
Checked at commit 7ef78a67b090. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.
Lean mutualInfo · ◇ elaborated · source
Definition in Lean
/-- The **mutual information** of the two coordinates of a joint law `μ` on `α × β`:
`I = D(μ ‖ μ_X ⊗ μ_Y)`, the Kullback–Leibler divergence from the product of the marginals. -/
noncomputable def mutualInfo {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]
(μ : Measure (α × β)) : ℝ≥0∞ :=
klDiv μ (μ.fst.prod μ.snd)Lean chainLaw · ◇ elaborated · source
Definition in Lean
/-- The joint law of `(X, X̂)` for a Markov chain `X → Y → X̂`: `μ` is the joint law of `(X, Y)`,
and `X̂` is drawn from `κ(Y)`. -/
noncomputable def chainLaw {α β γ : Type*} [MeasurableSpace α] [MeasurableSpace β]
[MeasurableSpace γ] (μ : Measure (α × β)) (κ : Kernel β γ) : Measure (α × γ) :=
(Kernel.id ∥ₖ κ) ∘ₘ μLean info_diffusion_fano_kl · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 2.1 for `α = 1`: the information diffusion Fano inequality for relative entropy. -/
theorem info_diffusion_fano_kl : InfoDiffusionFanoKLwhere InfoDiffusionFanoKL is (source):
/-- **Proposition 2.1** for order `α = 1` (information diffusion Fano inequality). Let `P` and `Q`
be probability measures and `R` a measurable event with `p_min ≤ Q(R) ≤ p_max`, where
`0 ≤ p_min`, `0 < p_max` and `p_min + p_max < 1`. If `D(P ‖ Q) < ∞`, then
`P(R) ≤ (D(P ‖ Q) + H(P(R)) + log (1 - p_min))/log ((1 - p_min)/p_max)`, with `H` the binary
entropy. Logarithms are natural. -/
def InfoDiffusionFanoKL : Prop :=
∀ {Ω : Type u} [MeasurableSpace Ω] (P Q : Measure Ω) [IsProbabilityMeasure P]
[IsProbabilityMeasure Q] (R : Set Ω) (pmin pmax : ℝ),
MeasurableSet R → 0 ≤ pmin → 0 < pmax → pmin + pmax < 1 → pmin ≤ Q.real R →
Q.real R ≤ pmax → klDiv P Q ≠ ∞ →
P.real R ≤ ((klDiv P Q).toReal + binEntropy (P.real R) + log (1 - pmin)) /
log ((1 - pmin) / pmax)Lean fano_arbitrary_relation · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 2.2: the Fano inequality for arbitrary relations along a Markov chain. -/
theorem fano_arbitrary_relation : FanoArbitraryRelationwhere FanoArbitraryRelation is (source):
/-- **Proposition 2.2** (Fano inequality for arbitrary relations). Let `X → Y → X̂` be a Markov
chain, with `μ` the joint law of `(X, Y)` and `X̂` drawn from `κ(Y)`, and let `R` be a measurable
relation between values of `X` and of `X̂`. If `p_min ≤ P[(X, x̂) ∈ R] ≤ p_max` for every `x̂`,
where `0 ≤ p_min`, `0 < p_max` and `p_min + p_max < 1`, and `I(X; Y) < ∞`, then
`P[R] ≤ (I(X; X̂) + H(P[R]) + log (1 - p_min))/log ((1 - p_min)/p_max)` and the right-hand side is
at most the same expression with `I(X; Y)`. -/
def FanoArbitraryRelation : Prop :=
∀ {α β γ : Type u} [MeasurableSpace α] [MeasurableSpace β] [MeasurableSpace γ]
(μ : Measure (α × β)) [IsProbabilityMeasure μ] (κ : Kernel β γ) [IsMarkovKernel κ]
(R : Set (α × γ)) (pmin pmax : ℝ),
MeasurableSet R → 0 ≤ pmin → 0 < pmax → pmin + pmax < 1 →
(∀ z, pmin ≤ μ.fst.real {x | (x, z) ∈ R} ∧ μ.fst.real {x | (x, z) ∈ R} ≤ pmax) →
mutualInfo μ ≠ ∞ →
(chainLaw μ κ).real R ≤ ((mutualInfo (chainLaw μ κ)).toReal +
binEntropy ((chainLaw μ κ).real R) + log (1 - pmin)) / log ((1 - pmin) / pmax) ∧
((mutualInfo (chainLaw μ κ)).toReal + binEntropy ((chainLaw μ κ).real R) +
log (1 - pmin)) / log ((1 - pmin) / pmax) ≤
((mutualInfo μ).toReal + binEntropy ((chainLaw μ κ).real R) + log (1 - pmin)) /
log ((1 - pmin) / pmax)Lean distance_fano · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 2.6: the distance-based Fano inequality, mutual information version. -/
theorem distance_fano : DistanceFanowhere DistanceFano is (source):
/-- **Corollary 2.6** (distance-based Fano inequality, mutual information version). Let
`X → Y → X̂` be a Markov chain with `X` uniform on a finite set `α` and `X̂` with values in `α`,
let `ρ : α → α → ℝ` and `t ∈ ℝ`, and let `0 < N < |α|` bound `|{x | ρ(x, x̂) ≤ t}|` for every `x̂`.
With `P_t = P[ρ(X, X̂) > t]`, if `I(X; Y) < ∞` then
`P_t ≥ 1 - (I(X; Y) + H(P_t))/log (|α|/N)`. -/
def DistanceFano : Prop :=
∀ {α β : Type u} [Fintype α] [MeasurableSpace α] [MeasurableSingletonClass α]
[MeasurableSpace β] (μ : Measure (α × β)) [IsProbabilityMeasure μ] (κ : Kernel β α)
[IsMarkovKernel κ] (ρ : α → α → ℝ) (t : ℝ) (N : ℕ),
(∀ x, μ.fst {x} = (Fintype.card α : ℝ≥0∞)⁻¹) → 0 < N → N < Fintype.card α →
(∀ z, (Finset.univ.filter fun x => ρ x z ≤ t).card ≤ N) → mutualInfo μ ≠ ∞ →
1 - ((mutualInfo μ).toReal + binEntropy ((chainLaw μ κ).real {p | t < ρ p.1 p.2})) /
log (Fintype.card α / N) ≤
(chainLaw μ κ).real {p | t < ρ p.1 p.2}Lean continuous_fano · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 2.7: the continuous Fano inequality. -/
theorem continuous_fano : ContinuousFanowhere ContinuousFano is (source):
/-- **Corollary 2.7** (continuous Fano inequality). Let `X → Y → X̂` be a Markov chain with `X`
uniform on a measurable set `S` of finite positive volume and `X̂` with values in the same space,
let `ρ` be measurable, `t ∈ ℝ`, and let `0 < V < vol(S)` bound `vol({x | ρ(x, x̂) ≤ t} ∩ S)` for
every `x̂`. With `P_t = P[ρ(X, X̂) > t]`, if `I(X; Y) < ∞` then
`P_t ≥ 1 - (I(X; Y) + log 2)/log (vol(S)/V)`. -/
def ContinuousFano : Prop :=
∀ {α β : Type u} [MeasureSpace α] [MeasurableSpace β] (μ : Measure (α × β))
[IsProbabilityMeasure μ] (κ : Kernel β α) [IsMarkovKernel κ] (S : Set α) (ρ : α → α → ℝ)
(t V : ℝ),
MeasurableSet S → volume S ≠ ∞ → μ.fst = (volume S)⁻¹ • volume.restrict S →
Measurable (Function.uncurry ρ) → 0 < V → V < volume.real S →
(∀ z, volume.real ({x | ρ x z ≤ t} ∩ S) ≤ V) → mutualInfo μ ≠ ∞ →
1 - ((mutualInfo μ).toReal + log 2) / log (volume.real S / V) ≤
(chainLaw μ κ).real {p | t < ρ p.1 p.2}Lean hellingerInt · ◇ elaborated · source
Definition in Lean
/-- The **Hellinger integral** `∫ (dP/dQ)^α dQ` of order `α`. For `α < 1` the singular part of `P`
does not contribute; for `α > 1` it is used with `P ≪ Q`. -/
noncomputable def hellingerInt {Ω : Type*} [MeasurableSpace Ω] (α : ℝ) (P Q : Measure Ω) : ℝ≥0∞ :=
∫⁻ x, P.rnDeriv Q x ^ α ∂QLean renyiDiv · ◇ elaborated · source
Definition in Lean
/-- The **Rényi divergence** of order `α ≠ 1`: `D_α(P ‖ Q) = log (∫ (dP/dQ)^α dQ)/(α - 1)`. -/
noncomputable def renyiDiv {Ω : Type*} [MeasurableSpace Ω] (α : ℝ) (P Q : Measure Ω) : ℝ :=
log (hellingerInt α P Q).toReal / (α - 1)Lean binRenyiEntropy · ◇ elaborated · source
Definition in Lean
/-- The **binary Rényi entropy** of order `α ≠ 1`: `H_α(p) = log (p^α + (1 - p)^α)/(1 - α)`. -/
noncomputable def binRenyiEntropy (α p : ℝ) : ℝ :=
log (p ^ α + (1 - p) ^ α) / (1 - α)Lean info_diffusion_fano_renyi · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 2.1 for orders `α ≠ 1`, corrected: the normalized power `p^α/(p^α + (1 - p)^α)`. -/
theorem info_diffusion_fano_renyi : InfoDiffusionFanoRenyiwhere InfoDiffusionFanoRenyi is (source):
/-- **Proposition 2.1** for orders `α ≠ 1`, corrected. Let `P` and `Q` be probability measures
and `R` a measurable event with `p_min ≤ Q(R) ≤ p_max`, where `0 ≤ p_min`, `0 < p_max` and
`p_min + p_max < 1`, and let `0 < α ≠ 1`, with `P ≪ Q` if `α > 1`. If the Hellinger integral is
positive and finite, then with `p = P(R)`, `A = D_α(P ‖ Q) + H_α(p) + log (1 - p_min)` and
`B = (1 - p_min)/p_max`,
`p^α/(p^α + (1 - p)^α) ≤ (exp ((α - 1) A) - 1)/(B^{α-1} - 1)`. -/
def InfoDiffusionFanoRenyi : Prop :=
∀ {Ω : Type u} [MeasurableSpace Ω] (P Q : Measure Ω) [IsProbabilityMeasure P]
[IsProbabilityMeasure Q] (R : Set Ω) (pmin pmax α : ℝ),
MeasurableSet R → 0 ≤ pmin → 0 < pmax → pmin + pmax < 1 → pmin ≤ Q.real R →
Q.real R ≤ pmax → 0 < α → α ≠ 1 → (1 < α → P ≪ Q) → hellingerInt α P Q ≠ 0 →
hellingerInt α P Q ≠ ∞ →
P.real R ^ α / (P.real R ^ α + (1 - P.real R) ^ α) ≤
(exp ((α - 1) * (renyiDiv α P Q + binRenyiEntropy α (P.real R) + log (1 - pmin))) - 1) /
(((1 - pmin) / pmax) ^ (α - 1) - 1)Lean info_diffusion_fano_renyi_gt_one · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 2.1 for orders `α > 1`, as stated in the paper. -/
theorem info_diffusion_fano_renyi_gt_one : InfoDiffusionFanoRenyiGtOnewhere InfoDiffusionFanoRenyiGtOne is (source):
/-- **Proposition 2.1** for orders `α > 1`, as stated in the paper: under the assumptions of
`InfoDiffusionFanoRenyi` with `α > 1`,
`P(R) ≤ ((exp ((α - 1) A) - 1)/(B^{α-1} - 1))^{1/α}`. -/
def InfoDiffusionFanoRenyiGtOne : Prop :=
∀ {Ω : Type u} [MeasurableSpace Ω] (P Q : Measure Ω) [IsProbabilityMeasure P]
[IsProbabilityMeasure Q] (R : Set Ω) (pmin pmax α : ℝ),
MeasurableSet R → 0 ≤ pmin → 0 < pmax → pmin + pmax < 1 → pmin ≤ Q.real R →
Q.real R ≤ pmax → 1 < α → P ≪ Q → hellingerInt α P Q ≠ ∞ →
P.real R ≤
((exp ((α - 1) * (renyiDiv α P Q + binRenyiEntropy α (P.real R) + log (1 - pmin))) - 1) /
(((1 - pmin) / pmax) ^ (α - 1) - 1)) ^ (1 / α)Lean entropy · ◇ elaborated · source
Definition in Lean
/-- The **Shannon entropy** `H(X) = -Σ_a P(a) log P(a)` of a law on a finite type. -/
noncomputable def entropy {α : Type*} [Fintype α] [MeasurableSpace α] (ν : Measure α) : ℝ :=
∑ a, negMulLog (ν.real {a})Lean condEntropy · ◇ elaborated · source
Definition in Lean
/-- The **conditional entropy** `H(X | X̂) = H(X, X̂) - H(X̂)` of a joint law on finite types. -/
noncomputable def condEntropy {α γ : Type*} [Fintype α] [Fintype γ] [MeasurableSpace α]
[MeasurableSpace γ] (ν : Measure (α × γ)) : ℝ :=
entropy ν - entropy ν.sndLean mutual_info_entropy · ✅ kernel-checked · source
Statement in Lean
/-- For finite random variables, `I(X; X̂) = H(X) - H(X | X̂)`, and it is finite. -/
theorem mutual_info_entropy : MutualInfoEntropywhere MutualInfoEntropy is (source):
/-- **Mutual information and entropy.** For a joint law of `(X, X̂)` on finite sets, `I(X; X̂)` is
finite and equals `H(X) - H(X | X̂)`. -/
def MutualInfoEntropy : Prop :=
∀ {α γ : Type u} [Fintype α] [MeasurableSpace α] [MeasurableSingletonClass α] [Fintype γ]
[MeasurableSpace γ] [MeasurableSingletonClass γ] (ν : Measure (α × γ)) [IsProbabilityMeasure ν],
mutualInfo ν ≠ ∞ ∧ (mutualInfo ν).toReal = entropy ν.fst - condEntropy νLean entropy_uniform · ✅ kernel-checked · source
Statement in Lean
/-- The entropy of the uniform law on a finite set `α` is `log |α|`. -/
theorem entropy_uniform : EntropyUniformwhere EntropyUniform is (source):
/-- **The entropy of the uniform law** on a finite set `α` is `log |α|`. -/
def EntropyUniform : Prop :=
∀ {α : Type u} [Fintype α] [MeasurableSpace α] (ν : Measure α),
(∀ a, ν {a} = (Fintype.card α : ℝ≥0∞)⁻¹) → entropy ν = log (Fintype.card α)Lean entropy_fano · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 2.3: the entropy version of the Fano inequality. -/
theorem entropy_fano : EntropyFanowhere EntropyFano is (source):
/-- **Corollary 2.3** (entropy version of the Fano inequality). Let `ν` be the joint law of
`(X, X̂)` on finite sets and `R` a relation with `p_min ≤ P[(X, x̂) ∈ R] ≤ p_max` for every `x̂`,
where `0 ≤ p_min < 1` and `0 < p_max`. Then
`H(X | X̂) ≤ H(X) + log p_max + H(P[¬R]) + P[¬R] log ((1 - p_min)/p_max)`. -/
def EntropyFano : Prop :=
∀ {α γ : Type u} [Fintype α] [MeasurableSpace α] [MeasurableSingletonClass α] [Fintype γ]
[MeasurableSpace γ] [MeasurableSingletonClass γ] (ν : Measure (α × γ)) [IsProbabilityMeasure ν]
(R : Set (α × γ)) (pmin pmax : ℝ), 0 ≤ pmin → pmin < 1 → 0 < pmax →
(∀ z, pmin ≤ ν.fst.real {x | (x, z) ∈ R} ∧ ν.fst.real {x | (x, z) ∈ R} ≤ pmax) →
condEntropy ν ≤ entropy ν.fst + log pmax + binEntropy (ν.real Rᶜ) +
ν.real Rᶜ * log ((1 - pmin) / pmax)Lean distance_fano_entropy · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 2.5: the distance-based Fano inequality. -/
theorem distance_fano_entropy : DistanceFanoEntropywhere DistanceFanoEntropy is (source):
/-- **Corollary 2.5** (distance-based Fano inequality). Let `ν` be the joint law of `(X, X̂)` with
`X` uniform on a finite set `α` and `X̂ ∈ α`, let `ρ : α → α → ℝ` and `t ∈ ℝ`, and let
`N_min ≤ |{x | ρ(x, x̂) ≤ t}| ≤ N_max` for every `x̂`, with `0 < N_max` and `N_min < |α|`. With
`P_t = P[ρ(X, X̂) > t]`, `H(X | X̂) ≤ H(P_t) + P_t log ((|α| - N_min)/N_max) + log N_max`. -/
def DistanceFanoEntropy : Prop :=
∀ {α : Type u} [Fintype α] [MeasurableSpace α] [MeasurableSingletonClass α]
(ν : Measure (α × α)) [IsProbabilityMeasure ν] (ρ : α → α → ℝ) (t : ℝ) (Nmin Nmax : ℕ),
(∀ x, ν.fst {x} = (Fintype.card α : ℝ≥0∞)⁻¹) → 0 < Nmax → Nmin < Fintype.card α →
(∀ z, Nmin ≤ (Finset.univ.filter fun x => ρ x z ≤ t).card ∧
(Finset.univ.filter fun x => ρ x z ≤ t).card ≤ Nmax) →
condEntropy ν ≤ binEntropy (ν.real {p | t < ρ p.1 p.2}) +
ν.real {p | t < ρ p.1 p.2} * log ((Fintype.card α - Nmin) / Nmax) + log NmaxLean independent_samples_fano · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 2.4, with left-hand side `P[R]`: the Fano inequality for independent samples. -/
theorem independent_samples_fano : IndependentSamplesFanowhere IndependentSamplesFano is (source):
/-- **Corollary 2.4** (Fano inequality for independent samples), with left-hand side `P[R]`. Let `X`
take finitely many values with law `μ_X`, and let `Y = (Y_1, …, Y_n)` be samples with finitely
many values that are i.i.d. with law `η(x)` given `X = x`: the joint laws `μ` of `(X, Y)` and `μ₁`
of `(X, Y_1)` satisfy `μ(x, y) = μ_X(x) ∏ η(x)(y_i)` and `μ₁(x, c) = μ_X(x) η(x)(c)`. Let `X̂` be
drawn from `κ(Y)`, let `R`, `p_min` and `p_max` be as in Proposition 2.2, and let `η(x) ≪ η(x')`
and `D(η(x) ‖ η(x')) ≤ β` for all `x, x'`. Then
`P[R] ≤ (n I(X; Y_1) + H(P[R]) + log (1 - p_min))/log ((1 - p_min)/p_max)`, and the right-hand side
is at most the same expression with `n β` in place of `n I(X; Y_1)`. -/
def IndependentSamplesFano : Prop :=
∀ {α β γ : Type u} [Fintype α] [MeasurableSpace α] [MeasurableSingletonClass α] [Fintype β]
[MeasurableSpace β] [MeasurableSingletonClass β] [MeasurableSpace γ] (n : ℕ)
(μX : Measure α) [IsProbabilityMeasure μX] (η : α → Measure β)
(μ : Measure (α × (Fin n → β))) [IsProbabilityMeasure μ] (μ₁ : Measure (α × β))
[IsProbabilityMeasure μ₁] (κ : Kernel (Fin n → β) γ) [IsMarkovKernel κ] (R : Set (α × γ))
(pmin pmax b : ℝ),
(∀ x, IsProbabilityMeasure (η x)) →
(∀ x y, μ.real {(x, y)} = μX.real {x} * ∏ i, (η x).real {y i}) →
(∀ x c, μ₁.real {(x, c)} = μX.real {x} * (η x).real {c}) →
(∀ x x', η x ≪ η x') → (∀ x x', (klDiv (η x) (η x')).toReal ≤ b) →
MeasurableSet R → 0 ≤ pmin → 0 < pmax → pmin + pmax < 1 →
(∀ z, pmin ≤ μ.fst.real {x | (x, z) ∈ R} ∧ μ.fst.real {x | (x, z) ∈ R} ≤ pmax) →
(chainLaw μ κ).real R ≤ (n * (mutualInfo μ₁).toReal + binEntropy ((chainLaw μ κ).real R) +
log (1 - pmin)) / log ((1 - pmin) / pmax) ∧
(n * (mutualInfo μ₁).toReal + binEntropy ((chainLaw μ κ).real R) + log (1 - pmin)) /
log ((1 - pmin) / pmax) ≤
(n * b + binEntropy ((chainLaw μ κ).real R) + log (1 - pmin)) / log ((1 - pmin) / pmax)AI use. The formalization and this page were developed with Claude (Anthropic) under the author’s direction and review, on top of Mathlib’s Kullback–Leibler divergence.
Acknowledgements. This research was conducted in the context of the Agentic AI in Mathematics (EF-LiOpt-3) project at the Berlin Mathematics Research Center MATH (EXC-2046/2, project ID 390685689), funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy. This work has been partially supported by OpenAI’s Academic Researchers program.
License: CC BY 4.0
Comments.
- Braun, G., & Pokutta, S. (2015). An Information Diffusion Fano Inequality. 10.48550/arXiv.1504.05492