Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Corollary 1, p. 3 — a block code of local-error-detecting codes detects any error on a single transversal part

Proved
EastinKnill.Transversal.part_detection

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

eastin-knillerror-detectionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-error-correctiontransversal-gates

Consider code blocks b∈βb \in \betab∈β, each consisting of subsystems at positions j∈ιj\in\iotaj∈ι, with a code projector PbP_bPb​ on each block that is local-error-detecting on that block's subsystems. Group the subsystems into transversal parts: part jjj consists of subsystem jjj of every block. Then the joint code ⨂bPb\bigotimes_b P_b⨂b​Pb​, viewed on the system of transversal parts, is local-error-detecting with respect to the parts: for every part jjj and every operator EEE on part jjj,

(⨂bPb) (I⊗E⊗I) (⨂bPb)∝⨂bPb.\Big(\bigotimes_b P_b\Big)\,(I\otimes E\otimes I)\,\Big(\bigotimes_b P_b\Big) \propto \bigotimes_b P_b.(b⨂​Pb​)(I⊗E⊗I)(b⨂​Pb​)∝b⨂​Pb​.

This is the step of the proof of Corollary 1 that lets Theorem 1 be applied with the transversal parts in the role of the subsystems: an error on one transversal part is a single-subsystem error on each code block.

Formalization Note An operator EEE on part jjj is an arbitrary matrix on the tensor product of the jjj-th subsystems of all blocks, not necessarily a product operator.

Preamble
import Mathlib
import Definitions.Def_EastinKnill_Transversal_Setting

open scoped Matrix
Formal statement
namespace EastinKnill.Transversal

theorem part_detection {β ι : Type*} [Fintype β] [DecidableEq β] [Fintype ι] [DecidableEq ι]
    {α : β → ι → Type*} [∀ b j, Fintype (α b j)] [∀ b j, DecidableEq (α b j)]
    (P : ∀ b, Matrix (∀ j, α b j) (∀ j, α b j) ℂ)
    (hP : ∀ b, IsCodeProjector (P b)) (hdet : ∀ b, IsLocalErrorDetecting (P b)) :
    IsLocalErrorDetecting (α := fun j => ∀ b, α b j) (blockCode α P) := by sorry

end EastinKnill.Transversal
Source
Eastin & Knill, Restrictions on Transversal Encoded Quantum Gate Sets, arXiv:0811.4262v2, p. 3, proof of Corollary 1
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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