Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Prefixes of a vector

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Prefixes of a vector


chronological Thread 
  • From: "Samuel E. Moelius III" <moelius AT cis.udel.edu>
  • To: coq-club AT pauillac.inria.fr
  • Cc: Adam Chlipala <adamc AT hcoop.net>, Venanzio Capretta <venanzio AT cs.ru.nl>
  • Subject: Re: [Coq-Club] Prefixes of a vector
  • Date: Wed, 20 Aug 2008 11:12:30 -0400
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Wednesday, August 20, 2008, at 09:23  AM, Adam Chlipala wrote:

Venanzio Capretta wrote:
I agree with you: For the prefix function, it seems that your recursive implementation of vectors is much nicer that the inductive one. But is it always preferable.

I don't have a formal argument, but I think it's likely that the recursive version is never any worse than the inductive version, and we have this example where the recursive version seems much easier to work with.

What about in a more general setting? Does anyone know of an example of type family which can be easily expressed/manipulated as an inductive definition, but cannot be so easily expressed/manipulated as a recursive definition?

Thanks to all who have replied, BTW.

Sam





Archive powered by MhonArc 2.6.16.

Top of Page