Matrix.exists_balanced_le_with_no_perm_pos
Library · theorem
A common-row-sum nonnegative matrix has a balanced nonnegative part whose residual has no permutation of positive entries. The extracted part has a common row and column sum between zero and the original row sum. Source: GGOW, arXiv:1511.03730v4, Claim 3.3.
Matrix.exists_balanced_le_with_no_perm_pos.{u_1} {n : Type u_1} [Fintype n] [Nonempty n]
(C : Matrix n n ℝ) (s : ℝ) (hC : ∀ (i j : n), 0 ≤ C i j) (hs : 0 ≤ s)
(hrow : ∀ (i : n), ∑ j, C i j = s) :
∃ D a,
0 ≤ a ∧
a ≤ s ∧
(∀ (i j : n), 0 ≤ D i j) ∧
(∀ (i : n), ∑ j, D i j = a) ∧
(∀ (j : n), ∑ i, D i j = a) ∧
(∀ (i j : n), D i j ≤ C i j) ∧ ¬∃ σ, ∀ (i : n), 0 < (C - D) i (σ i)Import NLAlib.ForMathlib.Analysis.Convex.DoublyStochasticMatrix.