Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

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 PP and QQ and any event RR: if pmin⁡≤Q(R)≤pmax⁡p_{\min} \le Q(R) \le p_{\max} with pmin⁡+pmax⁡<1p_{\min} + p_{\max} < 1, then P(R)≤(D(P∥Q)+H(P(R))+log⁡(1−pmin⁡))/log⁡((1−pmin⁡)/pmax⁡)P(R) \le (D(P \| Q) + H(P(R)) + \log(1 - p_{\min}))/\log((1 - p_{\min})/p_{\max}), where HH is the binary entropy. For a Markov chain X→Y→X^X \to Y \to \hat X and an arbitrary relation RR of acceptable reconstructions, this gives a Fano inequality in terms of I(X;X^)≤I(X;Y)I(X; \hat X) \le I(X; Y), 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 XX can be reconstructed from observations YY only if YY carries enough information about XX. The setup is a Markov chain X→Y→X^X \to Y \to \hat X, where the reconstruction X^\hat X depends on XX only through YY. The note replaces the usual reconstruction event X^=X\hat X = X by an arbitrary relation RR of acceptable reconstructions, and derives the whole family of Fano inequalities from one elementary inequality between two distributions. Logarithms are natural, DD is the relative entropy (Kullback–Leibler divergence) of Mathlib, and H(p)=−plog⁡p−(1−p)log⁡(1−p)H(p) = -p\log p - (1 - p)\log(1 - p) is the binary entropy.

Relative entropy and mutual information

The information diffusion inequality

The relative entropy splits over RR and its complement, and on each part it is at least plog⁡(p/q)+q−pp\log(p/q) + q - p, where pp and qq are the masses of the part under PP and QQ. Summing gives the data processing bound d(P(R)∥Q(R))≤D(P∥Q)d(P(R) \| Q(R)) \le D(P \| Q) for the binary relative entropy dd, and d(p∥q)+H(p)=plog⁡(1/q)+(1−p)log⁡(1/(1−q))d(p \| q) + H(p) = p\log(1/q) + (1 - p)\log(1/(1 - q)) is at least plog⁡(1/pmax⁡)+(1−p)log⁡(1/(1−pmin⁡))p\log(1/p_{\max}) + (1 - p)\log(1/(1 - p_{\min})).

Rényi divergences

Hölder’s inequality on RR and on its complement compares the Hellinger integral with its two-point version q1−αpα+(1−q)1−α(1−p)αq^{1-\alpha}p^\alpha + (1 - q)^{1-\alpha}(1 - p)^\alpha, where q=Q(R)q = Q(R): it is at least that for α>1\alpha > 1 and at most that for α<1\alpha < 1, so Dα(P∥Q)≥dα(P(R)∥Q(R))D_\alpha(P \| Q) \ge d_\alpha(P(R) \| Q(R)) in both cases. Since e(α−1)Ae^{(\alpha - 1)A} is the Hellinger integral times (1−pmin⁡)α−1/(pα+(1−p)α)(1 - p_{\min})^{\alpha - 1}/(p^\alpha + (1 - p)^\alpha), both cases reduce to comparing pαBα−1+(1−p)αp^\alpha B^{\alpha - 1} + (1 - p)^\alpha with the Hellinger integral times (1−pmin⁡)α−1(1 - p_{\min})^{\alpha - 1}. For α>1\alpha > 1, pα+(1−p)α≤1p^\alpha + (1 - p)^\alpha \le 1 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 (X,X^)(X, \hat X) and the product of its marginals are the images of the joint law of (X,Y)(X, Y) and the product of its marginals under the same Markov kernel. The first is Proposition 2.1 with PP the joint law of (X,X^)(X, \hat X) and QQ the product of its marginals, under which RR has probability ∫P[(X,x^)∈R] dPX^(x^)∈[pmin⁡,pmax⁡]\int P[(X, \hat x) \in R]\, dP_{\hat X}(\hat x) \in [p_{\min}, p_{\max}].

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 D(P∥Q)=∑bP(b)log⁡(P(b)/Q(b))D(P \| Q) = \sum_b P(b)\log(P(b)/Q(b)). For a joint law and the product of its marginals this is H(X)+H(X^)−H(X,X^)H(X) + H(\hat X) - H(X, \hat X).

Entropy versions

Inequality (5) rearranged in terms of I(X;X^)=H(X)−H(X∣X^)I(X; \hat X) = H(X) - H(X \mid \hat X) gives entropy versions; the condition pmin⁡+pmax⁡<1p_{\min} + p_{\max} < 1 is no longer needed.

Corollary 2.5 is Corollary 2.3 with pmin⁡=Nmin⁡/∣X∣p_{\min} = N_{\min}/|\mathcal X| and pmax⁡=Nmax⁡/∣X∣p_{\max} = N_{\max}/|\mathcal X|, since H(X)=log⁡∣X∣H(X) = \log|\mathcal X| for uniform XX.

Independent samples

If Y=(Y1,…,Yn)Y = (Y_1, \dots, Y_n) consists of samples that are i.i.d. given XX, the mutual information grows at most linearly in nn.

Let QQ be the product of the laws of the YiY_i, and PxP_x the law of YY given X=xX = x. Then ∑xP(X=x) D(Px∥Q)=I(X;Y)+D(PY∥Q)\sum_x P(X = x)\, D(P_x \| Q) = I(X; Y) + D(P_Y \| Q), and since D(PY∥Q)≥0D(P_Y \| Q) \ge 0, I(X;Y)≤∑xP(X=x) D(Px∥Q)=n I(X;Y1)I(X; Y) \le \sum_x P(X = x)\, D(P_x \| Q) = n\, I(X; Y_1), the last step because PxP_x and QQ are products. Concavity of the logarithm gives D(η(x)∥PY1)≤∑x′P(X=x′) D(η(x)∥η(x′))D(\eta(x) \| P_{Y_1}) \le \sum_{x'} P(X = x')\, D(\eta(x) \| \eta(x')), hence I(X;Y1)≤βI(X; Y_1) \le \beta.

Special cases

For a function ρ\rho and a radius tt, the relation ρ(x,x^)≤t\rho(x, \hat x) \le t with pmin⁡=0p_{\min} = 0 gives the distance-based and continuous Fano inequalities of Duchi and Wainwright, with Pt=P[ρ(X,X^)>t]P_t = P[\rho(X, \hat X) > t].

In the continuous case the binary entropy is bounded by log⁡2\log 2.

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

Main.lean
/-- 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_fano
Formal verification — ✅ all 18 formal results are kernel-checked

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 : InfoDiffusionFanoKL

where 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 : FanoArbitraryRelation

where 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 : DistanceFano

where 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 : ContinuousFano

where 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 ^ α ∂Q

Lean 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 : InfoDiffusionFanoRenyi

where 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 : InfoDiffusionFanoRenyiGtOne

where 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 ν.snd

Lean 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 : MutualInfoEntropy

where 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 : EntropyUniform

where 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 : EntropyFano

where 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 : DistanceFanoEntropy

where 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 Nmax

Lean 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 : IndependentSamplesFano

where 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.

References
  1. Braun, G., & Pokutta, S. (2015). An Information Diffusion Fano Inequality. 10.48550/arXiv.1504.05492