From b03db7e43a67251406c4b27fa179f1d46c248906 Mon Sep 17 00:00:00 2001 From: letouzey Date: Tue, 21 Jun 2011 21:18:47 +0000 Subject: Follow-up concerning eqb / ltb / leb comparisons - All statement using reflect are made transparent. (Otherwise, since reflect isn't in Prop, extraction complains now about opaque Type definition). - remove two local Peqb_spec and Neqb_spec, now provided globally as Pos.eqb_spec and N.eqb_spec. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14232 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/Structures/Equalities.v | 2 +- theories/Structures/OrdersFacts.v | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'theories/Structures') diff --git a/theories/Structures/Equalities.v b/theories/Structures/Equalities.v index 933c4ea0e9..eb53738591 100644 --- a/theories/Structures/Equalities.v +++ b/theories/Structures/Equalities.v @@ -196,7 +196,7 @@ Qed. Lemma eqb_spec x y : reflect (x==y) (x =? y). Proof. apply iff_reflect. symmetry. apply eqb_eq. -Qed. +Defined. (** Negated form of [eqb_eq] *) diff --git a/theories/Structures/OrdersFacts.v b/theories/Structures/OrdersFacts.v index a447e8fb52..2e9c0cf562 100644 --- a/theories/Structures/OrdersFacts.v +++ b/theories/Structures/OrdersFacts.v @@ -365,7 +365,7 @@ Include CompareBasedOrderFacts E C O. Lemma leb_spec0 x y : reflect (x<=y) (x<=?y). Proof. apply iff_reflect. symmetry. apply leb_le. -Qed. +Defined. Lemma leb_spec x y : BoolSpec (x<=y) (y