coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Nadeem Abdul Hamid <nadeem AT acm.org>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] OCaml tactics
- Date: Thu, 09 Oct 2003 16:36:51 -0400
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
- Organization: Yale University
Hi,
How does one go about writing tactics for Coq at the OCaml level? I've looked through the /tactics directory in the source distribution but don't know really where to get started.
Maybe a complete example would be helpful. For example, take the simple tactic below:
< Tactic Definition ElimEx hyp var := Elim hyp; Clear hyp; Intros var hyp.
which applies to a hypothesis of form:
H: (EX m:nat | P(m))
< ElimEx H m.
would result in:
m: nat
H: P(m)
Now, instead of doing this in the toplevel tactic language of Coq, how could you write the same tactic in OCaml and what tools do you use to load it into the toplevel.
Thanks for your help,
--- nadeem
- [Coq-Club] OCaml tactics, Nadeem Abdul Hamid
- Re: [Coq-Club] OCaml tactics,
Cuihtlauac ALVARADO
- Re: [Coq-Club] OCaml tactics, Cuihtlauac ALVARADO
- <Possible follow-ups>
- Re: [Coq-Club] OCaml tactics, Yves Bertot
- Re: [Coq-Club] OCaml tactics,
Cuihtlauac ALVARADO
Archive powered by MhonArc 2.6.16.