Characterization of zero relative variance
OpenQAlgorithms.Papers.Independent.Advance50.P01.zeroVariance_characterizationLet and be positive semidefinite complex matrices of trace one on a common nonzero finite-dimensional Hilbert space, with . All logarithms are natural. Write and , with zero kernel contributions. Tests are all binary POVMs on the -fold tensor product; their conditional errors are and . Let denote the standard normal cumulative distribution function.
The equality holds if and only if and commute and admit a common complete orthonormal eigenbasis with eigenvalues and a constant satisfying
The two conditions are joint conditions; commutation alone does not imply zero variance. The ratio condition is only on the support of , and permits mass of outside that support.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P01
noncomputable section
open Filter
open scoped Topology
namespace QAlgorithms.Papers.Independent.Advance50.P01
open QAlgorithms.Papers.Independent.Information100.P71 (SupportIncluded)
open QAlgorithms.Papers.Independent.Information100.P63 (normalCDF normalQuantile tensorPower)
open QAlgorithms.Papers.Independent.Information100.P58 (testingBeta testingD)
open QAlgorithms.Papers.Independent.Dependency50.P36 (relativeEntropyFinite)
attribute [local instance] Classical.propDecidable
-- Match the universe-zero matrix indices of the pinned accepted interfaces.
variable {I : Type} [Fintype I] [DecidableEq I]
-- SupportIncluded is opened directly from the accepted Information100.P71 module.
/-- Zero-variance characterization, source PDF p. 17, §5.
The two printed conditions are a conjunction: commutation AND a constant positive
likelihood ratio on supp(rho). A common eigenbasis is exhibited; sigma may have mass
outside supp(rho). Zero ambient eigenvalues are allowed by the p. 5 support compression. -/
theorem zeroVariance_characterization [Nonempty I] (rho sigma : Matrix I I ℂ)
(hrho : IsDensityMatrix rho) (hsigma : IsDensityMatrix sigma)
(hsupport : SupportIncluded rho sigma) :
relativeVarianceNats rho sigma = 0 ↔
rho * sigma = sigma * rho ∧
∃ r : SpectralDecomposition rho, ∃ s : SpectralDecomposition sigma,
r.basis = s.basis ∧ ∃ k : ℝ, 0 < k ∧
(∀ x, r.values x ≠ 0 → r.values x = k * s.values x) ∧
Real.log k = relativeEntropyNats rho sigma := by sorry
end QAlgorithms.Papers.Independent.Advance50.P01
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a nonempty finite type with decidable equality, and let be positive semidefinite complex matrices of trace one satisfying . Put
Then if and only if and there exist spectral decompositions of and whose indexed orthonormal bases are exactly equal, with respective nonnegative eigenvalue families each summing to one, together with a real , such that
The proportionality condition imposes no requirement at indices where .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.