Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.2, p. 21 — Rec(w′,SS(w))=w\mathsf{Rec}(w',\mathsf{SS}(w)) = wRec(w′,SS(w))=w whenever ∣w△w′∣≤t|w\triangle w'|\le t∣w△w′∣≤t

Proved
FuzzyExtractors.ImprovedJS.rec_correct

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

p2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1polynomialssecure-sketch

Let F\mathcal FF be a field and t≤st\le st≤s natural numbers. For all sss-element sets w,w′⊆Fw,w'\subseteq\mathcal Fw,w′⊆F with dis(w,w′)=∣w△w′∣≤t\mathrm{dis}(w,w')=|w\triangle w'|\le tdis(w,w′)=∣w△w′∣≤t, the recovery procedure of Construction 5 returns the original set:

Rec(w′,SS(w))=w.\mathsf{Rec}\big(w',\mathsf{SS}(w)\big) = w.Rec(w′,SS(w))=w.

That is, Construction 5 satisfies the correctness property of a secure sketch (Definition 3, item 2) on SDifs(F)\mathrm{SDif}_s(\mathcal F)SDifs​(F) with threshold ttt. Together with the entropy bound, this is the correctness half of Theorem 6.1.

Formalization Note. Both procedures are deterministic, so "returns www" is Rec w' (SS w) = PMF.pure w. The default output used for the paper's "fail" plays no role here, since the statement is about inputs within distance ttt. The paper leaves t≤st\le st≤s implicit; it is a hypothesis here.

Preamble
import Mathlib
import Definitions.Def_FuzzyExtractors_ImprovedJS_Basic
Formal statement
namespace FuzzyExtractors.ImprovedJS

/-- Construction 5 analysis (p. 21): Rec recovers w from w′ and SS(w) whenever dis(w, w′) ≤ t,
i.e. Construction 5 satisfies the correctness property of a secure sketch on SDif_s(𝔽). -/
theorem rec_correct {𝔽 : Type} [Field 𝔽] [DecidableEq 𝔽] (s t : ℕ) (hts : t ≤ s) :
    FuzzyExtractors.Hamming.SketchCorrect (sdifDist (𝓤 := 𝔽) (s := s)) t (sketch s t) (recover s t) := by sorry

end FuzzyExtractors.ImprovedJS
Source
Dodis, Ostrovsky, Reyzin & Smith, Fuzzy Extractors, arXiv:cs/0602007v4, §6.2, analysis of Construction 5, p. 21, "Therefore, the recovered polynomial p_low must be −q … which consists of the roots of p′"
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