The transportation metric is an attained metric
ProvedMarkovMixing.transport_metricLet be a metric on a finite state space — nonnegative, vanishing exactly on the diagonal, symmetric, and satisfying the triangle inequality — and let be probability distributions on . A coupling of and is a probability distribution on ordered pairs with marginals and , and the transportation distance (Kantorovich distance) is the cheapest expected cost of moving onto :
The theorem (Lemma 14.3 and Remark 14.2 of Levin–Peres–Wilmer) asserts:
- the infimum is attained: some coupling realizes exactly — an optimal coupling exists;
- satisfies the triangle inequality: .
Attainment is a compactness statement about the coupling polytope; the triangle inequality is proved by gluing an optimal coupling of with one of along their common marginal. Together they make a genuine metric on distributions — the metric in which the path coupling theorem measures contraction.
import Definitions.Def_mm_transport
namespace MarkovMixing
/-- **Lemma 14.3 and Remark 14.2** (LPW): the transportation distance is
attained by an optimal coupling, and satisfies the triangle inequality. -/
theorem transport_metric {V : Type*} [Fintype V] [DecidableEq V]
(ρ : V → V → ℝ) (hρ0 : ∀ x y : V, 0 ≤ ρ x y)
(hρeq : ∀ x y : V, ρ x y = 0 ↔ x = y)
(hρsymm : ∀ x y : V, ρ x y = ρ y x)
(hρtri : ∀ x y z : V, ρ x z ≤ ρ x y + ρ y z)
(μ ν η : V → ℝ) (hμ : IsDist μ) (hν : IsDist ν) (hη : IsDist η) :
(∃ q : V × V → ℝ, IsCoupling μ ν q ∧
transportDist ρ μ ν = ∑ p : V × V, ρ p.1 p.2 * q p) ∧
transportDist ρ μ η ≤ transportDist ρ μ ν + transportDist ρ ν η := by
sorry
end MarkovMixingRead-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: transport_metric
Let be a finite type with decidable equality (possibly empty — though see the note at the end), and let satisfy four hypotheses making it a genuine metric on : (i) for all ; (ii) if and only if (both directions); (iii) for all ; (iv) the triangle inequality for all . Let each be a probability distribution on , meaning each is pointwise and sums to over .
Write for the transport distance: the real infimum of the set of values as ranges over couplings of and — where a coupling is a probability distribution on (pointwise , total sum ) with first marginal ( for every ) and second marginal ( for every ). This is the real-number , which returns the junk value on an empty or unbounded-below set of values; here, whether a coupling exists at all is part of what the theorem's first conjunct implicitly requires.
The theorem asserts the conjunction of two claims:
- Attainment. There exists a coupling of and such that
i.e. the infimum defining the transport distance is achieved by some actual coupling.
- Triangle inequality.
Only these two claims are made: nothing is asserted about nonnegativity of , symmetry of , or . Edge case: if is empty, the hypothesis becomes , so the distribution hypotheses are unsatisfiable and the statement holds vacuously for empty ; the substantive content is for nonempty .
Confirmed by the mission captain (proposal self-audit).