aboutsummaryrefslogtreecommitdiff
path: root/theories/Structures
diff options
context:
space:
mode:
authorHugo Herbelin2020-08-18 22:49:00 +0200
committerHugo Herbelin2020-10-05 16:19:12 +0200
commit2fb42ce6b9b74a2c5f66e9fa9cb16745cdb85687 (patch)
tree88d12d5f428c1dc89cb8cb272e3531a2d7a531de /theories/Structures
parent571834b2b43e4281ef4940ee5894d8191588bb6c (diff)
Adapting theories to unused pattern-matching variable warning.
Diffstat (limited to 'theories/Structures')
-rw-r--r--theories/Structures/OrdersEx.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/theories/Structures/OrdersEx.v b/theories/Structures/OrdersEx.v
index adffa1ded4..382538875d 100644
--- a/theories/Structures/OrdersEx.v
+++ b/theories/Structures/OrdersEx.v
@@ -138,12 +138,12 @@ Module PositiveOrderedTypeBits <: UsualOrderedType.
Fixpoint compare x y :=
match x, y with
| x~1, y~1 => compare x y
- | x~1, _ => Gt
+ | _~1, _ => Gt
| x~0, y~0 => compare x y
- | x~0, _ => Lt
- | 1, y~1 => Lt
+ | _~0, _ => Lt
+ | 1, _~1 => Lt
| 1, 1 => Eq
- | 1, y~0 => Gt
+ | 1, _~0 => Gt
end.
Lemma compare_spec : forall x y, CompSpec eq lt x y (compare x y).