coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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
- [Coq-Club] Prefixes of a vector, Samuel E. Moelius III
- Re: [Coq-Club] Prefixes of a vector,
Adam Chlipala
- Re: [Coq-Club] Prefixes of a vector,
Samuel E. Moelius III
- Re: [Coq-Club] Prefixes of a vector, Pierre Casteran
- Re: [Coq-Club] Prefixes of a vector,
Samuel E. Moelius III
- Re: [Coq-Club] Prefixes of a vector,
Venanzio Capretta
- Re: [Coq-Club] Prefixes of a vector,
Adam Chlipala
- Re: [Coq-Club] Prefixes of a vector,
Venanzio Capretta
- Re: [Coq-Club] Prefixes of a vector,
Adam Chlipala
- Re: [Coq-Club] Prefixes of a vector, Samuel E. Moelius III
- Re: [Coq-Club] Prefixes of a vector, Adam Chlipala
- Re: [Coq-Club] Prefixes of a vector, Samuel E. Moelius III
- Re: [Coq-Club] Prefixes of a vector,
Conor McBride
- Re: [Coq-Club] Prefixes of a vector, Matthieu Sozeau
- Re: [Coq-Club] Prefixes of a vector,
Adam Chlipala
- Re: [Coq-Club] Prefixes of a vector,
Venanzio Capretta
- Re: [Coq-Club] Prefixes of a vector,
Adam Chlipala
- Re: [Coq-Club] Prefixes of a vector,
Adam Chlipala
Archive powered by MhonArc 2.6.16.