theorem
dedup_last_decreasing :
∀ {α : Type} {ms : List Meas} {F : Factory α}, last_decreasing ms → last_decreasing (dedup F ms)
theorem
dedup_cost_increasing :
∀ {α : Type} {F : Factory α} {ms : List Meas}, cost_increasing_non_strict F ms → cost_increasing F (dedup F ms)