From 14893db7bda6542fa466508d962920ee64d3e45a Mon Sep 17 00:00:00 2001 From: herbelin Date: Sun, 25 Oct 2009 21:16:51 +0000 Subject: 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 --- test-suite/success/apply.v | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test-suite') 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. + -- cgit v1.2.3