Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

SDP (144): maximum BSE root fidelity

Open
QAlgorithms.Papers.Independent.Extend50.P47.sdp_bse

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 attained maximum of sqrt(F(ρ,τ)) over BSEG equals the attained maximum Re Tr X subject to [[ρ,X†],[X,τ]] PSD, trace-one PSD ω, and τ=TrRω, ω=ΠUωΠU. The optimal acceptance probability is the square of this optimum. A nonzero Bose average is required for the maximum; when it vanishes, the SDP is infeasible.

max⁡σ∈BSEGF(ρ,σ)=max⁡X,ωRSRe⁡Tr⁡X,(ρX†XTr⁡RωRS)⪰0,ωRS⪰0,Tr⁡ωRS=1,ωRS=ΠωRSΠ.\max_{\sigma\in\mathrm{BSE}_G}\sqrt{F(\rho,\sigma)}=\max_{X,\omega_{RS}}\operatorname{Re}\operatorname{Tr}X,\quad\begin{pmatrix}\rho&X^\dagger\\X&\operatorname{Tr}_R\omega_{RS}\end{pmatrix}\succeq0,\quad\omega_{RS}\succeq0,\quad\operatorname{Tr}\omega_{RS}=1,\quad\omega_{RS}=\Pi\omega_{RS}\Pi.σ∈BSEG​max​F(ρ,σ)​=X,ωRS​max​ReTrX,(ρX​X†TrR​ωRS​​)⪰0,ωRS​⪰0,TrωRS​=1,ωRS​=ΠωRS​Π.

The formula gives the exact characterization or operational specialization described in the cited result. Here XXX acts on SSS; an extension variable acts on RSRSRS, and only its SSS marginal is placed in the lower-right block. The objective is root fidelity, rather than a probability.

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 p.18, (144). Source correction: Bose-extension SDP feasibility requires
a nonzero raw projector; zero projector gives an infeasible problem. -/
theorem sdp_bse [Nonempty S] [Nonempty R] (U : G →* Matrix.unitaryGroup (R × S) ℂ) (rho : Mat S)
    (hrho : IsDensityMatrix rho) :
    (symmetryControlAverage (fun g => (U g : Mat (R × S))) ≠ 0 → ∃ v,
      IsGreatest (rootValues rho (BSE (fun g => (U g : Mat (R × S))))) v ∧
      IsGreatest (extensionSDP rho (Bose (symmetryControlAverage (fun g => (U g : Mat (R × S)))))) v) ∧
    (symmetryControlAverage (fun g => (U g : Mat (R × S))) = 0 →
      extensionSDP rho (Bose (symmetryControlAverage (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. 18, SDP (144): maximum BSE root fidelity
Read-back

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

Let GGG be a finite group, R,SR,SR,S nonempty finite index types with the required decidable equalities, U:G→U(CR×S)U:G\to\mathrm U(\mathbb C^{R\times S})U:G→U(CR×S) a group homomorphism, and ρ⪰0\rho\succeq0ρ⪰0 on SSS with tr⁡ρ=1\operatorname{tr}\rho=1trρ=1. Put A=∣G∣−1∑gUgA=|G|^{-1}\sum_gU_gA=∣G∣−1∑g​Ug​, and define (Tr⁡Rω)st=∑rω(r,s),(r,t)(\operatorname{Tr}_R\omega)_{st}=\sum_r\omega_{(r,s),(r,t)}(TrR​ω)st​=∑r​ω(r,s),(r,t)​. If A≠0A\ne0A=0, there is a real vvv that is an attained maximum of both

{F(ρ,σ):σ⪰0, tr⁡σ=1, ∃ω⪰0, tr⁡ω=1, ω=AωA, Tr⁡Rω=σ}\{F(\rho,\sigma):\sigma\succeq0,\ \operatorname{tr}\sigma=1,\ \exists\omega\succeq0,\ \operatorname{tr}\omega=1,\ \omega=A\omega A,\ \operatorname{Tr}_R\omega=\sigma\}{F(ρ,σ):σ⪰0, trσ=1, ∃ω⪰0, trω=1, ω=AωA, TrR​ω=σ}

and

{Re⁡tr⁡X:ω⪰0, tr⁡ω=1, ω=AωA, (ρX†XTr⁡Rω)⪰0}.\left\{\operatorname{Re}\operatorname{tr}X: \omega\succeq0,\ \operatorname{tr}\omega=1,\ \omega=A\omega A,\ \begin{pmatrix}\rho&X^\dagger\\X&\operatorname{Tr}_R\omega\end{pmatrix}\succeq0\right\}.{RetrX:ω⪰0, trω=1, ω=AωA, (ρX​X†TrR​ω​)⪰0}.

Here σ,X\sigma,Xσ,X are complex matrices on SSS, ω\omegaω is a complex matrix on R×SR\times SR×S, and F(B,C)=Re⁡tr⁡B CBF(B,C)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt B\,C\sqrt B}F(B,C)=RetrB​CB​​. If A=0A=0A=0, the second displayed set is empty.

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