Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Lemma 10, p. 10 — the syndrome σX(e) has weight at most ΔB|e|

Proved
QuantumExpander.Decoder.syndrome_weight_le

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

decodingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-ldpc-codes

Let G=(A∪B,E)G = (A \cup B, \mathcal E)G=(A∪B,E) be a (ΔA,ΔB)(\Delta_A, \Delta_B)(ΔA​,ΔB​)-biregular bipartite graph with nB≤nAn_B \le n_AnB​≤nA​. For every XXX error e∈F2A2∪B2e \in \mathbb F_2^{A^2 \cup B^2}e∈F2A2∪B2​,

∣σX(e)∣≤ΔB ∣e∣.|\sigma_X(e)| \le \Delta_B\,|e| .∣σX​(e)∣≤ΔB​∣e∣.

Indeed each qubit αa\alpha aαa lies in ΔA\Delta_AΔA​ checks of HXH_XHX​ and each qubit bβb\betabβ in ΔB\Delta_BΔB​ checks, and ΔA≤ΔB\Delta_A \le \Delta_BΔA​≤ΔB​ because nAΔA=nBΔBn_A \Delta_A = n_B \Delta_BnA​ΔA​=nB​ΔB​ and nB≤nAn_B \le n_AnB​≤nA​.

The bound converts the syndrome-weight budget of the decoder into an error-weight budget in the proof of Lemma 10.

Preamble
import Mathlib
import Definitions.Def_CodingTheory
import Definitions.Def_TillichZemor_HGP_Setting
import Definitions.Def_QuantumExpander_Decoder_Setting
Formal statement
namespace QuantumExpander.Decoder

theorem syndrome_weight_le {A B : Type*} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
    (adj : A → B → Prop) [∀ a b, Decidable (adj a b)] (ΔA ΔB : ℕ)
    (hbi : IsBiregular adj ΔA ΔB) (hn : Fintype.card B ≤ Fintype.card A)
    (e : Qubit A B → ZMod 2) :
    hammingNorm (sigmaX (bipMatrix adj) e) ≤ ΔB * hammingNorm e := by sorry

end QuantumExpander.Decoder
Source
Leverrier, Tillich and Zémor, Quantum expander codes, arXiv:1504.00822v1, p. 10, proof of Lemma 10, "the syndrome σX(e) has weight at most ΔB|e|"
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 15, 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