aboutsummaryrefslogtreecommitdiff
path: root/mathcomp
diff options
context:
space:
mode:
authorCyril Cohen2018-10-26 12:26:59 +0200
committerGitHub2018-10-26 12:26:59 +0200
commit91a4286ddc1a1f85b6719318be52bce88a3aff32 (patch)
tree54d005fa753645a3056d93d382498b0b7eb4c6cf /mathcomp
parent311c23124e258647075f703b0f759f1ad5051c60 (diff)
parentefbdb223b3329d6cae0cecebdb6d98453fb489d4 (diff)
Merge pull request #235 from CohenCyril/bool_irrelevance2
Statement of `bool_irrelevance` more consistent with its name.
Diffstat (limited to 'mathcomp')
-rw-r--r--mathcomp/ssreflect/eqtype.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/ssreflect/eqtype.v b/mathcomp/ssreflect/eqtype.v
index 7c2a48e..f32d390 100644
--- a/mathcomp/ssreflect/eqtype.v
+++ b/mathcomp/ssreflect/eqtype.v
@@ -274,7 +274,7 @@ Canonical bool_eqType := Eval hnf in EqType bool bool_eqMixin.
Lemma eqbE : eqb = eq_op. Proof. by []. Qed.
-Lemma bool_irrelevance (x y : bool) (E E' : x = y) : E = E'.
+Lemma bool_irrelevance (b : bool) (p1 p2 : b) : p1 = p2.
Proof. exact: eq_irrelevance. Qed.
Lemma negb_add b1 b2 : ~~ (b1 (+) b2) = (b1 == b2).