Skip to Content.
Sympa Menu

coq-club - [Coq-Club] target polymorphic tactics

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] target polymorphic tactics


Chronological Thread 
  • From: Kirill Taran <kirill.t256 AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] target polymorphic tactics
  • Date: Mon, 18 Aug 2014 19:12:00 +0400

Hello,

Is there a way to implement tactics polymorphically
relatively to area of tactics effect?
I.e. I want to develop tactic which is possible to use either in goal
or some hypothesis (or both).

E.g. such tactic
  Ltac do_work :=
    ...
    rewrite some_eq (* in H *)
    ... .

which I want to use such way:
  ...
  do_work; do_work in H
  (* bonus: *) do_work in H, <goal>.


Sincerely,
Kirill Taran



Archive powered by MHonArc 2.6.18.

Top of Page