Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Twirling preserves an optimal separable comparison state

Open
QAlgorithms.Papers.Independent.Bridge50.P20.lemma1

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

prove2quantum

Let ρ\rhoρ be any normalized two-qubit state invariant under Uθ=ei(θ/2)σz⊗e−i(θ/2)σzU_\theta=e^{i(\theta/2)\sigma_z}\otimes e^{-i(\theta/2)\sigma_z}Uθ​=ei(θ/2)σz​⊗e−i(θ/2)σz​ for 0≤θ≤2π0\le\theta\le2\pi0≤θ≤2π. Choose either of the feasible sets consisting of all normalized separable states, or those additionally satisfying Tr⁡Bσ=I/2\operatorname{Tr}_B\sigma=I/2TrB​σ=I/2. Let σ∗\sigma_*σ∗​ be an actual minimizer of Dmax⁡(ρ∥σ)D_{\max}(\rho\Vert\sigma)Dmax​(ρ∥σ) in the chosen feasible set, and define σ‾∗=(2π)−1∫02πUθσ∗Uθ† dθ\overline\sigma_*=(2\pi)^{-1}\int_0^{2\pi}U_\theta\sigma_*U_\theta^\dagger\,d\thetaσ∗​=(2π)−1∫02π​Uθ​σ∗​Uθ†​dθ. Then

σ‾∗∈SEP,Dmax⁡(ρ∥σ∗)=Dmax⁡(ρ∥σ‾∗).\overline\sigma_*\in\mathrm{SEP},\qquad D_{\max}(\rho\Vert\sigma_*)=D_{\max}(\rho\Vert\overline\sigma_*).σ∗​∈SEP,Dmax​(ρ∥σ∗​)=Dmax​(ρ∥σ∗​).

In the constrained case, also Tr⁡Bσ‾∗=I/2\operatorname{Tr}_B\overline\sigma_*=I/2TrB​σ∗​=I/2. Each feasible-set choice has its own supplied optimizer. The input need not be the Choi state of an amplitude-damping channel.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P20
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P20

open QAlgorithms QAlgorithms.Entanglement

-- Reuse pinned accepted definitions; source-specific conventions are audited below.

open QAlgorithms.Papers.Independent.Dependency50.P35 (maxRelative)

open QAlgorithms.Papers.Independent.Information100.P04 (bellProjector)

open QAlgorithms.Papers.Independent.Information100.P53 (amplitudeDamping)

open QAlgorithms.Papers.Independent.Information100.P75 (mixedIdentity)

open QAlgorithms.Papers.Independent.Next46.P29 (zRotation)

open QAlgorithms.Papers.Independent.Support50.P11 (choiState)

open scoped Matrix ComplexConjugate ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

/-- arXiv:1707.05543v2, PDF p.28, Lemma 1 (B4)-(B5): twirling either kind
of actual optimizer preserves separability and the attained divergence. In the
constrained case it also preserves the reference marginal. Each choice has its own optimizer. -/
theorem lemma1 (rho : Matrix (Fin 2 × Fin 2) (Fin 2 × Fin 2) ℂ)
    (hrho : IsDensityMatrix rho) (hinv : IsPhaseInvariant rho) :
    ∀ (fixed : Bool) (sigma : Matrix (Fin 2 × Fin 2) (Fin 2 × Fin 2) ℂ),
      IsComparisonOptimizer rho sigma fixed →
      IsSeparableDensity (phaseTwirl sigma) ∧
      maxRelative rho sigma = maxRelative rho (phaseTwirl sigma) ∧
      (fixed = true → traceRight (phaseTwirl sigma) = mixedIdentity (Fin 2)) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P20

end
Source
Versatile relative entropy bounds for quantum networks, arXiv:1707.05543v2, PDF p. 28, Appendix B, Lemma 1, (B4)–(B5): twirl of an optimal separable comparison state
Read-back

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

Let ρ\rhoρ be a positive semidefinite trace-111 matrix on C2⊗C2\mathbb C^2\otimes\mathbb C^2C2⊗C2, and suppose WθρWθ†=ρW_\theta\rho W_\theta^\dagger=\rhoWθ​ρWθ†​=ρ for every θ∈[0,2π]\theta\in[0,2\pi]θ∈[0,2π], where Wθ=diag⁡(1,eiθ,e−iθ,1)W_\theta=\operatorname{diag}(1,e^{i\theta},e^{-i\theta},1)Wθ​=diag(1,eiθ,e−iθ,1) in the order 00,01,10,1100,01,10,1100,01,10,11. Define T(X)=(2π)−1∫02πWθXWθ† dθ\mathcal T(X)=(2\pi)^{-1}\int_0^{2\pi}W_\theta XW_\theta^\dagger\,d\thetaT(X)=(2π)−1∫02π​Wθ​XWθ†​dθ, entry by entry, and Dmax⁡(X∥Y)=inf⁡{ℓ∈R:2ℓY−X is positive semidefinite}D_{\max}(X\|Y)=\inf\{\ell\in\mathbb R:2^\ell Y-X\text{ is positive semidefinite}\}Dmax​(X∥Y)=inf{ℓ∈R:2ℓY−X is positive semidefinite} in the extended reals. For every Boolean flag fff and every matrix σ\sigmaσ, suppose σ\sigmaσ is a separable density matrix, satisfies tr⁡2σ=12/2\operatorname{tr}_2\sigma=1_2/2tr2​σ=12​/2 if fff is true, and minimizes Dmax⁡(ρ∥⋅)D_{\max}(\rho\|\cdot)Dmax​(ρ∥⋅) among all separable density matrices satisfying that same conditional marginal constraint. Here separability means being a finite convex combination of products of positive semidefinite trace-111 matrices. Then T(σ)\mathcal T(\sigma)T(σ) is a separable density matrix,

Dmax⁡(ρ∥σ)=Dmax⁡(ρ∥T(σ)),D_{\max}(\rho\|\sigma)=D_{\max}(\rho\|\mathcal T(\sigma)),Dmax​(ρ∥σ)=Dmax​(ρ∥T(σ)),

and, if fff is true, tr⁡2T(σ)=12/2\operatorname{tr}_2\mathcal T(\sigma)=1_2/2tr2​T(σ)=12​/2. For the false flag no marginal constraint is imposed.

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