From 896264fe823e4367fea48bd98e4228a366753bc4 Mon Sep 17 00:00:00 2001 From: desmettr Date: Thu, 16 Jan 2003 16:15:49 +0000 Subject: Ajout de la tactique Sup git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3513 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/Reals/DiscrR.v | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/theories/Reals/DiscrR.v b/theories/Reals/DiscrR.v index b3982dab11..f7e3e0b1f4 100644 --- a/theories/Reals/DiscrR.v +++ b/theories/Reals/DiscrR.v @@ -9,6 +9,7 @@ (*i $Id$ i*) Require RIneq. +Require Omega. Recursive Tactic Definition Isrealint trm:= Match trm With @@ -56,4 +57,16 @@ Recursive Tactic Definition Sup0 := Match Context With | [ |- ``0<1`` ] -> Apply Rlt_R0_R1 | [ |- ``0 Repeat (Apply Rmult_lt_pos Orelse Apply Rplus_lt_pos; Try Apply Rlt_R0_R1 Orelse Apply Rlt_R0_R2) - | [ |- ``?1>0`` ] -> Change ``00`` ] -> Change ``0 Change ``?2 Sup0 + | [ |- (Rlt (Ropp ?1) R0) ] -> Rewrite <- Ropp_O; Sup + | [ |- (Rlt (Ropp ?1) (Ropp ?2)) ] -> Apply Rlt_Ropp; Sup + | [ |- (Rlt (Ropp ?1) ?2) ] -> Apply Rlt_trans with ``0``; Sup + | [ |- (Rlt ?1 ?2) ] -> SupOmega + | _ -> Idtac. \ No newline at end of file -- cgit v1.2.3