Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Bipartite k-Bose extendibility test, (95)

Open
QAlgorithms.Papers.Independent.Extend50.P47.k_bose_test

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.

For k≥1, Algorithm 3 using S=AB1, R=B2···Bk and U(π)=IA⊗W_B(π) has optimum max over k-Bose extendible density states.

p3opt=max⁡σ∈k-BEF(ρAB,σ).p_3^{\rm opt}=\max_{\sigma\in k\text{-BE}}F(\rho_{AB},\sigma).p3opt​=σ∈k-BEmax​F(ρAB​,σ).

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 p.14, (95): k-Bose extendibility tests; k=n+1 is always positive. -/
theorem k_bose_test [Nonempty P] [Nonempty A] [Nonempty B] (n : ℕ) (rho : Mat (A × B)) (hrho : IsDensityMatrix rho)
    (psi : EuclideanSpace ℂ (P × (A × B))) (hpsi : ‖psi‖ = 1)
    (hpur : traceLeft (pureDensity psi) = rho) :
    TestIdentity psi (symmetryControlAverage (kFamily (A := A) (B := B) n)) rho
      (BSE (kFamily (A := A) (B := B) n)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P47

end
Source
Testing symmetry on quantum computers, arXiv:2105.12758v3, PDF p. 14, Bipartite k-Bose extendibility test, (95)
Read-back

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

Let P,A,BP,A,BP,A,B be nonempty finite index types with decidable equality, let nnn be any natural number, let ρ\rhoρ be a positive semidefinite matrix on A×BA\times BA×B with trace 111, and let ψ∈CP×(A×B)\psi\in\mathbb C^{P\times(A\times B)}ψ∈CP×(A×B) have norm 111 and satisfy Tr⁡P∣ψ⟩⟨ψ∣=ρ\operatorname{Tr}_P|\psi\rangle\langle\psi|=\rhoTrP​∣ψ⟩⟨ψ∣=ρ, where (∣ψ⟩⟨ψ∣)u,v=ψuψv‾(|\psi\rangle\langle\psi|)_{u,v}=\psi_u\overline{\psi_v}(∣ψ⟩⟨ψ∣)u,v​=ψu​ψv​​. On Bn×(A×B)B^n\times(A\times B)Bn×(A×B), let Q=(n+1)!−1∑πVπQ=(n+1)!^{-1}\sum_\pi V_\piQ=(n+1)!−1∑π​Vπ​, where VπV_\piVπ​ fixes the AAA-coordinate and permutes the ordered BBB-tuple consisting of the distinguished BBB-coordinate followed by the nnn reference coordinates, using π−1\pi^{-1}π−1. The following sets have a common greatest element:

{Re⁡Tr⁡ ⁣[Q†Q (N⊗idA×B)(∣ψ⟩⟨ψ∣)]:N:P→Bn is a channel}\left\{\operatorname{Re}\operatorname{Tr}\!\left[ Q^\dagger Q\,(\mathcal N\otimes\mathrm{id}_{A\times B}) (|\psi\rangle\langle\psi|)\right]: \mathcal N:P\to B^n\text{ is a channel}\right\}{ReTr[Q†Q(N⊗idA×B​)(∣ψ⟩⟨ψ∣)]:N:P→Bn is a channel}

and

{Fr(ρ,σ)2:σ≥0, Tr⁡σ=1, and there exists Ω≥0on Bn×(A×B) with Tr⁡Ω=1,Ω=QΩQ,Tr⁡BnΩ=σ}.\left\{F_{\mathrm r}(\rho,\sigma)^2: \begin{array}{l} \sigma\ge0,\ \operatorname{Tr}\sigma=1,\ \text{and there exists }\Omega\ge0\\ \text{on }B^n\times(A\times B)\text{ with }\operatorname{Tr}\Omega=1,\\ \Omega=Q\Omega Q,\quad \operatorname{Tr}_{B^n}\Omega=\sigma \end{array}\right\}.⎩⎨⎧​Fr​(ρ,σ)2:σ≥0, Trσ=1, and there exists Ω≥0on Bn×(A×B) with TrΩ=1,Ω=QΩQ,TrBn​Ω=σ​⎭⎬⎫​.

Here a channel acts as X↦∑jEjXEj†X\mapsto\sum_jE_jXE_j^\daggerX↦∑j​Ej​XEj†​ for a finite Kraus family satisfying ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I, and Fr(ρ,σ)=Re⁡Tr⁡ρ σρF_{\mathrm r}(\rho,\sigma)=\operatorname{Re}\operatorname{Tr}\sqrt{\sqrt\rho\,\sigma\sqrt\rho}Fr​(ρ,σ)=ReTrρ​σρ​​, using functional calculus. No positivity assumption on nnn is made; when n=0n=0n=0, BnB^nBn is a singleton and QQQ is the identity.

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