Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] specializing without repeating large expressions

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] specializing without repeating large expressions


chronological Thread 
  • From: Guillaume Melquiond <guillaume.melquiond AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] specializing without repeating large expressions
  • Date: Mon, 15 Mar 2010 16:08:35 +0100

Ian Lynagh a écrit :
In the (very abstracted example of a) lemma below, is there a way to
prove the result without writing "nat" or "x = y"?

What I'd like is to be able to write something like
specialize (H _).
    admit.

There have been several suggestions already, but none that mentioned the
"refine" tactic. So here it comes. "specialize (H _)" can be written

refine (let v := _ in _ (H v)).

Best regards,

Guillaume





Archive powered by MhonArc 2.6.16.

Top of Page