Skip to content

Commit

Permalink
Same for QMinMax.
Browse files Browse the repository at this point in the history
  • Loading branch information
robbertkrebbers committed May 16, 2011
1 parent c0fe845 commit eeaff5c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions model/totalorder/QMinMax.v
Expand Up @@ -180,13 +180,9 @@ Definition Qmin_max_disassoc : forall x y z : Q, Qmin (Qmax x y) z <= Qmax x (Qm
@meet_join_disassoc Qto.

Lemma Qplus_monotone_r : forall a, Qmonotone (Qplus a).
Proof.
firstorder using Qle_refl Qplus_le_compat .
Qed.
Proof. do 2 red. intros. now apply Qplus_le_r. Qed.
Lemma Qplus_monotone_l : forall a, Qmonotone (fun x => Qplus x a).
Proof.
firstorder using Qle_refl Qplus_le_compat.
Qed.
Proof. do 2 red. intros. now apply Qplus_le_l. Qed.
Definition Qmin_plus_distr_r : forall x y z : Q, x + Qmin y z == Qmin (x+y) (x+z) :=
fun a => @monotone_meet_distr Qto _ (Qplus_monotone_r a).
Definition Qmin_plus_distr_l : forall x y z : Q, Qmin y z + x == Qmin (y+x) (z+x) :=
Expand Down

0 comments on commit eeaff5c

Please sign in to comment.