Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Case 3: tensor-power permutation-covariant exact codes for every finite group

Open
QAlgorithms.Papers.Independent.Extend50.P29.finite_group_permutation_code

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

prove2quantum

Let a finite group GGG act on a finite set AAA. Let Hin\mathcal H_{\rm in}Hin​ and H\mathcal HH be nonzero finite-dimensional complex Hilbert spaces. Let 0≤k≤n0\le k\le n0≤k≤n, and let E0\mathcal E_0E0​ be any CPTP encoding from Hin\mathcal H_{\rm in}Hin​ into H⊗n\mathcal H^{\otimes n}H⊗n that corrects every known erased subset of at most kkk modes, exactly on all input density matrices. Define the tensor-product channel on the entire input, including entangled states, by

E=⨂a∈AE0: S(Hin⊗A)⟶S((H⊗A)⊗n).\mathcal E=\bigotimes_{a\in A}\mathcal E_0:\ S(\mathcal H_{\rm in}^{\otimes A})\longrightarrow S\bigl((\mathcal H^{\otimes A})^{\otimes n}\bigr).E=a∈A⨂​E0​: S(Hin⊗A​)⟶S((H⊗A)⊗n).

Let P(g)P(g)P(g) permute the AAA factors with coordinate rule a↦g−1aa\mapsto g^{-1}aa↦g−1a. Then E\mathcal EE is CPTP and

E(Pin(g)ρPin(g)†)=Pout(g)E(ρ)Pout(g)†.\mathcal E(P_{\rm in}(g)\rho P_{\rm in}(g)^\dagger)=P_{\rm out}(g)\mathcal E(\rho)P_{\rm out}(g)^\dagger.E(Pin​(g)ρPin​(g)†)=Pout​(g)E(ρ)Pout​(g)†.

It also exactly corrects erasure of every subset of at most kkk grouped physical shares. Taking A=GA=GA=G gives the regular permutation construction for each finite group; no prescribed irreducible logical representation is asserted.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P29
Formal statement
noncomputable section

open MeasureTheory MeasureTheory.Measure

open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.L2Operator

attribute [local instance] Classical.propDecidable Classical.decEq

namespace QAlgorithms.Papers.Independent.Extend50.P29

open QAlgorithms.Papers.Independent.Information100.P32 (evolution)

open QAlgorithms.Papers.Independent.Next46.P39 (inverseSqrt rectAct)

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

/-- PDF pp.4--5, Case 3: the specified tensor-power channel is CPTP,
permutation-covariant and inherits every at-most-k share erasure correction.
Taking A=G with the regular action gives the finite-group construction. -/
theorem finite_group_permutation_code
    {G A I H : Type} [Group G] [Fintype G] [Fintype A] [MulAction G A]
    [Fintype I] [Nonempty I] [Fintype H] [Nonempty H]
    {n k : ℕ} (hkn : k ≤ n)
    (E0 : Superop I (Fin n → H)) (hE0 : IsChannel E0)
    (hcorrect : CorrectsErasedSubsets (H := fun _ : Fin n => H) k E0) :
    IsChannel (tensorEncoding (A := A) E0) ∧
    ErasureCovariant (H := fun _ : Fin n => A → H)
      (fun g : G => copyPermutation (A := A) (I := I) g)
      (fun (g : G) (_ : Fin n) => copyPermutation (A := A) (I := H) g) (tensorEncoding (A := A) E0) ∧
    CorrectsErasedSubsets (H := fun _ : Fin n => A → H) k (tensorEncoding (A := A) E0) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P29

end
Source
Error Correction of Quantum Reference Frame Information, arXiv:1709.04471v1, PDF p. 4, Case 3: tensor-power permutation-covariant exact codes for every finite group
Read-back

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

Let GGG be a finite group acting on a finite set AAA, let I,HI,HI,H be finite nonempty sets, and let k,nk,nk,n be natural numbers with k≤nk\le nk≤n. Suppose E0E_0E0​ is a channel from matrices on III to matrices on HnH^nHn, and suppose that for every subset J⊆{0,…,n−1}J\subseteq\{0,\ldots,n-1\}J⊆{0,…,n−1} with ∣J∣≤k|J|\le k∣J∣≤k, there exists a channel DJD_JDJ​ recovering every input density matrix from E0E_0E0​ after tracing out the registers in JJJ. A channel here has a finite Kraus representation with ∑aKa†Ka=1\sum_aK_a^\dagger K_a=1∑a​Ka†​Ka​=1, and density matrices are positive semidefinite with trace one. Define E\mathcal EE, from matrices on IAI^AIA to matrices on (HA)n(H^A)^n(HA)n, by

E(X)y,z=∑x,x′∈IAXx,x′∏a∈AE0(∣xa⟩⟨xa′∣)(yi(a))i, (zi(a))i.\mathcal E(X)_{y,z} =\sum_{x,x'\in I^A}X_{x,x'} \prod_{a\in A} E_0(|x_a\rangle\langle x'_a|)_{(y_i(a))_i,\,(z_i(a))_i}.E(X)y,z​=x,x′∈IA∑​Xx,x′​a∈A∏​E0​(∣xa​⟩⟨xa′​∣)(yi​(a))i​,(zi​(a))i​​.

For K=I,HK=I,HK=I,H, define (PgK)x,y=1(P_g^K)_{x,y}=1(PgK​)x,y​=1 when x(a)=y(g−1 ⁣⋅a)x(a)=y(g^{-1}\!\cdot a)x(a)=y(g−1⋅a) for every aaa, and zero otherwise; let (Vg)y,z=∏i<n(PgH)yi,zi(V_g)_{y,z}=\prod_{i<n}(P_g^H)_{y_i,z_i}(Vg​)y,z​=∏i<n​(PgH​)yi​,zi​​. Then E\mathcal EE is a channel, it satisfies

VgE((PgI)†ρPgI)Vg†=E(ρ)V_g\mathcal E((P_g^I)^\dagger\rho P_g^I)V_g^\dagger=\mathcal E(\rho)Vg​E((PgI​)†ρPgI​)Vg†​=E(ρ)

for every g∈Gg\in Gg∈G and every input density matrix ρ\rhoρ, and it corrects erasure of every subset of at most kkk of its nnn registers, each such register having configuration set HAH^AHA, using an appropriate channel decoder for that subset. Partial trace means summing entries over matching configurations of the erased registers. The statement includes empty AAA, n=k=0n=k=0n=k=0, and, when k=nk=nk=n, erasure of all output registers.

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