diff options
author | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-03-14 09:52:41 +0000 |
---|---|---|
committer | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-03-14 09:52:41 +0000 |
commit | 2053e46c8d6a4da32b4155d346d1b04da3686d06 (patch) | |
tree | 13113d33071207f1c0133416374b0f8b72e21352 /theories/Classes | |
parent | 1b3efc6dc25be1bfde5fb7d2d39cc5c35e44a4d8 (diff) |
Everything compiles again.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15034 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Classes')
-rw-r--r-- | theories/Classes/EquivDec.v | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/theories/Classes/EquivDec.v b/theories/Classes/EquivDec.v index 719a9a845..9c600b01e 100644 --- a/theories/Classes/EquivDec.v +++ b/theories/Classes/EquivDec.v @@ -53,7 +53,8 @@ Open Local Scope program_scope. (** Invert the branches. *) -Program Definition nequiv_dec `{EqDec A} (x y : A) : { x =/= y } + { x === y } := swap_sumbool (x == y). +Program Definition nequiv_dec `{EqDec A} (x y : A) : { x =/= y } + { x === y } := + swap_sumbool (x == y). (** Overloaded notation for inequality. *) @@ -138,8 +139,7 @@ Program Instance list_eqdec `(eqa : EqDec A eq) : ! EqDec (list A) eq := | _, _ => in_right end }. - Solve Obligations using unfold equiv, complement in * ; program_simpl ; intuition (discriminate || eauto). - Next Obligation. destruct y ; intuition eauto. Defined. - Solve Obligations using unfold equiv, complement in * ; program_simpl ; intuition (discriminate || eauto). + Solve Obligations using unfold equiv, complement in * ; + program_simpl ; intuition (discriminate || eauto). |