Definition max := Rmax.Definition min := Rmin.Definition max_l := Rmax_l.Definition max_r := Rmax_r.Definition min_l := Rmin_l.Definition min_r := Rmin_r.

(* Specifications: *)
Lemma plus_max_distr_l : forall n m p, Rmax (p + n) (p + m) = p + Rmax n m.
Lemma plus_max_distr_r : forall n m p, Rmax (n + p) (m + p) = Rmax n m + p.
Lemma plus_min_distr_l : forall n m p, Rmin (p + n) (p + m) = p + Rmin n m.
Lemma plus_min_distr_r : forall n m p, Rmin (n + p) (m + p) = Rmin n m + p.
Lemma opp_max_distr : forall n m : R, -(Rmax n m) = Rmin (- n) (- m).
Lemma opp_min_distr : forall n m : R, - (Rmin n m) = Rmax (- n) (- m).
Lemma minus_max_distr_l : forall n m p, Rmax (p - n) (p - m) = p - Rmin n m.
Lemma minus_max_distr_r : forall n m p, Rmax (n - p) (m - p) = Rmax n m - p.
Lemma minus_min_distr_l : forall n m p, Rmin (p - n) (p - m) = p - Rmax n m.
Lemma minus_min_distr_r : forall n m p, Rmin (n - p) (m - p) = Rmin n m - p.