Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] user-defined tactic in some hypothesis

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] user-defined tactic in some hypothesis


chronological Thread 
  • From: frederic.blanqui AT loria.fr
  • To: Andrew McCreight <continuation AT gmail.com>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] user-defined tactic in some hypothesis
  • Date: Fri, 30 May 2008 11:08:43 +0200 (CEST)
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Thu, 29 May 2008, Andrew McCreight wrote:

This might not be quite what you are looking for, but you can manually
define a variant of your tactic with "in" using Tactic Notation.

For a number of examples, look here:

http://logical.futurs.inria.fr/cocorico/Folding%20tactics

thank you very much for this tip. unfortunately, it does not work:

Ltac mytac := ...

Tactic Notation "mytac" "in" ident(H) := ...

after this tactic definition, it seems that "mytac" must always be followed by "in". otherwise we get a syntax error.

in built-in tactics, the "in" is optional...





Archive powered by MhonArc 2.6.16.

Top of Page