Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.4: maximum G-symmetric extendible acceptance

Open
QAlgorithms.Papers.Independent.Extend50.P47.symmetric_extension_fidelity

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

prove2quantum

Every register has a fixed finite nonempty computational basis. States are positive semidefinite trace-one matrices, and pure vectors have norm one. Write F(ρ,σ)=∥ρσ∥12F(\rho,\sigma)=\|\sqrt\rho\sqrt\sigma\|_1^2F(ρ,σ)=∥ρ​σ​∥12​ for squared fidelity. Here GGG is a finite group and UUU denotes its specified unitary representation. Raw Bose averages Π=∣G∣−1∑gU(g)\Pi=|G|^{-1}\sum_gU(g)Π=∣G∣−1∑g​U(g) use an ordinary representation; conjugation symmetry permits a projective representation. The set SymG\mathrm{Sym}_GSymG​ consists of invariant densities; B ⁣-SymG\mathrm{B\!\text{-}Sym}_GB-SymG​ consists of densities supported by Π\PiΠ. The sets SymExtG\mathrm{SymExt}_GSymExtG​ and BSEG\mathrm{BSE}_GBSEG​ are their normalized-extension marginal analogues, tracing out precisely the stated reference register. The input includes a unit purification of ρS\rho_SρS​. The prover acts only on its purifying register, with arbitrary ancillas and a retained private environment, and returns the prescribed registers. It never acts on retained SSS. All maxima mentioned below are attained.

Algorithm 4 optimal acceptance equals the attained maximum squared fidelity over marginals of U-invariant density extensions on RS. Return registers are R,R̂,Ŝ; retained S is untouched by the prover; the tested average uses U_RS⊗conjugate(U_RS).

p4opt=max⁡σ∈SymExtGF(ρ,σ).p_4^{\rm opt}=\max_{\sigma\in\mathrm{SymExt}_G}F(\rho,\sigma).p4opt​=σ∈SymExtG​max​F(ρ,σ).

The formula gives the exact characterization or operational specialization described in the cited result.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P47
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P47

open scoped ComplexConjugate ComplexOrder Matrix Matrix.Norms.L2Operator Manifold ContDiff

open MeasureTheory

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

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

variable {G S R P T A B C D R2 S2 : Type*}

variable [Fintype G] [Group G] [DecidableEq G]

variable [Fintype S] [DecidableEq S] [Nonempty S]

variable [Fintype R] [DecidableEq R] [Nonempty R]

variable [Fintype P] [DecidableEq P] [Nonempty P]

variable [Fintype T] [DecidableEq T] [Nonempty T]

variable [Fintype A] [DecidableEq A] [Nonempty A]

variable [Fintype B] [DecidableEq B] [Nonempty B]

variable [Fintype C] [DecidableEq C] [Nonempty C]

variable [Fintype D] [DecidableEq D] [Nonempty D]

variable [Fintype R2] [DecidableEq R2] [Nonempty R2]

variable [Fintype S2] [DecidableEq S2] [Nonempty S2]

/-- PDF pp.11–12, Theorem 3.4; (74) supplies the maximization omitted in (73). -/
theorem symmetric_extension_fidelity [Nonempty S] [Nonempty R] [Nonempty P] (U : G → Matrix.unitaryGroup (R × S) ℂ)
    (hU : IsProjectiveUnitaryLift U) (rho : Mat S) (hrho : IsDensityMatrix rho)
    (psi : EuclideanSpace ℂ (P × S)) (hpsi : ‖psi‖ = 1)
    (hpur : traceLeft (pureDensity psi) = rho) :
    TestIdentity psi (seTest (fun g => (U g : Mat (R × S)))) rho
      (SE (fun g => (U g : Mat (R × S)))) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P47

end
Source
Testing symmetry on quantum computers, arXiv:2105.12758v3, PDF p. 12, Theorem 3.4: maximum G-symmetric extendible acceptance
Read-back

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

Let GGG be a finite group and let S,R,PS,R,PS,R,P be nonempty finite index sets with decidable equality. Let UgU_gUg​ be unitary on CR×S\mathbb C^{R\times S}CR×S for every ggg, and assume that for every g,hg,hg,h there is a complex number zzz of modulus 111 such that Ugh=zUgUhU_{gh}=zU_gU_hUgh​=zUg​Uh​. Let ρ⪰0\rho\succeq0ρ⪰0 on SSS have trace 111, and let ψ∈CP×S\psi\in\mathbb C^{P\times S}ψ∈CP×S have norm 111 with ρs,s′=∑pψp,sψp,s′‾\rho_{s,s'}=\sum_p\psi_{p,s}\overline{\psi_{p,s'}}ρs,s′​=∑p​ψp,s​ψp,s′​​. Put T=R×(R×S)T=R\times(R\times S)T=R×(R×S), define η:T×S→(R×S)×(R×S)\eta:T\times S\to(R\times S)\times(R\times S)η:T×S→(R×S)×(R×S) by η((r,(r′,s′)),s)=((r,s),(r′,s′))\eta((r,(r',s')),s)=((r,s),(r',s'))η((r,(r′,s′)),s)=((r,s),(r′,s′)), and define

Ka,b=1∣G∣∑g(Ug⊗Ug‾)η(a),η(b).K_{a,b}=\frac1{|G|}\sum_g (U_g\otimes\overline{U_g})_{\eta(a),\eta(b)}.Ka,b​=∣G∣1​g∑​(Ug​⊗Ug​​)η(a),η(b)​.

There exists a real number vvv that is simultaneously the greatest attainable value of

Re⁡tr⁡ ⁣(K†K (N⊗idS)(∣ψ⟩⟨ψ∣))\operatorname{Re}\operatorname{tr}\!\left( K^\dagger K\,(\mathcal N\otimes\mathrm{id}_S)(|\psi\rangle\langle\psi|) \right)Retr(K†K(N⊗idS​)(∣ψ⟩⟨ψ∣))

over all channels N\mathcal NN from PPP to TTT, and the greatest attainable value of

[Re⁡tr⁡ρ σρ]2\left[\operatorname{Re}\operatorname{tr} \sqrt{\sqrt{\rho}\,\sigma\sqrt{\rho}}\right]^2[Retrρ​σρ​​]2

over all density matrices σ\sigmaσ on SSS admitting a density matrix ω\omegaω on R×SR\times SR×S such that σs,s′=∑rω(r,s),(r,s′)\sigma_{s,s'}=\sum_r\omega_{(r,s),(r,s')}σs,s′​=∑r​ω(r,s),(r,s′)​ and ω=UgωUg†\omega=U_g\omega U_g^\daggerω=Ug​ωUg†​ for every ggg. Both greatest values are attained. Here a density matrix is positive semidefinite with trace 111, a channel has a finite Kraus expression N(X)=∑jEjXEj†\mathcal N(X)=\sum_jE_jXE_j^\daggerN(X)=∑j​Ej​XEj†​ with ∑jEj†Ej=IP\sum_jE_j^\dagger E_j=I_P∑j​Ej†​Ej​=IP​, its first-register action leaves SSS unchanged, and square roots use continuous functional calculus.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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