Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Ltac like destruct .. as ...

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Ltac like destruct .. as ...


chronological Thread 
  • From: "Vincent Siles" <vsiles AT lix.polytechnique.fr>
  • To: "Jianzhou Zhao" <jianzhou AT seas.upenn.edu>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Ltac like destruct .. as ...
  • Date: Sat, 14 Aug 2010 08:43:47 +0200 (CEST)
  • Importance: Normal

> Hello,
>
> I wanted to define a tactical working like
>   destruct H as J1 J2 ...
> The list of names of J's is with variant length.  I defined:
>

Hi,
I think you are a bit wrong here:
destruct _ as _ does not take a list of name, but a "intro pattern"[1]
which is a single object that explains how to name the differents parts
of the destructed hypothesis.

However, I don't know how to handle them in Ltac, sorry.

Cheers,
Vincent




[1] 
http://coq.inria.fr/refman/Reference-Manual011.html#@tactic82



Archive powered by MhonArc 2.6.16.

Top of Page