coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Cedric Auger <sedrikov AT gmail.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Feature request
- Date: Thu, 24 Apr 2014 13:48:46 +0200
I don’t know if that would help you, but you should be able to do:
change (x^2) with ((fun x => x^2) x).
With Ltac and tactic Notations, there may be a way to implement your "pattern2" with that.
change (x^2) with ((fun x => x^2) x).
With Ltac and tactic Notations, there may be a way to implement your "pattern2" with that.
2014-04-23 12:30 GMT+02:00 Kate and James Candy <jacinabox AT hotmail.com>:
Lately I've been wishing for a smarter pattern tactic, that can be made to do its work in a subterm of the goal. For example, if the goal is (P (x ^ 2 * exp x)), I could do pattern2 (x ^ 2) x and get the goal (P ((fun x => x ^ 2) x * exp x)).
--jacinabox
--
.../Sedrikov\...
- [Coq-Club] Feature request, Kate and James Candy, 04/24/2014
- Re: [Coq-Club] Feature request, Cedric Auger, 04/24/2014
- Re: [Coq-Club] Feature request, Jason Gross, 04/24/2014
- Re: [Coq-Club] Feature request, Cedric Auger, 04/24/2014
Archive powered by MHonArc 2.6.18.