diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2003-12-24 18:02:14 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2003-12-24 18:02:14 +0000 |
commit | 112e94014371e2e83d4bce5ea7aba01143318bba (patch) | |
tree | 92203299852cdcca657edaf68e16eae1242a96ad /test-suite | |
parent | 19ec300305bfdb75cc3f03453a5b12606514cc85 (diff) |
BUG
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5150 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/success/Omega.v | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/test-suite/success/Omega.v b/test-suite/success/Omega.v index 0369bfbf9..c324919ff 100644 --- a/test-suite/success/Omega.v +++ b/test-suite/success/Omega.v @@ -1,3 +1,4 @@ + Require Omega. (* Submitted by Xavier Urbain 18 Jan 2002 *) @@ -54,7 +55,7 @@ Qed. End B. (* From Nicolas Oury (bug #180): handling -> on Set (fixed Oct 2002) *) -Lemma lem4: (A: Set) (i:Z) `i<= 0` -> (`i<= 0` -> A) -> `i<=0`. +Lemma lem6: (A: Set) (i:Z) `i<= 0` -> (`i<= 0` -> A) -> `i<=0`. Intros. Omega. Qed. @@ -67,15 +68,22 @@ Parameter f:(m:nat)(H:~m=O)(g m H). Variable n:nat. Variable ap_n:~n=O. Local delta:=(f n ap_n). -Lemma lem6 : n=n. +Lemma lem7 : n=n. Omega. Qed. End C. (* Problem of dependencies *) Require Omega. -Lemma lem7 : (H:O=O->O=O) H=H -> O=O. +Lemma lem8 : (H:O=O->O=O) H=H -> O=O. Intros; Omega. Qed. +(* Bug that what caused by the use of intro_using in Omega *) +Require Omega. +Lemma lem9 : (p,q:nat) + ~((le p q)/\(lt p q)\/(le q p)/\(lt p q)) + -> (lt p p)\/(le p p). +Intros; Omega. +Qed. |