Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Hints and the crush tactic

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Hints and the crush tactic


chronological Thread 
  • 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.



Archive powered by MhonArc 2.6.16.

Top of Page