coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Arnaud Spiwack <aspiwack AT lix.polytechnique.fr>
- To: Keiko Nakata <keiko AT kurims.kyoto-u.ac.jp>
- Cc: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] Add Relation sequence bisimilar
- Date: Mon, 4 May 2009 13:50:15 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=xeZW3RbS2wVGbc6izNI0okefBr4RSce9+eNOs3Sr6W5MAv10XKwt4C3RfDOPS9z9kE zOWboobL3E8GqgLwlXBdM3hUtmyU7ne6uo1yyI8ic3Bk7BAqxN0VlkUHSXMG25zrvPdj z1PQ8fXkvgxCAyVUGdTgmgxC+7czSDRnEkEP0=
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
I am specifically interested in colists, i.e., potentially infinite lists
with Nil and Cons constructors; records seem to me a less natural
representation for colists. What I imagine is something like:
CoInductive Colists (A:Type) := { hd : A ; tl : Option (Colists A) }
This should work perfectly.
> - Do not use destruct or case or intros [ ] or whatever similar on a string
> object
When I deduce a coinductive property by coinduction,
I case analyze a coinductive object to get a constructor,
therefore to get a guarded coinduction. If I cannot move to records,
the absence of case and the likes sounds restrictive. Am I correct?
It might be. CoInductive defined as sums are difficult (if possible) to manipulate without pattern matching, it is fairly unclear to me how one could manipulate a CoInductive with several constructors. It is usually possible to encode them into records like you did for CoLists, but it's not necessarily satisfactory.
Arnaud
Arnaud
- Re: [Coq-Club] Add Relation sequence bisimilar, Arnaud Spiwack
- Re: [Coq-Club] Add Relation sequence bisimilar,
Keiko Nakata
- Re: [Coq-Club] Add Relation sequence bisimilar, Arnaud Spiwack
- Re: [Coq-Club] Add Relation sequence bisimilar, Eduardo Gimenez
- Re: [Coq-Club] Add Relation sequence bisimilar,
Eduardo Gimenez
- RE: [Coq-Club] Add Relation sequence bisimilar,
Georges Gonthier
- Re: [Coq-Club] Add Relation sequence bisimilar,
Keiko Nakata
- Re: [Coq-Club] Add Relation sequence bisimilar, Keiko Nakata
- Re: [Coq-Club] Add Relation sequence bisimilar,
Keiko Nakata
- RE: [Coq-Club] Add Relation sequence bisimilar,
Georges Gonthier
- Re: [Coq-Club] Add Relation sequence bisimilar,
Keiko Nakata
Archive powered by MhonArc 2.6.16.