diff options
Diffstat (limited to 'test-suite/success/Injection.v')
| -rw-r--r-- | test-suite/success/Injection.v | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test-suite/success/Injection.v b/test-suite/success/Injection.v new file mode 100644 index 0000000000..aecb7e1f60 --- /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. |
