(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* Logic.eq==>iff) Plt. Proof. repeat red; intros; subst; auto. Qed. Definition le_lteq := Ple_lteq. Definition compare_spec := Pcompare_spec. End Positive_as_OT. (** Note that [Positive_as_OT] can also be seen as a [UsualOrderedType] and a [OrderedType] (and also as a [DecidableType]). *) (** * An [order] tactic for positive numbers *) Module PositiveOrder := OTF_to_OrderTac Positive_as_OT. Ltac p_order := PositiveOrder.order. (** Note that [p_order] is domain-agnostic: it will not prove [1<=2] or [x<=x+x], but rather things like [x<=y -> y<=x -> x=y]. *)