Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sufficiency preserves optimal effects and implies 2-sufficiency

Open
QAlgorithms.Papers.Independent.Intake100.P71.sufficiencyPreservesTests

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

At threshold t≥0t\ge0t≥0, a Neyman--Pearson test is an effect maximizing Tr⁡((ρ1−tρ0)M)\operatorname{Tr}((\rho_1-t\rho_0)M)Tr((ρ1​−tρ0​)M) over all effects; this definition includes t=0t=0t=0 directly. Suppose AAA is sufficient. Then

Eρ0=Eρ1,Eρ0(Mt)∈A is Neyman–Pearson whenever Mt is Neyman–Pearson,E_{\rho_0}=E_{\rho_1},\qquad E_{\rho_0}(M_t)\in A\text{ is Neyman--Pearson whenever }M_t\text{ is Neyman--Pearson},Eρ0​​=Eρ1​​,Eρ0​​(Mt​)∈A is Neyman–Pearson whenever Mt​ is Neyman–Pearson,

for every t≥0t\ge0t≥0 and every optimal effect MtM_tMt​. Moreover, AAA is 2-sufficient.

This gives the general recovery-to-testing implication while retaining every optimal kernel tie.

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.9 (also p.3): sufficient subalgebras have equal COMPUTED generalized
expectations, preserve every Neyman--Pearson effect under that map, and are
2-sufficient. Equality of the maps is a conclusion, never an assumption. -/
theorem sufficiencyPreservesTests (A : Alg I) (rho0 rho1 : Mat I)
    (h0 : IsDensityMatrix rho0) (h1 : IsDensityMatrix rho1)
    (hf0 : rho0.PosDef) (hf1 : rho1.PosDef)
    (hs : Sufficient A rho0 rho1) :
    generalizedExpectation A rho0 = generalizedExpectation A rho1 ∧
    (∀ t : ℝ, 0 ≤ t → ∀ M : Mat I, NeymanPearson rho0 rho1 t M →
      generalizedExpectation A rho0 M ∈ A ∧
      NeymanPearson rho0 rho1 t (generalizedExpectation A rho0 M)) ∧
    TwoSufficient A rho0 rho1 := by sorry

end QAlgorithms.Papers.Independent.Intake100.P71

end
Source
Quantum hypothesis testing and sufficient subalgebras, arXiv:0810.4045v2, PDF p. 9, Unnumbered: sufficient subalgebras preserve optimal tests and are 2-sufficient
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, so III cannot be empty. 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 B,C∈AB,C\in AB,C∈A and arbitrary XXX. Assume there exists a complex-linear recovery map RRR whose Hilbert–Schmidt adjoint has range in AAA, which preserves trace on AAA, whose amplifications preserve positivity on positive block matrices with blocks in AAA, and for which R(EA(ρi))=ρiR(E_A(\rho_i))=\rho_iR(EA​(ρi​))=ρi​, i=0,1i=0,1i=0,1. Define

Gi(X)=(EA(ρi))−1/2EA(ρi1/2Xρi1/2)(EA(ρi))−1/2,G_i(X)=(E_A(\rho_i))^{-1/2} E_A(\rho_i^{1/2}X\rho_i^{1/2}) (E_A(\rho_i))^{-1/2},Gi​(X)=(EA​(ρi​))−1/2EA​(ρi1/2​Xρi1/2​)(EA​(ρi​))−1/2,

where these powers are obtained by real continuous functional calculus, with multiplier zero at eigenvalue zero, including for negative exponents. Then G0=G1G_0=G_1G0​=G1​ as functions on all matrices; for every real t≥0t\ge0t≥0 and every effect MMM maximizing Re⁡Tr⁡((ρ1−tρ0)M)\operatorname{Re}\operatorname{Tr}((\rho_1-t\rho_0)M)ReTr((ρ1​−tρ0​)M) over all effects, G0(M)G_0(M)G0​(M) belongs to AAA and is also an effect maximizing that same expression; and, for every effect MMM and every 0<λ<10<\lambda<10<λ<1, there exists an effect N∈AN\in AN∈A such that

λRe⁡Tr⁡(ρ0N)+(1−λ)Re⁡Tr⁡(ρ1(1−N))≤λRe⁡Tr⁡(ρ0M)+(1−λ)Re⁡Tr⁡(ρ1(1−M)).\lambda\operatorname{Re}\operatorname{Tr}(\rho_0N) +(1-\lambda)\operatorname{Re}\operatorname{Tr}(\rho_1(1-N)) \le \lambda\operatorname{Re}\operatorname{Tr}(\rho_0M) +(1-\lambda)\operatorname{Re}\operatorname{Tr}(\rho_1(1-M)).λReTr(ρ0​N)+(1−λ)ReTr(ρ1​(1−N))≤λReTr(ρ0​M)+(1−λ)ReTr(ρ1​(1−M)).
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