Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sufficiency is equivalent to a fixed derivative

Open
QAlgorithms.Papers.Independent.Intake100.P71.sufficiencyIffFixedDerivative

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​.

A test is any effect 0≤M≤I0\le M\le I0≤M≤I, representing rejection of ρ0\rho_0ρ0​. Its errors are α(M)=Tr⁡(ρ0M)\alpha(M)=\operatorname{Tr}(\rho_0M)α(M)=Tr(ρ0​M) and β(M)=Tr⁡(ρ1(I−M))\beta(M)=\operatorname{Tr}(\rho_1(I-M))β(M)=Tr(ρ1​(I−M)), with Bayes risk Rλ(M)=λα(M)+(1−λ)β(M)R_\lambda(M)=\lambda\alpha(M)+(1-\lambda)\beta(M)Rλ​(M)=λα(M)+(1−λ)β(M) for 0<λ<10<\lambda<10<λ<1. The algebra is 2-sufficient when every test and every such prior admit an effect in AAA with no greater risk. It is sufficient when one completely positive trace-preserving map A→B(H)A\to B(H)A→B(H) recovers both ρi\rho_iρi​ from E(ρi)E(\rho_i)E(ρi​).

Then

A is sufficient for {ρ0,ρ1}⟺dρ0,ρ1∈Fρ0.A\text{ is sufficient for }\{\rho_0,\rho_1\} \quad\Longleftrightarrow\quad d_{\rho_0,\rho_1}\in F_{\rho_0}.A is sufficient for {ρ0​,ρ1​}⟺dρ0​,ρ1​​∈Fρ0​​.

This is the paper's derivative criterion for common completely positive recovery.

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.7, Theorem 3: CPTP recovery sufficiency iff the computed derivative
is fixed by the computed generalized expectation. -/
theorem sufficiencyIffFixedDerivative (A : Alg I) (rho0 rho1 : Mat I)
    (h0 : IsDensityMatrix rho0) (h1 : IsDensityMatrix rho1)
    (hf0 : rho0.PosDef) (hf1 : rho1.PosDef) :
    Sufficient A rho0 rho1 ↔ derivative rho1 rho0 ∈ fixedDomain A rho0 := by sorry

end QAlgorithms.Papers.Independent.Intake100.P71

end
Source
Quantum hypothesis testing and sufficient subalgebras, arXiv:0810.4045v2, PDF p. 7, Theorem 3: sufficiency iff the derivative is fixed
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 satisfies 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 D=ρ0−1/2ρ1ρ0−1/2D=\rho_0^{-1/2}\rho_1\rho_0^{-1/2}D=ρ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, using continuous functional calculus with zero multiplier at eigenvalue zero. Then there exists a complex-linear map RRR whose Hilbert–Schmidt adjoint sends every matrix into AAA, which preserves trace on AAA, whose amplifications preserve positivity on positive block matrices with blocks in AAA, and which satisfies R(EA(ρi))=ρiR(E_A(\rho_i))=\rho_iR(EA​(ρi​))=ρi​ for i=0,1i=0,1i=0,1, if and only if

G(D)=D.G(D)=D.G(D)=D.

The fixed-point condition is imposed in the full matrix algebra; it does not separately require D∈AD\in AD∈A.

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