Skip to Content.
Sympa Menu

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

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] target polymorphic tactics


Chronological Thread 
  • From: Ilya Sergey <ilya.sergey AT imdea.org>
  • To: coq-club AT inria.fr, Kirill Taran <kirill.t256 AT gmail.com>
  • Subject: Re: [Coq-Club] target polymorphic tactics
  • Date: Mon, 18 Aug 2014 17:27:44 +0200


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 *)
    ... .

If the only purpose of the tactic is to do rewriting by propositional equality then I'd recommend to take a look at SSReflect's extended rewriting, as it seem to do exactly what you need, namely, perform rewriting in an arbitrary number of hypotheses and (optionally) a goal.

Cheers,
Ilya




Archive powered by MHonArc 2.6.18.

Top of Page