Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Automatically unfolding simple definitions

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Automatically unfolding simple definitions


chronological Thread 
  • From: Sean Wilson <sean.wilson AT ed.ac.uk>
  • To: Coq-Club <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] Automatically unfolding simple definitions
  • Date: Fri, 11 Jul 2008 12:24:24 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
  • Organization: School of Informatics, The University of Edinburgh

On Friday 11 July 2008 10:35:18 Stéphane Glondu wrote:
> Sean Wilson wrote:
> > Definition permutation x y := forall n, count n x = count n y.
> >
> > In my domain, it is normally required that all 'simple' definitions like
> > this (i.e. non-recursive functions) be unfolded first for my automation
> > to work. As a simple example of what I need, given this definition:
>
> Have you tried "Hint Unfold permutation." after your definition?

Hi,

I was looking for a way for this to happen automatically without me having to 
explicitly name definitions. It isn't a huge burden on the user to identify 
such terms, but I wanted to remove the need for such hints if possible. I 
suppose another approach is to have the machine identify definitions that are 
suitable as unfold hints and automatically add them as unfold hints at the 
point such definitions are entered into Coq. I could then use  
Matthieu's "autosimpl" to unfold them.

Thanks,

Sean





Archive powered by MhonArc 2.6.16.

Top of Page