Documentation

CslibFrontier.Foundations.Algebra.Tropical

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 #

theorem MinTropical.add_le_left {R : Type u_1} [LinearOrder R] (x y : MinTropical R) :
x + y ≤ x
theorem MinTropical.add_le_right {R : Type u_1} [LinearOrder R] (x y : MinTropical R) :
x + y ≤ y
theorem MinTropical.add_eq_or {R : Type u_1} [LinearOrder R] (x y : MinTropical R) :
x + y = x ∨ x + y = y
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