Total Variance D2: total variance d2
OpenQAlgorithms.Papers.Independent.Bridge50.P50.total_variance_d2Let be the density operators on a nonzero, finite-dimensional complex Hilbert space of dimension . Logarithms are in bits, is support-aware Umegaki relative entropy, and is relative entropy variance in bits squared. Let be any finite ensemble of states, allowing zero probabilities, with . Set , , and . Then
This is the complete law of total variance for block states. The second term disappears for peripheral center decompositions, yielding Lemma 15.
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P50
noncomputable section
open scoped Topology BigOperators ComplexConjugate ComplexOrder ENNReal Matrix.Norms.L2Operator
open MeasureTheory Filter Set
namespace QAlgorithms.Papers.Independent.Bridge50.P50
attribute [local instance] Classical.propDecidable Classical.decEq
-- Exact accepted primitives; these names do not create local declarations.
open QAlgorithms.Papers.Independent.Information100.P63 (Mat logTwo testingBeta normalCDF normalQuantile)
open QAlgorithms.Papers.Independent.Information100.P08 (Ensemble ensembleAverage)
open QAlgorithms.Papers.Independent.Information100.P69 (entropy)
open QAlgorithms.Papers.Independent.Dependency50.P35 (Dominates)
open QAlgorithms.Papers.Independent.Dependency50.P36 (pairInformationVariance)
open QAlgorithms (vnEntropy traceDistance minEigenvalue)
attribute [local instance] QAlgorithms.Papers.Independent.Bridge50.P50.matrixBorelMeasurable
attribute [local instance] QAlgorithms.Papers.Independent.Bridge50.P50.matrixBorelSpace
/-- Appendix D1, PDF p.30, (D1)–(D2): FULL law of total variance for any finite ensemble.
No equal-relative-entropy invariant is assumed. Zero-weight blocks contribute zero. -/
theorem total_variance_d2 {I : Type} [Fintype I] [DecidableEq I] [Nonempty I]
(E : Ensemble I) :
pairInformationVariance (cqJointState E) (referenceState E) = ensembleVariance E +
∑ i, E.prob i * ((entropy (E.state i) (ensembleAverage E)).toReal -
finiteHolevoInformation E)^2 := by sorry
end QAlgorithms.Papers.Independent.Bridge50.P50
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a finite, nonempty type with decidable equality, and let be any finite ensemble: , , and every is positive semidefinite with trace . Its size is a natural number; size is excluded by the weight-sum condition. Put , and define matrices indexed by by
Define as unless both arguments are density matrices and , and otherwise as , where and matrix functions use continuous functional calculus. Let , with converted to , and put . For arbitrary matrices on a common finite index set, define
Then
Zero ensemble weights are allowed, and the functional-calculus logarithms use .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.