coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Yves Bertot <Yves.Bertot AT sophia.inria.fr>
- To: Robin Green <greenrd AT greenrd.org>
- Cc: Coq-club list <coq-club AT pauillac.inria.fr>
- Subject: Re: [Coq-Club] odd termination issue
- Date: Sun, 17 Feb 2008 12:18:56 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Robin Green wrote:
On Sat, 16 Feb 2008 22:14:46 -0500Actually, my experience differs: mutual recursive definitions work only when the inductive types
Robert Dockins
<robdockins AT fastmail.fm>
wrote:
It's pretty
counterintuitive to me that Coq is willing to look "through" a
previously defined function to discover properly formed recursive
calls but not through a function defined by mutual recursion.
I'd imagine this is because two or more functions defined together by
mutual recursion have to be both accepted as valid (including
terminating) before either of them can be accepted as valid (if you
see what I mean); thus, Coq won't unfold one of them in checking the
other.
that serve as main structure for the functions were defined simultaneously in a mutual inductive
definition. It is not the case here: list and prod were defined before ex1. So it is not a matter of
accepting to look through a function or not.
Yves
- [Coq-Club] odd termination issue, Robert Dockins
- Re: [Coq-Club] odd termination issue,
Brian Aydemir
- Re: [Coq-Club] odd termination issue,
Robert Dockins
- Re: [Coq-Club] odd termination issue,
Robin Green
- Re: [Coq-Club] odd termination issue, Yves Bertot
- Re: [Coq-Club] odd termination issue,
Robin Green
- Re: [Coq-Club] odd termination issue,
Robert Dockins
- Re: [Coq-Club] odd termination issue,
Brian Aydemir
Archive powered by MhonArc 2.6.16.