diff options
| author | herbelin | 2009-10-25 21:16:51 +0000 |
|---|---|---|
| committer | herbelin | 2009-10-25 21:16:51 +0000 |
| commit | 14893db7bda6542fa466508d962920ee64d3e45a (patch) | |
| tree | 4920d09d5f2313c3b5cacc3a898c398a108d572e /test-suite | |
| parent | fb956e945678e0c69766c219cd7ab026925a57ea (diff) | |
Restore (and test) broken chaining of lemmas in "apply in" in presence
of side conditions.
Fix a small presentation issue in printing the "exists" tactic.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12416 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/apply.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/success/apply.v b/test-suite/success/apply.v index c3d3b0e3b4..7f00417148 100644 --- a/test-suite/success/apply.v +++ b/test-suite/success/apply.v @@ -296,3 +296,14 @@ apply H in H0 as ->. reflexivity. exact I. Qed. + +(* Check chaining of "apply in" on the last subgoal (assuming that + side conditions come first) *) + +Lemma chaining : + forall B C D : Prop, (True -> B -> C) -> (C -> D) -> B -> D. +Proof. +intros. +apply H, H0 in H1; auto. +Qed. + |
