diff options
| author | letouzey | 2010-01-07 15:32:22 +0000 |
|---|---|---|
| committer | letouzey | 2010-01-07 15:32:22 +0000 |
| commit | 345c0ee557465d7d2f22ac34898388dfbb57cd0f (patch) | |
| tree | ba50e980e96fe1dd02183f8b89fd6b5ef5859ee6 /theories/ZArith | |
| parent | 56773377924f7f4d98d007b5687ebb44cff69042 (diff) | |
OrderTac: use TotalOrder, no more "change" before calling "order" (stuff with Inline)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12636 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/ZArith')
| -rw-r--r-- | theories/ZArith/ZOrderedType.v | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/theories/ZArith/ZOrderedType.v b/theories/ZArith/ZOrderedType.v index c717284fd4..f249ae1b42 100644 --- a/theories/ZArith/ZOrderedType.v +++ b/theories/ZArith/ZOrderedType.v @@ -7,7 +7,7 @@ (************************************************************************) Require Import BinInt Zcompare Zorder Zbool ZArith_dec - DecidableType2 OrderedType2 OrderedType2Facts. + DecidableType2 OrderedType2 OrderTac. Local Open Scope Z_scope. @@ -53,9 +53,7 @@ End Z_as_OT. (** * An [order] tactic for integers *) Module ZOrder := OTF_to_OrderTac Z_as_OT. -Ltac z_order := - change (@eq Z) with ZOrder.OrderElts.eq in *; - ZOrder.order. +Ltac z_order := ZOrder.order. (** Note that [z_order] is domain-agnostic: it will not prove [1<=2] or [x<=x+x], but rather things like [x<=y -> y<=x -> x=y]. *) |
