∀ {α : Type u} {β : Type v} [inst : AddCommGroup β] [inst_1 : PartialOrder β] [IsOrderedAddMonoid β] {f g : α → β}
  {a : α} {s : Set α}, IsMinOn f s a → IsMaxOn g s a → IsMinOn (fun x => f x - g x) s a