Module Q.
(** We obtain hence all the generic properties of max and min. *)
Include MinMaxProperties Q_as_OT QHasMinMax.
(** * Properties specific to the [Q] domain *)
(** Compatibilities (consequences of monotonicity) *)

Lemma plus_max_distr_l : forall n m p, Qmax (p + n) (p + m) == p + Qmax n m.