coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adam AT chlipala.net>
- To: Gyesik Lee <gslee AT ropas.snu.ac.kr>
- Cc: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] match goal with "match ... with"
- Date: Fri, 02 Jul 2010 09:19:03 -0400
Gyesik Lee wrote:
For now, you need to supply every pattern-match case, in enough detail toDoes this mean that
make clear which type you're matching on. It gets bothersomely verbose and
prevents genericity, but it makes some sense if you look at the internal
representation of Gallina terms.
can be used only in a proof, and not as a standing-alone tactic with a name?match goal with
| |- context [ match ?T with | _ => _ end ] => idtac
end
That Ltac code is not legal anywhere, with or without a name. Try it and you'll see.
- [Coq-Club] match goal with "match ... with", Gyesik Lee
- Re: [Coq-Club] match goal with "match ... with",
Adam Chlipala
- Re: [Coq-Club] match goal with "match ... with",
Gyesik Lee
- Re: [Coq-Club] match goal with "match ... with", Adam Chlipala
- Re: [Coq-Club] match goal with "match ... with",
Gyesik Lee
- Re: [Coq-Club] match goal with "match ... with",
Adam Chlipala
Archive powered by MhonArc 2.6.16.