Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Another question

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Another question


chronological Thread 
  • From: Vincent Siles <vincent.siles AT ens-lyon.org>
  • To: Vladimir Voevodsky <vladimir AT ias.edu>
  • Cc: Coq-Club Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Another question
  • Date: Sun, 17 Apr 2011 22:56:43 +0200

Yes, you can use intro pattern to do this.
For example, if you are destructing a list, you can write

destruct l as [ | hd tl ].

which means: destruct l. For the first constructor, do nothgin, for
the second, do 2 introductions
with the names hd and tl.

Cheers,
Vincent


2011/4/17 Vladimir Voevodsky 
<vladimir AT ias.edu>:
> Is it possible to tell the "destruct" tactic  which names to choose for the 
> new variables which it introduces?
>
> Thanks!
> Vladimir.
>
>
>
>
>




Archive powered by MhonArc 2.6.16.

Top of Page