Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 6.3 — PinSketch is an average-case (SDif(U),m,m−tlog⁡(n+1),t)(\mathrm{SDif}(\mathcal U), m, m - t\log(n+1), t)(SDif(U),m,m−tlog(n+1),t) secure sketch

Proved
FuzzyExtractors.EditSketch.theorem_6_3

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

p2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1pinsketchsecure-sketchset-difference

Let KKK be a finite field of characteristic 222, so that U=K∗\mathcal U = K^*U=K∗ has n=2μ−1n = 2^\mu - 1n=2μ−1 elements, and let SDif(U)\mathrm{SDif}(\mathcal U)SDif(U) be the set of all subsets of U\mathcal UU with the distance ∣w△w′∣|w \triangle w'|∣w△w′∣. For every t∈Nt \in \mathbb Nt∈N and every real mmm, PinSketch (Construction 6) with parameter ttt is an average-case

(SDif(U), m, m−tlog⁡(n+1), t)\big(\mathrm{SDif}(\mathcal U),\ m,\ m - t\log(n + 1),\ t\big)(SDif(U), m, m−tlog(n+1), t)

secure sketch. Its output (s1,s3,…,s2t−1)∈Kt(s_1, s_3, \dots, s_{2t-1}) \in K^t(s1​,s3​,…,s2t−1​)∈Kt has storage tlog⁡(n+1)t \log(n+1)tlog(n+1) bits.

PinSketch is the set-difference sketch that the edit-distance construction of §7 runs on the shingle set; its entropy loss tlog⁡(n+1)t\log(n+1)tlog(n+1) is the second term of the loss in Theorem 7.5.

Formalization Note. The paper's GF(2m)GF(2^m)GF(2m) is any finite field K of characteristic 222; the field degree is renamed μ\muμ, so log⁡(n+1)=μ\log(n + 1) = \mulog(n+1)=μ. The storage claim is the type Fin t → K of the sketch. The running-time sentence ("SS and Rec both run in time polynomial in ttt and log⁡n\log nlogn") is dropped. Subsets have any size (no fixed-size restriction). The recovery procedure is pinRec of the definitions module, which outputs w′w'w′ when no light vvv with the given odd syndromes exists.

Preamble
import Mathlib
import Definitions.Def_FuzzyExtractors_EditSketch_Basic
Formal statement
namespace FuzzyExtractors.EditSketch

theorem theorem_6_3 {K : Type} [Field K] [Fintype K] [DecidableEq K] [CharP K 2]
    (t : ℕ) (m : ℝ) :
    FuzzyExtractors.Hamming.IsAvgSecureSketch (symmDiffDis (U := Kˣ)) m
      (m - (t : ℝ) * Real.logb 2 ((Fintype.card Kˣ : ℝ) + 1)) t
      (pinSS (K := K) t) (pinRec t) := by sorry

end FuzzyExtractors.EditSketch
Source
Dodis, Ostrovsky, Reyzin & Smith, Fuzzy Extractors, arXiv:cs/0602007v4, Theorem 6.3, p. 23
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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me