Total variation, overlap, and shift distance #
Adapted for Lean Pool by changing module paths and selecting explicit imports.
Komlos.tvDist P Q is half the sum of |P x - Q x|.
Komlos.overlap P Q is the sum of min (P x) (Q x).
Komlos.shiftDist P u is the total variation distance between P and its translate by u.
For probability distributions, overlap equals 1 - tvDist P Q.
Total common weight, computed by taking the pointwise minimum.
Equations
- Komlos.overlap P Q = Komlos.mass (P ⊓ Q)
Instances For
Total variation distance between a finitely supported function and its translate by u.
Equations
- Komlos.shiftDist P u = Komlos.tvDist P (Komlos.tr u P)