Processing, order and scaling of relative entropies
OpenQAlgorithms.Papers.Independent.Advance50.P02.relativeEntropy_propertiesAll Hilbert spaces are finite dimensional and complex; all logarithms are binary. Positive-operator inequalities use the identity when comparing with a scalar. For each entropy use its defining domain: has normalized , positive and ; uses normalized and ; allows and . For a trace-preserving completely positive map ,
If , then
and the corrected clause for requires , and to commute pairwise. For every real ,
Each clause retains its own full endpoint domain. These rules provide the structural comparisons used in the hierarchy. Source correction: the spectrum comparison-order clause assumes pairwise commutation of . The printed premise only requires and to commute and is false; the two-dimensional witness and the precise printed/changed/why record are included in this item. No commutation premise is added to the testing or max-relative-entropy clauses.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P02
noncomputable section
open Filter
open scoped BigOperators Matrix ComplexOrder ComplexConjugate Matrix.Norms.L2Operator Topology
namespace QAlgorithms.Papers.Independent.Advance50.P02
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Information100.P63
(Mat tensorPower logTwo normalQuantile testingBeta)
open QAlgorithms.Papers.Independent.Information100.P71 (SupportIncluded supportPower)
open QAlgorithms (effectProb)
open QAlgorithms.Papers.Independent.Information100.P06 (Below)
open QAlgorithms.Papers.Independent.Information100.P30 (tensorMap)
open QAlgorithms.Papers.Independent.Information100.P67 (purifiedDistance)
open QAlgorithms.Papers.Independent.Dependency50.P26 (TracePreserving)
open QAlgorithms.Papers.Independent.Dependency50.P28 (pinch)
variable {I J A B X Z : Type} [Fintype I] [DecidableEq I]
[Fintype J] [DecidableEq J] [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] [Fintype X] [DecidableEq X]
[Fintype Z] [DecidableEq Z]
/-- Eqs.(11)--(13), PDF p.13: each entropy retains its own full error and
state domain. Source correction of the Ds comparison-order clause only.
Printed: Section V p.13, after Eq.(12), says comparison monotonicity extends to Ds when sigma and sigma2 commute, without requiring either to commute with rho.
Changed: Only the Ds comparison-order clause additionally requires Commute rho sigma and Commute rho sigma2, so all three operators have a common eigenbasis. The other seven clauses and every defining domain remain unchanged.
Why: Commuting comparisons alone are insufficient. Take rho=(1/2)*[[1,1],[1,1]], sigma=diag(4/5,1/10), sigma2=diag(4/5,1/5), and e=2/25. Then sigma<=sigma2 and the comparisons commute, but Ds^e(rho||sigma2)-Ds^e(rho||sigma)=log2(7/6)>0, reversing the printed order. The common-eigenbasis hypotheses restore the classical threshold inclusion underlying inspection of the definitions. They are local to this clause and admit nontrivial diagonal states and comparisons. -/
theorem relativeEntropy_properties :
(∀ (rho sigma : Mat I), QAlgorithms.IsDensityMatrix rho → sigma.PosSemidef →
∀ (E : Mat I →ₗ[ℂ] Mat J), QAlgorithms.Entanglement.IsCompletelyPositive E →
TracePreserving E → ∀ e : ℝ, 0 ≤ e ∧ e ≤ 1 →
extendedTestingDivergence e (E rho) (E sigma) ≤ extendedTestingDivergence e rho sigma) ∧
(∀ (rho sigma : Mat I), QAlgorithms.IsDensityMatrix rho → sigma.PosSemidef →
∀ (E : Mat I →ₗ[ℂ] Mat J), QAlgorithms.Entanglement.IsCompletelyPositive E →
TracePreserving E → ∀ e : ℝ, 0 ≤ e ∧ e < 1 →
smoothedMaxRelativeEntropy e (E rho) (E sigma) ≤ smoothedMaxRelativeEntropy e rho sigma) ∧
(∀ (rho sigma sigma2 : Mat I), QAlgorithms.IsDensityMatrix rho → sigma.PosSemidef →
sigma2.PosSemidef → Below sigma sigma2 → ∀ e : ℝ, 0 ≤ e ∧ e ≤ 1 →
extendedTestingDivergence e rho sigma2 ≤ extendedTestingDivergence e rho sigma) ∧
(∀ (rho sigma sigma2 : Mat I), QAlgorithms.IsDensityMatrix rho → sigma.PosSemidef →
sigma2.PosSemidef → Below sigma sigma2 → ∀ e : ℝ, 0 ≤ e ∧ e < 1 →
smoothedMaxRelativeEntropy e rho sigma2 ≤ smoothedMaxRelativeEntropy e rho sigma) ∧
(∀ (rho sigma sigma2 : Mat I), PositiveTraceSubnormalized rho → sigma.PosSemidef →
sigma2.PosSemidef → Below sigma sigma2 → Commute sigma sigma2 →
Commute rho sigma → Commute rho sigma2 → ∀ e : ℝ, 0 ≤ e ∧ e ≤ 1 →
spectrumEntropy e rho sigma2 ≤ spectrumEntropy e rho sigma) ∧
(∀ (rho sigma : Mat I), QAlgorithms.IsDensityMatrix rho → sigma.PosSemidef →
∀ e : ℝ, 0 ≤ e ∧ e ≤ 1 → ∀ l : ℝ,
extendedTestingDivergence e rho (((Real.rpow 2 (-l) : ℝ) : ℂ) • sigma) =
extendedTestingDivergence e rho sigma + (l : EReal)) ∧
(∀ (rho sigma : Mat I), QAlgorithms.IsDensityMatrix rho → sigma.PosSemidef →
∀ e : ℝ, 0 ≤ e ∧ e < 1 → ∀ l : ℝ,
smoothedMaxRelativeEntropy e rho (((Real.rpow 2 (-l) : ℝ) : ℂ) • sigma) =
smoothedMaxRelativeEntropy e rho sigma + (l : EReal)) ∧
(∀ (rho sigma : Mat I), PositiveTraceSubnormalized rho → sigma.PosSemidef →
∀ e : ℝ, 0 ≤ e ∧ e ≤ 1 → ∀ l : ℝ,
spectrumEntropy e rho (((Real.rpow 2 (-l) : ℝ) : ℂ) • sigma) =
spectrumEntropy e rho sigma + (l : EReal)) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P02
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For finite index types with decidable equality, let denote the complex matrices indexed by , write for positive semidefiniteness, for , and . A density matrix is positive semidefinite with complex trace ; a positive-trace subnormalized matrix satisfies and . Define the following quantities, whose values lie in the extended real numbers:
Here , matrix functions and the spectral projector are defined by spectral functional calculus, including the zero eigenspace in that projector, and
The infimum defining is when its feasible set is empty, and the supremum defining is when its feasible set is empty. The declaration asserts all eight properties: (i) for every density matrix , every , every complex-linear map that preserves the complex trace of every matrix and is completely positive—meaning every amplification preserves positive semidefiniteness for every natural number , including —and every ,
(ii) under the same matrix and map assumptions, for every ,
(iii) for every density matrix and positive semidefinite matrices with , and every ,
(iv) under the same matrix assumptions, for every ,
(v) for every positive-trace subnormalized , positive semidefinite with , and pairwise commuting , every satisfies
(vi) for every density matrix , every , every , and every real ,
(vii) for every density matrix , every , every , and every real ,
and (viii) for every positive-trace subnormalized , every , every , and every real ,
The reference matrices need not have trace or be invertible, so zero and singular reference matrices are included. The endpoint is included throughout; is included in precisely the assertions with range . Empty index types are permitted, although an empty input index type admits neither a density matrix nor a positive-trace subnormalized matrix, making those hypotheses unsatisfiable.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.