Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.2(b) — conditioning on B with at most 2λ2^\lambda2λ values costs at most λ\lambdaλ bits of average min-entropy

Proved
FuzzyExtractors.Hamming.lemma_2_2_b

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

information-theorymin-entropyp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let A,B,CA,B,CA,B,C be random variables with a joint law, and suppose BBB takes at most 2λ2^\lambda2λ values: there is a finite set TTT with ∣T∣≤2λ|T|\le 2^\lambda∣T∣≤2λ containing every possible value of BBB. Then

H~∞(A∣(B,C))  ≥  H~∞((A,B)∣C)−λ  ≥  H~∞(A∣C)−λ.\tilde{\mathbf H}_\infty(A\mid(B,C)) \;\ge\; \tilde{\mathbf H}_\infty((A,B)\mid C)-\lambda \;\ge\; \tilde{\mathbf H}_\infty(A\mid C)-\lambda .H~∞​(A∣(B,C))≥H~∞​((A,B)∣C)−λ≥H~∞​(A∣C)−λ.

In particular,

H~∞(A∣B)  ≥  H∞((A,B))−λ  ≥  H∞(A)−λ.\tilde{\mathbf H}_\infty(A\mid B)\;\ge\;\mathbf H_\infty((A,B))-\lambda\;\ge\;\mathbf H_\infty(A)-\lambda .H~∞​(A∣B)≥H∞​((A,B))−λ≥H∞​(A)−λ.

This is the basic accounting rule for leaked information: publishing a value with at most 2λ2^\lambda2λ possibilities lowers the adversary's average min-entropy by at most λ\lambdaλ. It yields Lemma 3.1 and the security bound of Lemma 4.5.

Formalization Note One joint law of (A,B,C)(A,B,C)(A,B,C) is given; the laws of (A,B)(A,B)(A,B), (A,C)(A,C)(A,C), ((A,B),C)((A,B),C)((A,B),C) and AAA are its images. The "in particular" sentence is stated for the (A,B)(A,B)(A,B)-marginal of the same law, which covers every pair (A,B)(A,B)(A,B) (take CCC constant). λ\lambdaλ is a real number and "at most 2λ2^\lambda2λ values" is read as a finite set of size at most 2λ2^\lambda2λ containing the support of BBB.

Preamble
import Mathlib
import Definitions.Def_FuzzyExtractors_Hamming_Basic
Formal statement
namespace FuzzyExtractors.Hamming

theorem lemma_2_2_b {α β γ : Type} (ABC : PMF (α × β × γ)) (lam : ℝ)
    (hB : ∃ T : Finset β, (T.card : ℝ) ≤ (2 : ℝ) ^ lam ∧ ∀ x ∈ ABC.support, x.2.1 ∈ T) :
    (avgMinEntropy ABC ≥ avgMinEntropy (ABC.map fun x => ((x.1, x.2.1), x.2.2)) - lam ∧
      avgMinEntropy (ABC.map fun x => ((x.1, x.2.1), x.2.2)) - lam ≥
        avgMinEntropy (ABC.map fun x => (x.1, x.2.2)) - lam) ∧
    (avgMinEntropy (ABC.map fun x => (x.1, x.2.1)) ≥
        minEntropy (ABC.map fun x => (x.1, x.2.1)) - lam ∧
      minEntropy (ABC.map fun x => (x.1, x.2.1)) - lam ≥
        minEntropy (ABC.map fun x => x.1) - lam) := by sorry

end FuzzyExtractors.Hamming
Source
Dodis, Ostrovsky, Reyzin & Smith, Fuzzy Extractors: How to Generate Strong Keys from Biometrics and Other Noisy Data, arXiv:cs/0602007v4, Lemma 2.2(b), p. 10 (preamble p. 9)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me