Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Generalized trace duality

Open
QAlgorithms.Papers.Independent.Intake100.P49.partialDual_trace

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

prove2quantum

Let H,K\mathcal H,\mathcal KH,K be complex separable complete Hilbert spaces and ρ\rhoρ a nonzero bounded PSD operator on H\mathcal HH. Positive traces may be infinite.

Let Φ:B(K)→B(H)\Phi:\mathcal B(\mathcal K)\to\mathcal B(\mathcal H)Φ:B(K)→B(H) be normal, unital and completely positive. Its countable Kraus representation is Φ(A)=∑iVi∗AVi\Phi(A)=\sum_i V_i^* A V_iΦ(A)=∑i​Vi∗​AVi​, in the strong operator topology. The partial dual Φ∗(B)=∑iViBVi∗\Phi^*(B)=\sum_i V_i B V_i^*Φ∗(B)=∑i​Vi​BVi∗​ is defined on a positive bounded BBB precisely when this strong sum is bounded. If Φ∗\Phi^*Φ∗ is defined on nonzero bounded PSD ρ\rhoρ, then for every nonzero bounded PSD AAA on K\mathcal KK,

Tr⁡[A1/2Φ∗(ρ)A1/2]=Tr⁡[Φ(A)1/2ρΦ(A)1/2].\operatorname{Tr}[A^{1/2}\Phi^*(\rho)A^{1/2}]=\operatorname{Tr}[\Phi(A)^{1/2}\rho\Phi(A)^{1/2}].Tr[A1/2Φ∗(ρ)A1/2]=Tr[Φ(A)1/2ρΦ(A)1/2].

Both sides are extended positive traces; neither input needs to be trace class. This is generalized Heisenberg-Schrodinger trace duality.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P49
Formal statement
noncomputable section

open Filter

open scoped ENNReal NNReal BigOperators

namespace QAlgorithms.Papers.Independent.Intake100.P49

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Dependency50.P13
  (IsPositive IsTraceClass TraceClass traceNormTopology)

open QAlgorithms.Papers.Independent.Bridge50.P48 (hilbertPositiveTrace)

variable {H K : Type*}
  [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
  [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]

/-- Lemma IV.11, PDF p.34: both generalized traces are symmetric square-root
sandwiches. The test operator A is arbitrary nonzero PSD, not just an effect. -/
theorem partialDual_trace [TopologicalSpace.SeparableSpace H] [TopologicalSpace.SeparableSpace K]
    {I J : Type*} (b : HilbertBasis I ℂ H) (d : HilbertBasis J ℂ K)
    (rho : H →L[ℂ] H) (hrho : NonzeroPositive rho)
    (Phi : HeisenbergOperation H K) (hdefined : DualDefined Phi rho)
    (A : K →L[ℂ] K) (hA : NonzeroPositive A) :
    hilbertPositiveTrace d (positiveSpectralPower A (1 / 2) * partialDual Phi rho * positiveSpectralPower A (1 / 2)) =
      hilbertPositiveTrace b (positiveSpectralPower (Phi.map A) (1 / 2) * rho *
        positiveSpectralPower (Phi.map A) (1 / 2)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P49

end
Source
The strong converse exponent of discriminating infinite-dimensional quantum states, arXiv:2107.08036v5, PDF p. 34, Lemma IV.11
Read-back

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

Let H,KH,KH,K be separable complex Hilbert spaces, let I,JI,JI,J be arbitrary indexing types, and let b,db,db,d be Hilbert bases of H,KH,KH,K, respectively. Let ρ\rhoρ be a nonzero positive bounded complex-linear operator on HHH, and let AAA be a nonzero positive bounded complex-linear operator on KKK; here positivity means self-adjointness together with nonnegative real quadratic forms. Let Φ\PhiΦ consist of a function Φmap\Phi_{\mathrm{map}}Φmap​ from bounded operators on KKK to bounded operators on HHH and bounded operators Vi:H→KV_i:H\to KVi​:H→K, indexed by i∈Ni\in\mathbb Ni∈N, such that Φmap(1)=1\Phi_{\mathrm{map}}(1)=1Φmap​(1)=1 and, for every bounded operator BBB on KKK and every x∈Hx\in Hx∈H, the series ∑iVi∗BVix\sum_iV_i^*BV_ix∑i​Vi∗​BVi​x converges to Φmap(B)x\Phi_{\mathrm{map}}(B)xΦmap​(B)x. Assume there exists a positive bounded operator RRR on KKK such that, for every y∈Ky\in Ky∈K, ∑iViρVi∗y\sum_iV_i\rho V_i^*y∑i​Vi​ρVi∗​y converges to RyRyRy, and let Φ∗(ρ)\Phi_*(\rho)Φ∗​(ρ) denote the witness RRR selected by the definition. For a bounded operator XXX on either space LLL, define TL(X)=∑jmax⁡(Re⁡⟨ej,Xej⟩,0)∈[0,∞]\mathcal T_L(X)=\sum_j\max(\operatorname{Re}\langle e_j,Xe_j\rangle,0)\in[0,\infty]TL​(X)=∑j​max(Re⟨ej​,Xej​⟩,0)∈[0,∞], using the basis eee chosen from the existence of a Hilbert basis of LLL, independently of the supplied basis bbb or ddd. Then, with square roots defined by continuous functional calculus,

TK ⁣(A1/2Φ∗(ρ)A1/2)=TH ⁣(Φmap(A)1/2ρ Φmap(A)1/2).\mathcal T_K\!\left(A^{1/2}\Phi_*(\rho)A^{1/2}\right) = \mathcal T_H\!\left(\Phi_{\mathrm{map}}(A)^{1/2}\rho\,\Phi_{\mathrm{map}}(A)^{1/2}\right).TK​(A1/2Φ∗​(ρ)A1/2)=TH​(Φmap​(A)1/2ρΦmap​(A)1/2).

No trace-class, finite-trace, or trace-normalization hypothesis is imposed, and either side of the equality may be +∞+\infty+∞.

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