Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Appendix E — the key equation S(z)σ(z)≡ω(z) mod zδS(z)\sigma(z) \equiv \omega(z) \bmod z^\deltaS(z)σ(z)≡ω(z)modzδ

Proved
FuzzyExtractors.EditSketch.appendix_E_key_equation

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

bch-codeskey-equationp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1polynomials

Let KKK be a finite field of characteristic 222, let M⊆K∗M \subseteq K^*M⊆K∗ be the support of a binary word ppp, and let δ≥0\delta \ge 0δ≥0. With the error locator σ(z)=∏x∈M(1−xz)\sigma(z) = \prod_{x \in M} (1 - xz)σ(z)=∏x∈M​(1−xz), the error evaluator ω(z)=σ(z)∑x∈Mxz1−xz\omega(z) = \sigma(z) \sum_{x \in M} \frac{xz}{1 - xz}ω(z)=σ(z)∑x∈M​1−xzxz​, and the syndrome polynomial S(z)=∑ℓ=1δ−1p(αℓ)zℓS(z) = \sum_{\ell = 1}^{\delta - 1} p(\alpha^\ell) z^\ellS(z)=∑ℓ=1δ−1​p(αℓ)zℓ where p(αℓ)=∑x∈Mxℓp(\alpha^\ell) = \sum_{x \in M} x^\ellp(αℓ)=∑x∈M​xℓ,

S(z) σ(z)≡ω(z)(modzδ).S(z)\,\sigma(z) \equiv \omega(z) \pmod{z^\delta}.S(z)σ(z)≡ω(z)(modzδ).

This congruence is the key equation of Berlekamp's BCH decoding algorithm as adapted in Appendix E: the syndrome, which is public, is tied by it to the unknown error locator, whose roots are the inverses of the elements of MMM.

Formalization Note. ω\omegaω is written without division, as ∑x∈Mxz∏y∈M∖{x}(1−yz)\sum_{x \in M} xz \prod_{y \in M \setminus \{x\}} (1 - yz)∑x∈M​xz∏y∈M∖{x}​(1−yz). The congruence modulo zδz^\deltazδ is stated as divisibility of Sσ−ωS\sigma - \omegaSσ−ω by XδX^\deltaXδ. The paper's text says "we are given p(αℓ)p(\alpha^\ell)p(αℓ) for ℓ=1,…,δ\ell = 1, \dots, \deltaℓ=1,…,δ", but SSS uses only ℓ≤δ−1\ell \le \delta - 1ℓ≤δ−1; we follow the definition of SSS. The binary case of the paper's qqq-ary words is stated. The statement holds for every δ\deltaδ (at δ=0\delta = 0δ=0 it is trivial), so no lower bound on δ\deltaδ is imposed.

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

open Polynomial in
theorem appendix_E_key_equation {K : Type} [Field K] [Fintype K] [DecidableEq K] [CharP K 2]
    (δ : ℕ) (M : Finset Kˣ) :
    X ^ δ ∣ synPoly δ M * sigma M - omega M := by sorry

end FuzzyExtractors.EditSketch
Source
Dodis, Ostrovsky, Reyzin & Smith, Fuzzy Extractors, arXiv:cs/0602007v4, Appendix E, proof of Lemma E.1, p. 43
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