Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Derivative characterization, positivity, norm domination and restriction

Open
QAlgorithms.Papers.Independent.Intake100.P71.derivativeProperties

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

prove2quantum

Let H=CIH=\mathbb C^IH=CI, where III is finite and nonempty, and let ρ0,ρ1\rho_0,\rho_1ρ0​,ρ1​ be positive definite positive density matrices of ordinary trace one. Let A⊆B(H)A\subseteq B(H)A⊆B(H) be a concrete unital star subalgebra with the same identity, and let E:B(H)→AE:B(H)\to AE:B(H)→A be its unique ordinary-trace-preserving conditional expectation. Write Eρ(X)=E(ρ)−1/2E(ρ1/2Xρ1/2)E(ρ)−1/2E_\rho(X)=E(\rho)^{-1/2}E(\rho^{1/2}X\rho^{1/2})E(\rho)^{-1/2}Eρ​(X)=E(ρ)−1/2E(ρ1/2Xρ1/2)E(ρ)−1/2, Fρ={X:Eρ(X)=X}F_\rho=\{X:E_\rho(X)=X\}Fρ​={X:Eρ​(X)=X} and Nρ={X:Eρ(X∗X)=Eρ(X)∗Eρ(X), Eρ(XX∗)=Eρ(X)Eρ(X)∗}N_\rho=\{X:E_\rho(X^*X)=E_\rho(X)^*E_\rho(X),\ E_\rho(XX^*)=E_\rho(X)E_\rho(X)^*\}Nρ​={X:Eρ​(X∗X)=Eρ​(X)∗Eρ​(X), Eρ​(XX∗)=Eρ​(X)Eρ​(X)∗}. Write dρ0,ρ1=ρ0−1/2ρ1ρ0−1/2d_{\rho_0,\rho_1}=\rho_0^{-1/2}\rho_1\rho_0^{-1/2}dρ0​,ρ1​​=ρ0−1/2​ρ1​ρ0−1/2​.

Define the weighted form ⟨X,Y⟩ρ0=Tr⁡(X∗ρ01/2Yρ01/2)\langle X,Y\rangle_{\rho_0}=\operatorname{Tr}(X^*\rho_0^{1/2}Y\rho_0^{1/2})⟨X,Y⟩ρ0​​=Tr(X∗ρ01/2​Yρ01/2​), conjugate-linear in its first argument. The derivative is characterized uniquely by

[∀X∈B(H), Tr⁡(ρ1X)=⟨X∗,D⟩ρ0]⟺D=dρ0,ρ1.\bigl[\forall X\in B(H),\ \operatorname{Tr}(\rho_1X)=\langle X^*,D\rangle_{\rho_0}\bigr] \quad\Longleftrightarrow\quad D=d_{\rho_0,\rho_1}.[∀X∈B(H), Tr(ρ1​X)=⟨X∗,D⟩ρ0​​]⟺D=dρ0​,ρ1​​.

It is positive, and for every real c>0c>0c>0 with ρ1≤cρ0\rho_1\le c\rho_0ρ1​≤cρ0​ it satisfies ∥dρ0,ρ1∥op≤c\|d_{\rho_0,\rho_1}\|_{\mathrm{op}}\le c∥dρ0​,ρ1​​∥op​≤c. Furthermore,

Eρ0(dρ0,ρ1)=dE(ρ0),E(ρ1).E_{\rho_0}(d_{\rho_0,\rho_1})=d_{E(\rho_0),E(\rho_1)}.Eρ0​​(dρ0​,ρ1​​)=dE(ρ0​),E(ρ1​)​.

These facts pin the derivative's order, normalization and behavior under restriction.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P71
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P71

open scoped Matrix ComplexOrder ComplexConjugate BigOperators

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

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

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

open QAlgorithms.Papers.Independent.Support50.P12 (Alg)

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

open QAlgorithms.Papers.Independent.Dependency50.P21 (imaginaryPower)

open QAlgorithms.Papers.Independent.Bridge50.P31
  (traceConditionalExpectation stateDual algebraMultiplicativeDomain fixedPoints
   AlgebraChannel derivative weightedPair positiveTest kernelTest)

attribute [local instance] Classical.propDecidable Classical.decEq

variable {I : Type} [Fintype I] [DecidableEq I] [nonemptyI : Nonempty I]

include nonemptyI

/-- PDF p.5, section 2.2: unique weighted-pairing characterization, positivity,
operator norm domination and restriction identity for the computed derivative.
The input of weightedPair is X*, as printed; its first argument is conjugated. -/
theorem derivativeProperties (A : Alg I) (rho0 rho1 : Mat I)
    (h0 : IsDensityMatrix rho0) (h1 : IsDensityMatrix rho1)
    (hf0 : rho0.PosDef) (hf1 : rho1.PosDef) :
    (∀ D : Mat I, (∀ X : Mat I, (rho1 * X).trace = weightedPair rho0 Xᴴ D) ↔
      D = derivative rho1 rho0) ∧
    (derivative rho1 rho0).PosSemidef ∧
    (∀ lam : ℝ, 0 < lam → LE rho1 ((lam : ℂ) • rho0) →
      specNorm (derivative rho1 rho0) ≤ lam) ∧
    generalizedExpectation A rho0 (derivative rho1 rho0) =
      derivative ((traceConditionalExpectation Set.univ (A : Set (Mat I))) rho1) ((traceConditionalExpectation Set.univ (A : Set (Mat I))) rho0) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P71

end
Source
Quantum hypothesis testing and sufficient subalgebras, arXiv:0810.4045v2, PDF p. 5, Unnumbered: derivative characterization, positivity, norm bound and restriction identity
Read-back

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

Let III be a finite type with decidable equality, AAA a unital complex star subalgebra of the matrices on III, and ρ0,ρ1\rho_0,\rho_1ρ0​,ρ1​ positive definite positive semidefinite matrices of complex trace 111, excluding empty III. Let EAE_AEA​ be the selected complex-linear positive trace-preserving map into AAA that fixes AAA and obeys EA(BXC)=BEA(X)CE_A(BXC)=B E_A(X)CEA​(BXC)=BEA​(X)C for arbitrary XXX and B,C∈AB,C\in AB,C∈A. Define D0=ρ0−1/2ρ1ρ0−1/2D_0=\rho_0^{-1/2}\rho_1\rho_0^{-1/2}D0​=ρ0−1/2​ρ1​ρ0−1/2​ and G(X)=(EA(ρ0))−1/2EA(ρ01/2Xρ01/2)(EA(ρ0))−1/2G(X)=(E_A(\rho_0))^{-1/2}E_A(\rho_0^{1/2}X\rho_0^{1/2})(E_A(\rho_0))^{-1/2}G(X)=(EA​(ρ0​))−1/2EA​(ρ01/2​Xρ01/2​)(EA​(ρ0​))−1/2, where all powers use continuous functional calculus with zero multiplier at eigenvalue zero. For every complex matrix DDD, the complex trace identity

∀X,Tr⁡(ρ1X)=Tr⁡(Xρ01/2Dρ01/2)\forall X,\qquad \operatorname{Tr}(\rho_1X) =\operatorname{Tr}(X\rho_0^{1/2}D\rho_0^{1/2})∀X,Tr(ρ1​X)=Tr(Xρ01/2​Dρ01/2​)

holds if and only if D=D0D=D_0D=D0​. Moreover, D0D_0D0​ is positive semidefinite; for every real λ>0\lambda>0λ>0, positivity of λρ0−ρ1\lambda\rho_0-\rho_1λρ0​−ρ1​ implies ∥D0∥op≤λ\|D_0\|_{\mathrm{op}}\le\lambda∥D0​∥op​≤λ; and

G(D0)=(EA(ρ0))−1/2EA(ρ1)(EA(ρ0))−1/2.G(D_0)=(E_A(\rho_0))^{-1/2}E_A(\rho_1)(E_A(\rho_0))^{-1/2}.G(D0​)=(EA​(ρ0​))−1/2EA​(ρ1​)(EA​(ρ0​))−1/2.

Neither DDD nor the test matrices XXX in the trace identity are required to be Hermitian.

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