A.1 Eq.(18): total variation as overlap deficit
OpenQAlgorithms.Papers.Independent.Bridge50.P44.tv_overlapprove2quantum
Let and be normalized discrete probability laws on the same alphabet . Their nonnegative mass functions have absolutely convergent sums equal to one. With ,
This identity expresses total variation as the deficit of common probability mass and applies to finite or countably supported laws.
Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P44
Formal statement
noncomputable section
open scoped BigOperators Matrix ComplexOrder
namespace QAlgorithms.Papers.Independent.Bridge50.P44
open QAlgorithms
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33 (State traceSize)
open QAlgorithms.Papers.Independent.Dependency50.P24 (cqState)
open QAlgorithms.Papers.Independent.Frontier18.P08 (partialTraceFirst)
open QAlgorithms.Papers.Independent.Information100.P76 (maximallyMixed)
open QAlgorithms.Papers.Independent.Frontier18.P08 (conditionalEntropyNats)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- PDF p.36, Eq.(18): total variation is the deficit of overlap mass. -/
theorem tv_overlap {Z : Type*} (p q : Z → ℝ)
(hp : IsDiscreteLaw p) (hq : IsDiscreteLaw q) :
discreteTV p q = 1 - ∑' z, min (p z) (q z) := by sorry
end QAlgorithms.Papers.Independent.Bridge50.P44
end
Source
Cryptographic security of quantum key distribution, arXiv:1409.3525v1, PDF p. 36, A.1 Eq.(18): total variation as overlap deficit
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every arbitrary index type and functions , assume that each function is everywhere nonnegative, is summable, and has sum . Then their total variation distance, defined here as , equals . No finiteness or countability assumption is imposed on ; if is empty, the normalization hypotheses cannot hold.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.