Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Level-1 extended-rectangle simulation with joint faults on bad exRecs

Open
ThresholdTheorem.level_one_exRec_joint_fault_simulation

by kmehltretter82 · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

fault-tolerancequantum-computingquantum-error-correction

This theorem states the quantum extended-rectangle (exRec) simulation property for level-one fault-tolerant encoding with high-order error correction.

There exist constants Rmax⁡∈NR_{\max} \in \mathbb{N}Rmax​∈N and A∈RA \in \mathbb{R}A∈R, a block size b∈Nb \in \mathbb{N}b∈N, and a classical block decoder dec:{0,1}b→{0,1}\mathrm{dec} : \{0,1\}^b \to \{0,1\}dec:{0,1}b→{0,1} such that every layered circuit CCC on a finite qubit set QQQ admits a level-one encoded circuit C′C'C′ on Q×{0,…,b−1}Q \times \{0, \dots, b-1\}Q×{0,…,b−1} with ∣C′∣≤A∣C∣|C'| \le A |C|∣C′∣≤A∣C∣, an extended-rectangle assignment exRec(ℓ)\mathrm{exRec}(\ell)exRec(ℓ) of size at most Rmax⁡R_{\max}Rmax​ overlapping only between a location and its predecessors/successors, and a bad-location map Ψ(F)\Psi(F)Ψ(F) consisting of locations with at least 303030 faults in exRec(ℓ)∩F\mathrm{exRec}(\ell) \cap FexRec(ℓ)∩F, such that for every environment size mmm there is an environment size m′m'm′ where for any fault set FFF and fault channels fault\mathrm{fault}fault on C′C'C′, there exist layer-wise joint faults JtJ_tJt​ supported on badt(Ψ(F))\mathrm{bad}_t(\Psi(F))badt​(Ψ(F)) satisfying

(blockMap dec)∗P(C′,F,fault)=Pjoint(C,Ψ(F),(Jt)t).(\mathrm{blockMap}\,\mathrm{dec})_* P(C', F, \mathrm{fault}) = P_{\mathrm{joint}}(C, \Psi(F), (J_t)_t).(blockMapdec)∗​P(C′,F,fault)=Pjoint​(C,Ψ(F),(Jt​)t​).

This isolates the quantum gadget and ideal-decoder commutation argument of Aliferis–Gottesman–Preskill from the combinatorial matching of disjoint fault pairs across extended rectangles and their predecessors.

Formalization Note Combined with ThresholdTheorem.exRec_disjoint_pair_matching, this directly yields ThresholdTheorem.level_one_joint_fault_reduction with M=(3Rmax⁡2)M = \binom{3 R_{\max}}{2}M=(23Rmax​​).

Preamble
import Mathlib
import Definitions.Def_threshold_theorem_joint_faults

open ThresholdTheorem
Formal statement
namespace ThresholdTheorem
theorem level_one_exRec_joint_fault_simulation :
    ∃ (R_max : ℕ) (A : ℝ) (b : ℕ) (dec : (Fin b → Fin 2) → Fin 2),
      ∀ (Q : Type) [Fintype Q] [DecidableEq Q] (C : Circuit Q),
        ∃ C' : Circuit (Q × Fin b), (C'.size : ℝ) ≤ A * C.size ∧
          ∃ (exRec : ℕ × ℕ → Finset (ℕ × ℕ))
            (Ψ : Finset (ℕ × ℕ) → Finset (ℕ × ℕ)),
            (∀ ℓ, (exRec ℓ).card ≤ R_max) ∧
            (∀ ℓ₁ ℓ₂, (exRec ℓ₁ ∩ exRec ℓ₂).Nonempty →
              ℓ₁ = ℓ₂ ∨ ℓ₁ ∈ predLocs C {ℓ₂} ∨ ℓ₂ ∈ predLocs C {ℓ₁}) ∧
            (∀ F ℓ, ℓ ∈ Ψ F → 30 ≤ (exRec ℓ ∩ F).card) ∧
            ∀ m : ℕ, ∃ m' : ℕ, ∀ (F : Finset (ℕ × ℕ))
              (fault : ℕ → ℕ → (k : ℕ) → Channel (k + m)),
              ∃ J : ℕ → JointFault Q m',
                (∀ t i, (J t).supp i ∈ badQubits C (Ψ F) t) ∧
                pushDist (blockMap dec) (dataOutDist (faultyState F fault C')) =
                  dataOutDist (jointFaultyState (Ψ F) J C) := by sorry
end ThresholdTheorem
Source
P. Aliferis, D. Gottesman, J. Preskill, Quantum accuracy threshold for concatenated distance-3 codes, Quantum Inf. Comput. 6 (2006) 97-165, arXiv:quant-ph/0504218, Sec. 3 and Sec. 5; D. Aharonov, M. Ben-Or, SIAM J. Comput. 38 (2008), arXiv:quant-ph/9906129.

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