aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/algebra
diff options
context:
space:
mode:
authorReynald Affeldt2020-05-31 00:24:10 +0900
committerCyril Cohen2020-06-06 01:44:09 +0200
commit7f355343ee30f72d8ab3ce87f897dc0092e43c29 (patch)
tree3654fd4e19da8f63eecbf9a344054035a84af2eb /mathcomp/algebra
parentefed1800a4f2eaa942704ab8bebc60d9a3ac8dfd (diff)
tentative changelog
- mostly gathered the changes from previous commits - add `minrC` - minor doc addition to `order.v`
Diffstat (limited to 'mathcomp/algebra')
-rw-r--r--mathcomp/algebra/ssrnum.v1
1 files changed, 1 insertions, 0 deletions
diff --git a/mathcomp/algebra/ssrnum.v b/mathcomp/algebra/ssrnum.v
index 6dbfaf7..f7b2e0f 100644
--- a/mathcomp/algebra/ssrnum.v
+++ b/mathcomp/algebra/ssrnum.v
@@ -5619,6 +5619,7 @@ Ltac mexact x := by mapply x.
Local Notation min := minr.
Local Notation max := maxr.
+Lemma minrC : @commutative R R min. Proof. mexact @minC. Qed.
Lemma minrr : @idempotent R min. Proof. mexact @minxx. Qed.
Lemma minr_l x y : x <= y -> min x y = x. Proof. mexact @min_l. Qed.
Lemma minr_r x y : y <= x -> min x y = y. Proof. mexact @min_r. Qed.