coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Bas Spitters <spitters AT cs.kun.nl>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] "For some" tactic
- Date: Wed, 07 Aug 2002 16:06:09 +0200
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Dear Coq-users.
I want to define a "for some" tactic, which should do the following:
For_Some t (P t)
introduces a new variable t and adds (P t) as an hypothesis.
When I do this naively:
Assert ( EX t | (P t));Pick t. [Pick is a previously defined tactic].
and I try For_Some t '(P t) coq complains that t was not defined.
So, maybe, I should try doing something like For_Some [t](P t) and use
pattern matching to get what I want, but apparently it is not allowed to
pass a term to a user-defined tactic.
Although, I can do this with Apply for instance.
Am I mistaken?
Thanks in advance,
Bas Spitters
- [Coq-Club] "For some" tactic, Bas Spitters
- Re: [Coq-Club] "For some" tactic,
Hugo Herbelin
- Re: [Coq-Club] "For some" tactic,
Bas Spitters
- Re: [Coq-Club] "For some" tactic, Hugo Herbelin
- Re: [Coq-Club] "For some" tactic,
Bas Spitters
- Re: [Coq-Club] "For some" tactic,
Hugo Herbelin
Archive powered by MhonArc 2.6.16.