Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Exact strong-local correction for fermionic site regions

Open
QAlgorithms.Papers.Independent.Intakethird100.P44.fermionic_site_exact_criteria

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

prove2quantum

All Hilbert spaces are finite dimensional and nonzero, and every channel is completely positive and trace preserving on the full matrix algebra. Let ω\omegaω be a set of fermionic sites, possibly empty, and Aω\mathcal A_\omegaAω​ its even local CAR algebra on the full Fock space. Let CωC_\omegaCω​ be regional parity, P±=(I±Cω)/2P_\pm=(I\pm C_\omega)/2P±​=(I±Cω​)/2, and N(X)=∑iEiXEi†\mathcal N(X)=\sum_iE_iXE_i^\daggerN(X)=∑i​Ei​XEi†​ a normalized channel with Ei∈AωE_i\in\mathcal A_\omegaEi​∈Aω​. Let WWW be any isometric code. Strong locality means the adjoint preserves Aω\mathcal A_\omegaAω​ and fixes its full ambient commutant Aω′\mathcal A_\omega'Aω′​ pointwise. The target projection onto Aω∨Aω′\mathcal A_\omega\vee\mathcal A_\omega'Aω​∨Aω′​ is regional parity dephasing. Exact strong-local correction to this physical target is equivalent to each condition:

  1. There are normalized environment densities ρ+,ρ−\rho_+,\rho_-ρ+​,ρ−​ such that for every B∈Aω′B\in\mathcal A_\omega'B∈Aω′​ and environment matrix XXX,
∑ijXijW†Ei†BEjW=∑s∈{+,−}Tr⁡(ρsX)W†PsBPsW.\sum_{ij}X_{ij}W^\dagger E_i^\dagger BE_jW=\sum_{s\in\{+,-\}}\operatorname{Tr}(\rho_sX)W^\dagger P_sBP_sW.ij∑​Xij​W†Ei†​BEj​W=s∈{+,−}∑​Tr(ρs​X)W†Ps​BPs​W.
  1. One complex array λijs\lambda_{ijs}λijs​, uniform in BBB, satisfies, with Bs=PsBPsB_s=P_sBP_sBs​=Ps​BPs​,
W†Ei†EjBsW=λijsW†BsWfor all i,j,s, B∈Aω′.W^\dagger E_i^\dagger E_jB_sW=\lambda_{ijs}W^\dagger B_sW\quad\text{for all }i,j,s,\ B\in\mathcal A_\omega'.W†Ei†​Ej​Bs​W=λijs​W†Bs​Wfor all i,j,s, B∈Aω′​.

The BsB_sBs​ commute with the noise operators. For ω=∅\omega=\varnothingω=∅, Cω=IC_\omega=ICω​=I and P−=0P_-=0P−​=0; no nonzero-sector assumption is added.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P44
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakethird100.P44

open scoped Matrix ComplexConjugate ComplexOrder

open QAlgorithms.Papers.Independent.Information100.P60 (Mat)

open QAlgorithms.Papers.Independent.Information100.P67 (mapFirst)

open QAlgorithms.Papers.Independent.Claimed50.P48 (operatorTraceDual)

open QAlgorithms.Papers.Independent.Renew46.P43 (purification)

variable {H K L J E F B : Type*}

variable [Fintype H] [DecidableEq H] [Fintype K] [DecidableEq K]

variable [Fintype L] [DecidableEq L] [Fintype J] [DecidableEq J]

variable [Fintype E] [DecidableEq E] [Fintype F] [DecidableEq F]

variable [Fintype B] [DecidableEq B]

/-- PDF p.10, Eqs.(53)--(54): exact strong-local correction for fermionic
SITE regions. The empty region is allowed; its unused minus sector is zero. 
Parity correction, PDF p.2 Eq.(1): printed i^(|omega|-1) for Majorana labels;
changed to i^m on 2m ordered modes. Why: the printed four-mode value is
anti-Hermitian with square -I, whereas the source requires parity sectors of
a Hermitian involution. Only this normalization (up to sign) is corrected. -/
theorem fermionic_site_exact_criteria {n : ℕ} [Nonempty L] [Nonempty J]
    (f : Fermions n) (omega : Finset (Fin n))
    (noise : J → Mat (Fin (2 ^ n))) (hnoise : IsKrausFamily noise)
    (hlocal : ∀ i, noise i ∈ evenRegion f (siteModes omega))
    (W : Matrix (Fin (2 ^ n)) L ℂ) (hW : Wᴴ * W = 1) :
    (StrongCorrectable (evenRegion f (siteModes omega) : Set _) (regionParity f omega)
        (krausApply noise) W ↔
      RegionalStateCondition (evenRegion f (siteModes omega) : Set _)
        (regionParity f omega) noise W) ∧
    (StrongCorrectable (evenRegion f (siteModes omega) : Set _) (regionParity f omega)
        (krausApply noise) W ↔
      RegionalCoefficients (evenRegion f (siteModes omega) : Set _)
        (regionParity f omega) noise W) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P44

end
Source
Approximate recovery with locality and symmetry constraints, arXiv:1806.10324v2, PDF p. 10, §IV E, Eqs.(53)–(54): exact strong local correction for fermionic site regions
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every natural number nnn, nonempty finite index types L,JL,JL,J with decidable equality, a family (wj)0≤j<2n(w_j)_{0\le j<2n}(wj​)0≤j<2n​ of Hermitian complex 2n×2n2^n\times2^n2n×2n matrices satisfying wiwj+wjwi=2Iw_iw_j+w_jw_i=2Iwi​wj​+wj​wi​=2I for i=ji=ji=j and 000 otherwise, and every finite set ω⊆{0,…,n−1}\omega\subseteq\{0,\ldots,n-1\}ω⊆{0,…,n−1}, put S={j<2n:∃s∈ω, ⌊j/2⌋=s}S=\{j<2n:\exists s\in\omega,\ \lfloor j/2\rfloor=s\}S={j<2n:∃s∈ω, ⌊j/2⌋=s}, let A\mathcal AA be the complex linear span of all products wj1⋯wj2tw_{j_1}\cdots w_{j_{2t}}wj1​​⋯wj2t​​ with every ja∈Sj_a\in Sja​∈S, including the empty product III, and put C=i∣ω∣∏j∈Sin increasing orderwjC=\mathrm{i}^{|\omega|}\prod_{j\in S}^{\text{in increasing order}}w_jC=i∣ω∣∏j∈Sin increasing order​wj​ and Pfalse=(I+C)/2, Ptrue=(I−C)/2P_{\mathrm{false}}=(I+C)/2,\ P_{\mathrm{true}}=(I-C)/2Pfalse​=(I+C)/2, Ptrue​=(I−C)/2. For every family (Ni)i∈J(N_i)_{i\in J}(Ni​)i∈J​ belonging to A\mathcal AA and satisfying ∑iNi†Ni=I\sum_iN_i^\dagger N_i=I∑i​Ni†​Ni​=I, and every matrix W∈C2n×LW\in\mathbb C^{2^n\times L}W∈C2n×L satisfying W†W=IW^\dagger W=IW†W=I, the theorem asserts both C  ⟺  S\mathcal C\iff\mathcal SC⟺S and C  ⟺  L\mathcal C\iff\mathcal LC⟺L, where C\mathcal CC means that there exists a channel R(Z)=∑aEaZEa†R(Z)=\sum_aE_aZE_a^\daggerR(Z)=∑a​Ea​ZEa†​, with a finite Kraus family satisfying ∑aEa†Ea=I\sum_aE_a^\dagger E_a=I∑a​Ea†​Ea​=I, whose trace dual [R∨(Y)]ab=tr⁡(R(Eba)Y)[R^\vee(Y)]_{ab}=\operatorname{tr}(R(E_{ba})Y)[R∨(Y)]ab​=tr(R(Eba​)Y) maps A\mathcal AA into itself and fixes every matrix commuting with A\mathcal AA, and which satisfies

R ⁣(∑iNiWXW†Ni†)=12(WXW†+C WXW†C)for every X∈CL×L;R\!\left(\sum_iN_iWXW^\dagger N_i^\dagger\right) =\frac12\left(WXW^\dagger+C\,WXW^\dagger C\right) \quad\text{for every }X\in\mathbb C^{L\times L};R(i∑​Ni​WXW†Ni†​)=21​(WXW†+CWXW†C)for every X∈CL×L;

S\mathcal SS means that there exist positive semidefinite J×JJ\times JJ×J matrices ρfalse,ρtrue\rho_{\mathrm{false}},\rho_{\mathrm{true}}ρfalse​,ρtrue​, each of trace 111, such that

∑i,jXijW†Ni†YNjW=∑ktr⁡(ρkX) W†PkYPkW\sum_{i,j}X_{ij}W^\dagger N_i^\dagger YN_jW =\sum_k\operatorname{tr}(\rho_kX)\,W^\dagger P_kYP_kWi,j∑​Xij​W†Ni†​YNj​W=k∑​tr(ρk​X)W†Pk​YPk​W

for every complex J×JJ\times JJ×J matrix XXX and every YYY commuting with A\mathcal AA; and L\mathcal LL means that there exist complex scalars λijk\lambda_{ijk}λijk​ such that

W†Ni†Nj(PkYPk)W=λijkW†(PkYPk)WW^\dagger N_i^\dagger N_j(P_kYP_k)W =\lambda_{ijk}W^\dagger(P_kYP_k)WW†Ni†​Nj​(Pk​YPk​)W=λijk​W†(Pk​YPk​)W

for every i,j∈Ji,j\in Ji,j∈J, Boolean kkk, and every YYY commuting with A\mathcal AA. No nonemptiness assumption on ω\omegaω or positivity assumption on nnn is made: for ω=∅\omega=\varnothingω=∅, one has A=CI\mathcal A=\mathbb CIA=CI and C=IC=IC=I.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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