Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club]

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club]


chronological Thread 
  • 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].



Archive powered by MhonArc 2.6.16.

Top of Page