coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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.
>
>
>
>
>
- Re: [Coq-Club] Impredicative [ Set ], (continued)
- Re: [Coq-Club] Impredicative [ Set ], Gregory Malecha
- Re: [Coq-Club] Impredicative [ Set ], Vladimir Voevodsky
- Re: [Coq-Club] Impredicative [ Set ], Pierre Courtieu
- [Coq-Club] messy behavior with universes, Vladimir Voevodsky
- [Coq-Club] Re: [coqdev] messy behavior with universes, Tom Prince
- [Coq-Club] Re: [coqdev] messy behavior with universes, Vladimir Voevodsky
- [Coq-Club] an issue with notations, Vladimir Voevodsky
- [Coq-Club] a problem with canonical structures, Vladimir Voevodsky
- Re: [Coq-Club] a problem with canonical structures, Cyril Cohen
- [Coq-Club] Another question, Vladimir Voevodsky
- Re: [Coq-Club] Another question, Vincent Siles
- Re: [Coq-Club] an issue with notations, Hugo Herbelin
- Re: [Coq-Club] an issue with notations, Vladimir Voevodsky
- Re: [Coq-Club] an issue with notations, Tom Prince
- Re: [Coq-Club] Impredicative [ Set ], Alexandre Pilkiewicz
- Re: [Coq-Club] Guard Condition, Frederic Blanqui
Archive powered by MhonArc 2.6.16.