Order facts for (min,+) sums #
In MinTropical R addition is min, so a sum is below each summand, and a nonempty finite sum
is attained by one of its summands. These are the facts used to read tropical matrix entries as
minima over walks.
Main results #
MinTropical.add_le_left,MinTropical.add_le_right:x + y ≤ xandx + y ≤ y.MinTropical.add_eq_or:x + yisxory.MinTropical.sum_le_of_mem: a finite sum is below each of its summands.MinTropical.exists_sum_eq: a nonempty finite sum is one of its summands.
theorem MinTropical.sum_le_of_mem {R : Type u_1} [LinearOrder R] [OrderTop R] {ι : Type u_2} {s : Finset ι} (f : ι → MinTropical R) {a : ι} (ha : a ∈ s) :
∑ i ∈ s, f i ≤ f a
theorem MinTropical.exists_sum_eq {R : Type u_1} [LinearOrder R] [OrderTop R] {ι : Type u_2} {s : Finset ι} (hs : s.Nonempty) (f : ι → MinTropical R) :
∃ a ∈ s, ∑ i ∈ s, f i = f a