Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] any ways to make this definition working with [simpl] ?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] any ways to make this definition working with [simpl] ?


Chronological Thread 
  • From: Gregory Malecha <gmalecha AT cs.harvard.edu>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] any ways to make this definition working with [simpl] ?
  • Date: Thu, 25 Sep 2014 07:44:12 -0400

Hi, Omer --

This line will do it for you:

Arguments fin_to_nat !n !f /.

It is using the customization to simpl features added in 8.4pl4. They are documented here: http://coq.inria.fr/coq/refman/Reference-Manual010.html#hevea_tactic135

On Thu, Sep 25, 2014 at 4:48 AM, Ömer Sinan Ağacan <omeragacan AT gmail.com> wrote:
I have these two definitions: http://lpaste.net/111596 . If you try to
run this program, you'll realize that in line 13 the term is not
simplified, while in line 14 it's simplified to "3". Is it possible to
make first definition working with simpl, without giving away tactics?

Thanks..

---
Ömer Sinan Ağacan
http://osa1.net



--
gregory malecha



Archive powered by MHonArc 2.6.18.

Top of Page