diff options
author | 2001-10-15 13:11:04 +0000 | |
---|---|---|
committer | 2001-10-15 13:11:04 +0000 | |
commit | 04aa54ed48e38eff4577b96628fe9c2f7401b692 (patch) | |
tree | f20325b8e25ba2b874d65bbce4d7e738a16537cf | |
parent | 3f9a8b088c5e32e918dc0d221dab27d9811e0009 (diff) |
*** empty log message ***
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2121 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r-- | test-suite/success/Discriminate.v | 11 | ||||
-rw-r--r-- | test-suite/success/Injection.v | 14 | ||||
-rw-r--r-- | test-suite/success/Simplify_eq.v | 13 |
3 files changed, 38 insertions, 0 deletions
diff --git a/test-suite/success/Discriminate.v b/test-suite/success/Discriminate.v new file mode 100644 index 000000000..39d2f4bb2 --- /dev/null +++ b/test-suite/success/Discriminate.v @@ -0,0 +1,11 @@ +(* Check the behaviour of Discriminate *) + +(* Check that Discriminate tries Intro until *) + +Lemma l1 : O=(S O)->False. +Discriminate 1. +Qed. + +Lemma l2 : (H:O=(S O))H==H. +Discriminate H. +Qed. diff --git a/test-suite/success/Injection.v b/test-suite/success/Injection.v new file mode 100644 index 000000000..aecb7e1f6 --- /dev/null +++ b/test-suite/success/Injection.v @@ -0,0 +1,14 @@ +(* Check the behaviour of Injection *) + +(* Check that Injection tries Intro until *) + +Lemma l1 : (x:nat)(S x)=(S (S x))->False. +Injection 1. +Apply n_Sn. +Qed. + +Lemma l2 : (x:nat)(H:(S x)=(S (S x)))H==H->False. +Injection H. +Intros. +Apply (n_Sn x H0). +Qed. diff --git a/test-suite/success/Simplify_eq.v b/test-suite/success/Simplify_eq.v new file mode 100644 index 000000000..41aa77efe --- /dev/null +++ b/test-suite/success/Simplify_eq.v @@ -0,0 +1,13 @@ +(* Check the behaviour of Simplify_eq *) + +(* Check that Simplify_eq tries Intro until *) + +Lemma l1 : O=(S O)->False. +Simplify_eq 1. +Qed. + +Lemma l2 : (x:nat)(H:(S x)=(S (S x)))H==H->False. +Simplify_eq H. +Intros. +Apply (n_Sn x H0). +Qed. |