coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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
- [Coq-Club] target polymorphic tactics, Kirill Taran, 08/18/2014
- Re: [Coq-Club] target polymorphic tactics, Jason Gross, 08/18/2014
- Re: [Coq-Club] target polymorphic tactics, Ilya Sergey, 08/18/2014
Archive powered by MHonArc 2.6.18.