Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Remark 2: expectation/isomorphism form of recovery

Open
QAlgorithms.Papers.Independent.Bridge50.P31.remark2

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

prove2quantum

Let A⊆B(H)A\subseteq B(H)A⊆B(H) and B⊆B(K)B\subseteq B(K)B⊆B(K) be concrete finite-dimensional unital complex C∗C^*C∗-algebras on nonzero representation spaces. Maps are complex linear, Tr⁡\operatorname{Tr}Tr is the unnormalized representation trace, and T∗T^*T∗ is the Hilbert–Schmidt adjoint for ⟨a,b⟩=Tr⁡(a∗b)\langle a,b\rangle=\operatorname{Tr}(a^*b)⟨a,b⟩=Tr(a∗b). A density operator is positive with trace one. All inverses of singular positive operators below are support inverses.

Let S\mathcal SS be a set of density operators in AAA containing an invertible ρ\rhoρ, with ρ0=T(ρ)\rho_0=T(\rho)ρ0​=T(ρ) invertible. Assume T∗T^*T∗ and the computed map

Tρ(a)=ρ0−1/2T(ρ1/2aρ1/2)ρ0−1/2T_\rho(a)=\rho_0^{-1/2}T(\rho^{1/2}a\rho^{1/2})\rho_0^{-1/2}Tρ​(a)=ρ0−1/2​T(ρ1/2aρ1/2)ρ0−1/2​

are unital Schwarz maps. Reversibility means that one linear map R:B→AR:B\to AR:B→A, whose adjoint is unital Schwarz, satisfies R(T(σ))=σR(T(\sigma))=\sigmaR(T(σ))=σ for every σ∈S\sigma\in\mathcal Sσ∈S.

Write d(σ,ρ)=ρ−1/2σρ−1/2d(\sigma,\rho)=\rho^{-1/2}\sigma\rho^{-1/2}d(σ,ρ)=ρ−1/2σρ−1/2, Φ=T∗Tρ\Phi=T^*T_\rhoΦ=T∗Tρ​, and Φ~=TρT∗\widetilde\Phi=T_\rho T^*Φ=Tρ​T∗. For a map UUU, FUF_UFU​ is its fixed-point set in its domain algebra, and MUM_UMU​ consists of elements satisfying both U(a∗a)=U(a)∗U(a)U(a^*a)=U(a)^*U(a)U(a∗a)=U(a)∗U(a) and U(aa∗)=U(a)U(a)∗U(aa^*)=U(a)U(a)^*U(aa∗)=U(a)U(a)∗.

Assume TTT is reversible. Let A1A_1A1​ be the subalgebra generated by ρitd(σ,ρ)ρ−it\rho^{it}d(\sigma,\rho)\rho^{-it}ρitd(σ,ρ)ρ−it for all σ∈S\sigma\in\mathcal Sσ∈S and real ttt. Let E:A→A1E:A\to A_1E:A→A1​ and F:B→MT∗F:B\to M_{T^*}F:B→MT∗​ be the trace-preserving expectations, and let R=(T∗∣MT∗)−1R=(T^*|_{M_{T^*}})^{-1}R=(T∗∣MT∗​​)−1 on T∗(MT∗)T^*(M_{T^*})T∗(MT∗​). Then EρE_\rhoEρ​ is the ρ\rhoρ-preserving conditional expectation, and the construction

S^=Eρ∗R∗F,T^=(S^T(ρ))∗\widehat S=E_\rho^*R^*F,\qquad\widehat T=(\widehat S_{T(\rho)})^*S=Eρ∗​R∗F,T=(ST(ρ)​)∗

gives CPTP maps with T^(σ)=T(σ)\widehat T(\sigma)=T(\sigma)T(σ)=T(σ) and S^(T(σ))=σ\widehat S(T(\sigma))=\sigmaS(T(σ))=σ for all σ∈S\sigma\in\mathcal Sσ∈S. Thus the replacement and recovery arise from the actual expectation and ∗*∗-isomorphism construction.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P31
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P31

open Filter MeasureTheory Set

open scoped Matrix ComplexOrder ComplexConjugate BigOperators Topology

open QAlgorithms.Papers.Independent.Information100.P60 (Mat copies)

open QAlgorithms.Papers.Independent.Information100.P30 (MatrixMap)

open QAlgorithms.Papers.Independent.Dependency50.P28 (tr LE)

open QAlgorithms.Papers.Independent.Dependency50.P21
  (channelAdjoint spectralFunction petz relativeEntropy)

open QAlgorithms.Papers.Independent.Information100.P71 (supportPower)

open QAlgorithms.Papers.Independent.Next46.P23 (Supports matrixCommutant)

open QAlgorithms.Papers.Independent.Support50.P12
  (Alg AlgebraDensity AlgebraExtension PositiveOnConcreteAlgebra AlgebraTracePreserving
   AlgebraKPositive AlgebraCompletelyPositive supp spec cpow quasi hull modularSpec)

open QAlgorithms.Papers.Independent.Information100.P50 (OperatorMonotone)

open QAlgorithms.Papers.Independent.Frontier18.P17 (hs)

attribute [local instance] Classical.propDecidable Classical.decEq

variable {I J : Type} [Fintype I] [DecidableEq I] [Fintype J] [DecidableEq J]

/-- PDF p.14, Remark 2: the proof's computed expectation/isomorphism recovery
and its state-dual adjoint give CPTP maps with the two simultaneous identities. -/
theorem remark2 [Nonempty I] [Nonempty J] (A : Alg I) (B : Alg J) (T : MatrixMap I J)
    (S : Set (Mat I)) (rho : Mat I) (h : Conditions A B T S rho)
    (hrev : FamilyReversible A B T S) :
    let C : Set (Mat I) := recoveryAlgebra rho S
    let D := algebraMultiplicativeDomain B (channelAdjoint T)
    let E := traceConditionalExpectation A C
    let F := traceConditionalExpectation B D
    let R := inverseRestriction (channelAdjoint T) D (channelAdjoint T '' D)
    ConditionalExpectation A C E ∧ ConditionalExpectation B D F ∧
    ConditionalExpectation A C (Classical.epsilon (fun U : MatrixMap I I =>
      ∀ a, U a = stateDual E rho a)) ∧
    StarIsoOn D (channelAdjoint T '' D) (channelAdjoint T) R ∧
    ∃ Snew : MatrixMap J I, ∃ Tnew : MatrixMap I J,
      AlgebraChannel B A Snew ∧ AlgebraChannel A B Tnew ∧
      (∀ b ∈ B, Snew b = structuralRecovery A B T S rho b) ∧
      (∀ a ∈ A, Tnew a = petz (T rho) Snew a) ∧
      (∀ sigma ∈ S, Tnew sigma = T sigma ∧ Snew (T sigma) = sigma) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P31

end
Source
Reversibility conditions for quantum operations, arXiv:1107.0453v2, PDF p. 14, Remark 2: expectation/isomorphism form of recovery
Read-back

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

Let I,JI,JI,J be finite nonempty types with decidable equality, A,BA,BA,B unital complex star subalgebras of MI(C),MJ(C)M_I(\mathbb C),M_J(\mathbb C)MI​(C),MJ​(C), T:MI(C)→MJ(C)T:M_I(\mathbb C)\to M_J(\mathbb C)T:MI​(C)→MJ​(C) complex linear, S⊆MI(C)S\subseteq M_I(\mathbb C)S⊆MI​(C), and ρ∈MI(C)\rho\in M_I(\mathbb C)ρ∈MI​(C). For any matrix map LLL, use

(L∗b)ij=∑k,l(L(Eij))kl‾bkl,DL,η(a)=(Lη)[−1/2]L(η[1/2]aη[1/2])(Lη)[−1/2],(L^*b)_{ij}=\sum_{k,l}\overline{(L(E_{ij}))_{kl}}b_{kl},\qquad D_{L,\eta}(a)=(L\eta)^{[-1/2]} L(\eta^{[1/2]}a\eta^{[1/2]})(L\eta)^{[-1/2]},(L∗b)ij​=k,l∑​(L(Eij​))kl​​bkl​,DL,η​(a)=(Lη)[−1/2]L(η[1/2]aη[1/2])(Lη)[−1/2],

where support powers have spectral value zero at zero for every exponent, and write X⪯YX\preceq YX⪯Y when Y−X⪰0Y-X\succeq0Y−X⪰0. Assume all ambient outputs of TTT lie in BBB, all ambient outputs of T∗T^*T∗ lie in AAA, every σ∈S\sigma\in Sσ∈S is a positive-semidefinite trace-one element of AAA, ρ∈S\rho\in Sρ∈S, ρ,Tρ\rho,T\rhoρ,Tρ are positive definite, and T∗T^*T∗ on BBB and DT,ρD_{T,\rho}DT,ρ​ on AAA are unital and satisfy L(a)†L(a)⪯L(a†a)L(a)^\dagger L(a)\preceq L(a^\dagger a)L(a)†L(a)⪯L(a†a). Also assume existence of a complex linear R0:MJ(C)→MI(C)R_0:M_J(\mathbb C)\to M_I(\mathbb C)R0​:MJ​(C)→MI​(C) whose ambient outputs lie in AAA, whose adjoint’s ambient outputs lie in BBB, with R0∗(1)=1R_0^*(1)=1R0∗​(1)=1, (R0∗a)†R0∗a⪯R0∗(a†a)(R_0^*a)^\dagger R_0^*a\preceq R_0^*(a^\dagger a)(R0∗​a)†R0∗​a⪯R0∗​(a†a) for a∈Aa\in Aa∈A, and R0(Tσ)=σR_0(T\sigma)=\sigmaR0​(Tσ)=σ for σ∈S\sigma\in Sσ∈S. Let CCC be the unital complex star algebra generated by

{ρit(ρ−1/2σρ−1/2)ρ−it:σ∈S, t∈R},\{\rho^{it}(\rho^{-1/2}\sigma\rho^{-1/2})\rho^{-it}: \sigma\in S,\ t\in\mathbb R\},{ρit(ρ−1/2σρ−1/2)ρ−it:σ∈S, t∈R},

with complex powers defined spectrally by ezlog⁡λe^{z\log\lambda}ezlogλ, and put

D={b∈B:T∗(b†b)=(T∗b)†T∗b, T∗(bb†)=T∗b(T∗b)†}.D=\{b\in B:T^*(b^\dagger b)=(T^*b)^\dagger T^*b,\ T^*(bb^\dagger)=T^*b(T^*b)^\dagger\}.D={b∈B:T∗(b†b)=(T∗b)†T∗b, T∗(bb†)=T∗b(T∗b)†}.

For sets U,VU,VU,V of matrices, say that a complex linear LLL is a conditional expectation from UUU to VVV when every ambient output of LLL lies in VVV, every ambient output of L∗L^*L∗ lies in UUU, LLL is positive on positive-semidefinite elements of UUU, fixes every element of VVV, and satisfies L(bac)=bL(a)cL(bac)=bL(a)cL(bac)=bL(a)c for a∈U, b,c∈Va\in U,\ b,c\in Va∈U, b,c∈V. Let E,FE,FE,F be Hilbert-choice maps satisfying this predicate from AAA to CCC and from BBB to DDD, respectively, together with trace preservation on AAA and BBB; let R:MI(C)→MJ(C)R:M_I(\mathbb C)\to M_J(\mathbb C)R:MI​(C)→MJ​(C) be the Hilbert-choice complex linear map with every ambient output in DDD, every ambient output of R∗R^*R∗ in T∗(D)T^*(D)T∗(D), and R(T∗b)=bR(T^*b)=bR(T∗b)=b for b∈Db\in Db∈D. Each such choice is unconstrained if its defining predicate has no witness. Then EEE and FFF are conditional expectations in the stated sense; the Hilbert-choice complex linear map UUU satisfying U(a)=DE,ρ(a)U(a)=D_{E,\rho}(a)U(a)=DE,ρ​(a) for every ambient aaa is also a conditional expectation from AAA to CCC; and T∗T^*T∗ and RRR give mutually inverse maps between DDD and T∗(D)T^*(D)T∗(D), with T∗(b†)=(T∗b)†T^*(b^\dagger)=(T^*b)^\daggerT∗(b†)=(T∗b)† for b∈Db\in Db∈D and T∗(bc)=T∗b T∗cT^*(bc)=T^*b\,T^*cT∗(bc)=T∗bT∗c for b,c∈Db,c\in Db,c∈D. Furthermore, there exist complex linear maps Snew:MJ(C)→MI(C)S_{\mathrm{new}}:M_J(\mathbb C)\to M_I(\mathbb C)Snew​:MJ​(C)→MI​(C) and Tnew:MI(C)→MJ(C)T_{\mathrm{new}}:M_I(\mathbb C)\to M_J(\mathbb C)Tnew​:MI​(C)→MJ​(C) such that each has all ambient outputs in its target algebra, its adjoint has all ambient outputs in its source algebra, it preserves traces on its source algebra, and it is completely positive on that algebra: for every n≥0n\ge0n≥0, a positive-semidefinite block matrix whose blocks belong to the source algebra remains positive semidefinite after applying the map to each block. These maps satisfy

Snew(b)=(DE,ρ)∗ ⁣(R∗(F(b)))(b∈B),S_{\mathrm{new}}(b)=(D_{E,\rho})^*\!\left(R^*(F(b))\right)\quad(b\in B),Snew​(b)=(DE,ρ​)∗(R∗(F(b)))(b∈B), Tnew(a)=(Tρ)[1/2]Snew∗ ⁣((Snew(Tρ))[−1/2]a(Snew(Tρ))[−1/2])(Tρ)[1/2](a∈A),T_{\mathrm{new}}(a) =(T\rho)^{[1/2]}S_{\mathrm{new}}^*\!\left( (S_{\mathrm{new}}(T\rho))^{[-1/2]}a (S_{\mathrm{new}}(T\rho))^{[-1/2]} \right)(T\rho)^{[1/2]} \quad(a\in A),Tnew​(a)=(Tρ)[1/2]Snew∗​((Snew​(Tρ))[−1/2]a(Snew​(Tρ))[−1/2])(Tρ)[1/2](a∈A),

and Tnew(σ)=TσT_{\mathrm{new}}(\sigma)=T\sigmaTnew​(σ)=Tσ, Snew(Tσ)=σS_{\mathrm{new}}(T\sigma)=\sigmaSnew​(Tσ)=σ for every σ∈S\sigma\in Sσ∈S.

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