Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Problem with tactics...

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Problem with tactics...


chronological Thread 
  • From: Benjamin GREGOIRE <Benjamin.Gregoire AT inria.fr>
  • To: Romain Janvier <Romain.Janvier AT imag.fr>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Problem with tactics...
  • Date: Tue, 25 Feb 2003 17:07:45 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Romain Janvier wrote:

I want to write something like that in a tactic:

Tactic Definition tac:=
Match Context With
...
|[id: (EX ?1| ?2)|-?3] -> Induction id
...

Try :
Tactic Definition tac:=
Match Context With
.....
| [id : (ex ?1 ?2) |- ?] -> Induction id
.....




Want I give that to Coq, it thinks that the "|" after EX means that I'm trying to describe another case.

So How can I do to write a tactic that eliminate EX in the hypothesis?

--------------------------------------------------------
Bug reports: http://coq.inria.fr/bin/coq-bugs
Archives: http://pauillac.inria.fr/pipermail/coq-club
         http://pauillac.inria.fr/bin/wilma/coq-club
Info: http://pauillac.inria.fr/mailman/listinfo/coq-club








Archive powered by MhonArc 2.6.16.

Top of Page