Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Unnumbered stabilized [[4,2,2]]G variant, Eq.(67)

Open
QAlgorithms.Papers.Independent.Extend50.P22.group_four_stabilized

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let GGG be finite and define

V∣a,b⟩=∣G∣−1/2∑g∈G∣g,ga,gba,gb⟩.V|a,b\rangle=|G|^{-1/2}\sum_{g\in G}|g,ga,gba,gb\rangle.V∣a,b⟩=∣G∣−1/2g∈G∑​∣g,ga,gba,gb⟩.

This is an isometry correcting every single-site erasure. Simultaneous left multiplication of all physical coordinates fixes every codeword, while right multiplication by r−1r^{-1}r−1 on the second and third sites implements (a,b)↦(ar−1,b)(a,b)\mapsto(ar^{-1},b)(a,b)↦(ar−1,b). Thus the code has the stated transversal GGG symmetry. The larger independent symmetry of the distinct four-site construction is not asserted.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P22
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Extend50.P22

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P22 (bell)

open QAlgorithms.Papers.Independent.Support21.P09 (Irreducible)

open QAlgorithms.Papers.Independent.Renew46.P45 (symmetricWeight)

/-- PDF p.18, (67): collective-left invariance and only the stated one-factor logical G
symmetry, together with correctability of each single erasure. -/
theorem group_four_stabilized (G : Type*) [Group G] [Fintype G] :
    let V := stabilizedFourEncoding G
    Vᴴ * V = 1 ∧ (∀ i : Fin 4, CorrectsGroupErasure V {i}) ∧
    (∀ l : G, basisMapMatrix (fun y : Fin 4 → G => fun i => l * y i) * V = V) ∧
    ∀ r : G,
      basisMapMatrix (fun y : Fin 4 → G => ![y 0, y 1 * r⁻¹, y 2 * r⁻¹, y 3]) * V =
        V * basisMapMatrix (fun x : G × G => (x.1 * r⁻¹, x.2)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P22

end
Source
Continuous symmetries and approximate quantum error correction, arXiv:1902.07714v1, PDF p. 18, Unnumbered stabilized [[4,2,2]]G variant, Eq.(67)
Read-back

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

For every finite group GGG, including the trivial group, define

Vy,(a,b)=1∣G∣∑g∈G1{y=(g,ga,gba,gb)},y∈G4.V_{y,(a,b)} =\frac1{\sqrt{|G|}}\sum_{g\in G} \mathbf1_{\{y=(g,ga,gba,gb)\}}, \qquad y\in G^4.Vy,(a,b)​=∣G∣​1​g∈G∑​1{y=(g,ga,gba,gb)}​,y∈G4.

Then V†V=IV^\dagger V=IV†V=I, and for every i∈{0,1,2,3}i\in\{0,1,2,3\}i∈{0,1,2,3} there is a recovery function Ri(Y)=∑αKi,αYKi,α†R_i(Y)=\sum_\alpha K_{i,\alpha}YK_{i,\alpha}^\daggerRi​(Y)=∑α​Ki,α​YKi,α†​, with a finite Kraus family satisfying ∑αKi,α†Ki,α=I\sum_\alpha K_{i,\alpha}^\dagger K_{i,\alpha}=I∑α​Ki,α†​Ki,α​=I, such that Ri(Ei(VXV†))=XR_i(\mathcal E_i(VXV^\dagger))=XRi​(Ei​(VXV†))=X for every matrix XXX on G2G^2G2. Here Ei(Y)y,z=0\mathcal E_i(Y)_{y,z}=0Ei​(Y)y,z​=0 unless yi=zi=1Gy_i=z_i=1_Gyi​=zi​=1G​, and otherwise equals ∑h∈GYy[i←h],z[i←h]\sum_{h\in G}Y_{y[i\leftarrow h],z[i\leftarrow h]}∑h∈G​Yy[i←h],z[i←h]​. Furthermore, for every l∈Gl\in Gl∈G, PflV=VP_{f_l}V=VPfl​​V=V, where fl(y)i=lyif_l(y)_i=ly_ifl​(y)i​=lyi​ for every coordinate; and for every r∈Gr\in Gr∈G,

PgrV=VPhr,gr(y)=(y0,y1r−1,y2r−1,y3),hr(a,b)=(ar−1,b).P_{g_r}V=VP_{h_r}, \qquad g_r(y)=(y_0,y_1r^{-1},y_2r^{-1},y_3), \qquad h_r(a,b)=(ar^{-1},b).Pgr​​V=VPhr​​,gr​(y)=(y0​,y1​r−1,y2​r−1,y3​),hr​(a,b)=(ar−1,b).

For every function fff here, PfP_fPf​ has entry 111 at row yyy, column xxx when y=f(x)y=f(x)y=f(x), and entry zero otherwise. Products retain their displayed order, with no commutativity assumption.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me