aboutsummaryrefslogtreecommitdiff
path: root/mathcomp
diff options
context:
space:
mode:
authorGeorges Gonthier2019-04-30 04:09:56 +0200
committerGitHub2019-04-30 04:09:56 +0200
commit40d59ae3ea96f9ee8188bd2fbfe0bc8be19b6c5b (patch)
tree6fa067ffb3ce60d5394ab44c961a67a4fa88a5f3 /mathcomp
parentc3b8865dbf01c857b6b619c620095c0385f66977 (diff)
parentc30500ff4db56b6b3ad77dad811e3da766b26e19 (diff)
Merge pull request #338 from math-comp/coq-ssrbool-refactor-compat
Fix compatibility for #237
Diffstat (limited to 'mathcomp')
-rw-r--r--mathcomp/ssreflect/ssrfun.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/mathcomp/ssreflect/ssrfun.v b/mathcomp/ssreflect/ssrfun.v
index ed18941..1c1b557 100644
--- a/mathcomp/ssreflect/ssrfun.v
+++ b/mathcomp/ssreflect/ssrfun.v
@@ -2,4 +2,5 @@ From mathcomp Require Import ssreflect.
From Coq Require Export ssrfun.
From mathcomp Require Export ssrnotations.
-Definition Some_inj {T : nonPropType} := @Some_inj T.
+Lemma Some_inj {T : nonPropType} : injective (@Some T).
+Proof. by move=> x y []. Qed.