coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adam AT chlipala.net>
- To: Michael Day <mikeday AT yeslogic.com>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Hints and the crush tactic
- Date: Tue, 30 Mar 2010 07:50:43 -0400
Michael Day wrote:
Oh, do you have any suggestion as to how to make crush apply app_eq_nil in hypotheses using hints by any chance? :)
No. Ltac isn't expressive enough to let the user define new notions of hint, since you need some imperativity to roll your own such facility. The best technique I've found is to parametrize a tactic by another tactic that should be called repeatedly to do "forward mode" simplifications. Barring performance concerns, a loop like [repeat progress (crush; yourtac)] achieves the same outcome.
- Re: [Coq-Club] Hints and the crush tactic, (continued)
- Re: [Coq-Club] Hints and the crush tactic,
Adam Koprowski
- Re: [Coq-Club] Hints and the crush tactic,
Michael Day
- Re: [Coq-Club] Hints and the crush tactic, Michael Day
- Re: [Coq-Club] Hints and the crush tactic,
Adam Koprowski
- Re: [Coq-Club] Hints and the crush tactic,
Michael Day
- Re: [Coq-Club] Hints and the crush tactic,
Adam Koprowski
- Re: [Coq-Club] Hints and the crush tactic,
Michael Day
- Re: [Coq-Club] Hints and the crush tactic, Adam Koprowski
- Re: [Coq-Club] Hints and the crush tactic, Adam Chlipala
- Re: [Coq-Club] Hints and the crush tactic, Michael Day
- Re: [Coq-Club] Hints and the crush tactic, Adam Chlipala
- Re: [Coq-Club] Hints and the crush tactic, Matthieu Sozeau
- Re: [Coq-Club] Hints and the crush tactic,
Michael Day
- Re: [Coq-Club] Hints and the crush tactic,
Adam Koprowski
- Re: [Coq-Club] Hints and the crush tactic,
Michael Day
- Re: [Coq-Club] Hints and the crush tactic,
Michael Day
- Re: [Coq-Club] Hints and the crush tactic,
Adam Koprowski
Archive powered by MhonArc 2.6.16.