Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2: adjunction exchanges CPTP and unital CP maps

Open
QAlgorithms.Papers.Independent.Advance50.P12.adjunction_CPTP_unitalCP

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

prove2quantum

Let HA,HBH_A,H_BHA​,HB​ be positive-dimensional finite-dimensional complex Hilbert spaces. For a complex-linear map Φ:L(HA)→L(HB)\Phi:L(H_A)\to L(H_B)Φ:L(HA​)→L(HB​), define its trace-pairing adjoint by

tr⁡(YΦ(X))=tr⁡(Φ†(Y)X)for every X,Y.\operatorname{tr}(Y\Phi(X))=\operatorname{tr}(\Phi^\dagger(Y)X)\quad\text{for every }X,Y.tr(YΦ(X))=tr(Φ†(Y)X)for every X,Y.

Adjunction is a bijection

†:CPTPM(HA,HB)⟶CPUM(HB,HA),\dagger:\mathrm{CPTPM}(H_A,H_B)\longrightarrow\mathrm{CPUM}(H_B,H_A),†:CPTPM(HA​,HB​)⟶CPUM(HB​,HA​),

with inverse the same adjunction in the reverse direction. Here CPTPM means completely positive and trace-preserving on all operators; CPUM means completely positive and unital. Complete positivity includes every finite ancillary extension. Explicitly, each direction lands in the stated class and (Φ†)†=Φ(\Phi^\dagger)^\dagger=\Phi(Φ†)†=Φ in both classes. This converts quantum operations into unital maps without a state hypothesis.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P12
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P12

open QAlgorithms

open scoped Matrix ComplexConjugate ComplexOrder ENNReal

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Dependency50.P07 (CQData cqDensity)

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

open QAlgorithms.Papers.Independent.Information100.P67 (conditionalMinEntropy)

open QAlgorithms.Papers.Independent.Renew46.P35 (traceAdjoint)

open QAlgorithms.Papers.Independent.Support50.P23 (exp2Extended independentProduct)

variable {A B C D X : Type}

variable [Fintype A] [Fintype B] [Fintype C] [Fintype D] [Fintype X]

variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D] [DecidableEq X]

/-- PDF p.7, Lemma 2: trace adjunction maps CPTP to unital CP and conversely,
and the same adjunction is an inverse in both directions. -/
theorem adjunction_CPTP_unitalCP [Nonempty A] [Nonempty B] :
    (∀ f : Superop A B, IsChannel f →
      UnitalCP (traceAdjoint f) ∧ traceAdjoint (traceAdjoint f) = f) ∧
    (∀ g : Superop B A, UnitalCP g →
      IsChannel (traceAdjoint g) ∧ traceAdjoint (traceAdjoint g) = g) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P12

end
Source
The operational meaning of min- and max-entropy, arXiv:0807.1338v2, PDF p. 7, Lemma 2
Read-back

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

Let A,BA,BA,B be nonempty finite types with decidable equality. For any map fff from matrices on a finite type UUU to matrices on a finite type VVV, define its trace adjoint by

(f♯(Y))ab=tr⁡(Yf(Eba)),(f^\sharp(Y))_{ab}=\operatorname{tr}\bigl(Yf(E_{ba})\bigr),(f♯(Y))ab​=tr(Yf(Eba​)),

where EbaE_{ba}Eba​ is the matrix with its sole nonzero entry 111 in row bbb, column aaa. Call fff a channel when it admits a finite representation f(X)=∑jKjXKj†f(X)=\sum_jK_jXK_j^\daggerf(X)=∑j​Kj​XKj†​ with ∑jKj†Kj=IU\sum_jK_j^\dagger K_j=I_U∑j​Kj†​Kj​=IU​. Call a map unital completely positive when it agrees on every matrix with a complex-linear map ggg satisfying g(IU)=IVg(I_U)=I_Vg(IU​)=IV​ and, for every natural number rrr, sending every positive semidefinite matrix on {0,…,r−1}×U\{0,\ldots,r-1\}\times U{0,…,r−1}×U to a positive semidefinite matrix under application of ggg to each UUU-matrix block; this includes r=0r=0r=0. The declaration asserts both that every channel f:A→Bf:A\to Bf:A→B has unital completely positive trace adjoint f♯:B→Af^\sharp:B\to Af♯:B→A and satisfies (f♯)♯=f(f^\sharp)^\sharp=f(f♯)♯=f, and that every unital completely positive map g:B→Ag:B\to Ag:B→A has channel trace adjoint g♯:A→Bg^\sharp:A\to Bg♯:A→B and satisfies (g♯)♯=g(g^\sharp)^\sharp=g(g♯)♯=g. These equalities hold as maps on all matrices.

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