Theorem (majorized_iff_exists_doublyStochastic). Hardy–Littlewood–Pólya. \mathbf{x} is majorized by \mathbf{y} exactly when \mathbf{x} = \mathbf{D}\mathbf{y} for some doubly stochastic matrix \mathbf{D}. [HornJohnson2013, Theorem 4.3.49].
Headline
Lean statement and details
NLAlib.majorized_iff_exists_doublyStochastic.{u_1} {ι : Type u_1} [Fintype ι] [DecidableEq ι]
{x y : ι → ℝ} : Majorized x y ↔ ∃ D ∈ doublyStochastic ℝ ι, D *ᵥ y = x