diff options
author | 2015-01-25 14:42:51 +0100 | |
---|---|---|
committer | 2015-01-25 14:42:51 +0100 | |
commit | 7cfc4e5146be5666419451bdd516f1f3f264d24a (patch) | |
tree | e4197645da03dc3c7cc84e434cc31d0a0cca7056 /test-suite/bugs/closed/shouldsucceed/808_2411.v | |
parent | 420f78b2caeaaddc6fe484565b2d0e49c66888e5 (diff) |
Imported Upstream version 8.5~beta1+dfsg
Diffstat (limited to 'test-suite/bugs/closed/shouldsucceed/808_2411.v')
-rw-r--r-- | test-suite/bugs/closed/shouldsucceed/808_2411.v | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/808_2411.v b/test-suite/bugs/closed/shouldsucceed/808_2411.v deleted file mode 100644 index 1c13e745..00000000 --- a/test-suite/bugs/closed/shouldsucceed/808_2411.v +++ /dev/null @@ -1,27 +0,0 @@ -Section test. -Variable n:nat. -Lemma foo: 0 <= n. -Proof. -(* declaring an Axiom during a proof makes it immediatly - usable, juste as a full Definition. *) -Axiom bar : n = 1. -rewrite bar. -now apply le_S. -Qed. - -Lemma foo' : 0 <= n. -Proof. -(* Declaring an Hypothesis during a proof is ok, - but this hypothesis won't be usable by the current proof(s), - only by later ones. *) -Hypothesis bar' : n = 1. -Fail rewrite bar'. -Abort. - -Lemma foo'' : 0 <= n. -Proof. -rewrite bar'. -now apply le_S. -Qed. - -End test.
\ No newline at end of file |