coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Peter Gammie <peteg42 AT gmail.com>
- To: Keiko Nakata <keiko AT kurims.kyoto-u.ac.jp>
- Cc: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] inductive predicate over infinite objects
- Date: Tue, 20 Jan 2009 21:39:44 +1100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=GgKx3om7yQmzmsN3BsDO+VfllDmkIP4Ra5/HqfH1cMTUwcoYQ98vQXDhw2yIZdnf57 35F1RHrWWZ7XQyorygGCzGi7bF7GIz8QboxtX03o66Fgue0+9qjm7g2ni3S6eMVlHntT v7UPXa4FNHvTvrh43zmL8RO4CTnRXBROGnjko=
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Keiko: at the risk of exposing my almost-complete ignorance of Coq and providing you with a non-answer, what you are asking for sounds like a variant of the "take lemma" from functional programming. You can ask Google about it; the classical reference is Bird and Wadler's textbook I think, and Graham Hutton and Jeremy Gibbons have written a paper on a generalisation they call the approx lemma. Isabelle/HOLCF has this mechanised. Their foundation is domain theory.
This is assuming P is essentially an equality. As Pierre points out your P may inductively characterise essentially infinite objects, in which case I don't know what you have in mind. Richard Bird has a theory of prefix-closed predicates over lists, etc. - again, Google is your friend.
cheers
peter
On 20/01/2009, at 8:20 PM, Keiko Nakata wrote:
Hello.
At the risk of exposing my ignorance...
Is it correct that:
Suppose P is a predicate on possibly infinite lists, e.g. LList in CoqArt,
and (P x) holds for some x.
If the definition of P only "involves" induction,
then there is a finite prefix x' of x such that (P x') holds.
Assuming it correct, what would "involves" precisely mean?
And how I might be able to state it in Coq?
With best regards,
Keiko
--------------------------------------------------------
Bug reports: http://logical.futurs.inria.fr/coq-bugs
Archives: http://pauillac.inria.fr/pipermail/coq-club
http://pauillac.inria.fr/bin/wilma/coq-club
Info: http://pauillac.inria.fr/mailman/listinfo/coq-club
--
http://peteg.org/
- [Coq-Club] inductive predicate over infinite objects, Keiko Nakata
- Re: [Coq-Club] inductive predicate over infinite objects,
Pierre Casteran
- Re: [Coq-Club] inductive predicate over infinite objects, Keiko Nakata
- Re: [Coq-Club] inductive predicate over infinite objects, Peter Gammie
- Re: [Coq-Club] inductive predicate over infinite objects, Eduardo Gimenez
- Re: [Coq-Club] inductive predicate over infinite objects,
Thorsten Altenkirch
- Re: [Coq-Club] inductive predicate over infinite objects, Keiko Nakata
- Re: [Coq-Club] inductive predicate over infinite objects,
Pierre Casteran
Archive powered by MhonArc 2.6.16.