Unordered pairs crossing a set #
This file defines when an unordered pair has one endpoint in a set and the other endpoint outside the set. It also proves that one pair's weighted cut contribution is submodular, for use in pair and multigraph cut-capacity estimates.
Main definition #
Sym2.Crosses: an unordered pair crosses a set when its endpoints lie on opposite sides.
Main results #
Sym2.ite_crosses_union_add_ite_crosses_inter_le: one pair contributes a submodular cut weight.
theorem
Sym2.ite_crosses_union_add_ite_crosses_inter_le
{V : Type u_1}
{K : Type u_2}
[AddCommMonoid K]
[Preorder K]
[IsOrderedAddMonoid K]
(p : Sym2 V)
(a : K)
(ha : ¬p.IsDiag → 0 ≤ a)
(S T : Set V)
[dU : Decidable (p.Crosses (S ∪ T))]
[dI : Decidable (p.Crosses (S ∩ T))]
[dS : Decidable (p.Crosses S)]
[dT : Decidable (p.Crosses T)]
:
The contribution of one unordered pair to a weighted cut is submodular when its weight is nonnegative off the diagonal. Diagonal weights are unrestricted.