Lemma 1.2 — Pythagorean inequality for the KL divergence of nonnegative vectors
ProvedSinkhornHall.Supplement.lemma_1_2bipartite-matchingkl-divergencematrix-scalingp2o-gran-per-chapterp2o-plan-paperp2o-v1sinkhorn-algorithm
Let be a closed convex set contained in for some , let be nonnegative (its sum need not be ), and let satisfy , where with and . Then
This is the Pythagorean inequality at an information projection; the paper uses it to turn the rate of Lemma 2.9 into the rate of the row marginals (Lemma 2.13).
Differences from the source:
- encoding: with values in →
EReal(klDiv,matKL), when some ; reason: the paper's convention, same instances - encoding: "closed (compact)" →
IsClosed P; reason: a closed subset of the bounded set is compact - encoding: index sets , → arbitrary finite types
ι,κ; reason: every finite type is in bijection with some ; the empty types ( or , outside the paper's convention) only add trivially true or vacuous instances
Preamble
import Mathlib import Definitions.Def_SinkhornHall_Model import Definitions.Def_SinkhornHall_Analysis import Definitions.Def_SinkhornHall_Supplement_KL open Finset Filter Topology
Formal statement
namespace SinkhornHall.Supplement
/-- **Lemma 1.2 (Pythagorean theorem for the KL divergence).**
Hayashi–Hirai–Sakabe, arXiv:2204.07425v2, Lemma 1.2, p.4: "Let P be a closed (compact) convex set
in {p ∈ ℝⁿ | 1⊤p = C, p_i ≥ 0 (i ∈ [n])} for some C ≥ 0. For a nonnegative vector r ∈ ℝⁿ, let
p* ∈ P satisfy D(p*‖r) = inf_{p∈P} D(p‖r). Then it holds D(p‖p*) + D(p*‖r) ≤ D(p‖r) (∀p ∈ P)."
The note after it (p.4) says the sum of `r` need not be `C`.
**Formalization Note.** `D` is `klDiv` in `EReal` (`⊤` allowed, including for the infimum).
"Closed (compact)" is `IsClosed P`; a closed subset of the simplex-like set is compact. The index
set is any finite type. -/
theorem lemma_1_2 {ι : Type*} [Fintype ι] (C : ℝ) (hC : 0 ≤ C) (P : Set (ι → ℝ))
(hPclosed : IsClosed P) (hPconv : Convex ℝ P)
(hPsub : P ⊆ {p | ∑ i, p i = C ∧ ∀ i, 0 ≤ p i}) (r : ι → ℝ) (hr : ∀ i, 0 ≤ r i)
(pstar : ι → ℝ) (hpstar : pstar ∈ P)
(hmin : SinkhornHall.klDiv pstar r = ⨅ p ∈ P, SinkhornHall.klDiv p r) :
∀ p ∈ P,
SinkhornHall.klDiv p pstar + SinkhornHall.klDiv pstar r ≤ SinkhornHall.klDiv p r := by sorry
end SinkhornHall.Supplement
Source
Hayashi–Hirai–Sakabe, Finding Hall blockers by matrix scaling, arXiv:2204.07425v2, Lemma 1.2, p.4 (and the note after it)