coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adam AT chlipala.net>
- To: Michael <michaelschausten AT googlemail.com>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club]
- Date: Mon, 20 Sep 2010 08:54:38 -0400
Michael wrote:
I have a proof Y, and at some point used the tactic "generalize H0", resulting
in a verification condition "X -> Y". Now I have a Lemma Lem1 of the form "A
->
B -> C", which matches X with C. I'd like to apply Lem1 to the first part
(X).
However, "apply Lem1" results in an error. It seems to me Coq tries to match
"B
-> C" with "X -> Y", but that's not what I wanted. How can I apply the
Lemma in
the way I need it?
I think the simplest way is [intro Hx; apply Lem1 in Hx].
- [Coq-Club], Michael
- Re: [Coq-Club], Adam Chlipala
- <Possible follow-ups>
- [Coq-Club], Michael
- Re: Re: [Coq-Club],
Michael
- Re: [Coq-Club], Adam Chlipala
- Re: Re: [Coq-Club],
Michael
- Re: [Coq-Club], Adam Chlipala
Archive powered by MhonArc 2.6.16.