coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Thorsten Altenkirch <Thorsten.Altenkirch AT nottingham.ac.uk>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Co-inductive Streams vs. Functions
- Date: Thu, 10 Dec 2015 16:31:29 +0000
- Accept-language: en-US, en-GB
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=Thorsten.Altenkirch AT nottingham.ac.uk; spf=None smtp.mailfrom=Thorsten.Altenkirch AT nottingham.ac.uk; spf=None smtp.helo=postmaster AT uidappmx01.nottingham.ac.uk
- Ironport-phdr: 9a23:Yv39sRzoNKXdNrPXCy+O+j09IxM/srCxBDY+r6Qd0eIXIJqq85mqBkHD//Il1AaPBtWFrasbwLqK+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuStCU1pv8h7z60qaQSjsLrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYeVcyDAgD1uSmxHh+pX4p8Y7oGwD884mooRLVry/dKAlR5RZCi4nOiY7/oej4RLEVE6E4mYWemQQiBtBRQbfukLURJD05xf6sfBmxCScdeTyUb0yWjW45KcjHCPojz0cKzM/tkjTlsF2j6NBqxKJoRtj34/Sb4GcMbx3deXAfoVJFiJ6Qs9NWnkZUcuHZIwVAr9ZMA==
All coinductive types can be reduced to functions over the natural numbers and inductive types in an extensional setting (e.g. HoTT).
The reason is that all strictly positive functors are omega-continuous (I.e. they preserve omega-limits) and hence there is an encoding of the terminal coalgebra as an omega-limit. In the case of streams that is equivalent to the functions over Nat while
n the case of colists the representation is equivalent to functions from Nat into Maybe A with the condition that if f(I)=nothing then f(i+1)=nothing.
There is also an explicit encoding of all strictly positive types using only W-types which you find in our container papers, e.g.
@Article{alti:cont-tcs, author = {Michael Abott and Thorsten Altenkirch and Neil Ghani}, title = {Containers - Constructing Strictly Positive Types}, journal = {Theoretical Computer Science}, year = {2005}, volume = {342}, pages = {3--27}, month = {September}, note = {Applied Semantics: Selected Topics}, }
What are the theoretical reasons for not liking conductive types?
Thorsten
From: Eddy Westbrook <westbrook AT kestrel.edu>
Reply-To: "coq-club AT inria.fr" <coq-club AT inria.fr>
Date: Thursday, 10 December 2015 16:21
To: "coq-club AT inria.fr" <coq-club AT inria.fr>
Subject: Re: [Coq-Club] Co-inductive Streams vs. Functions
Reply-To: "coq-club AT inria.fr" <coq-club AT inria.fr>
Date: Thursday, 10 December 2015 16:21
To: "coq-club AT inria.fr" <coq-club AT inria.fr>
Subject: Re: [Coq-Club] Co-inductive Streams vs. Functions
I have actually thought a lot recently about modeling non-terminating systems, and have mostly come to a similar conclusion as you, that (nat-> A) equivalent to (Stream A), and that the former does not require co-inductive types (which I don't like for a number
of theoretical and practical reasons).
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
- [Coq-Club] Co-inductive Streams vs. Functions, Gregory Malecha, 12/07/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Pierre-Marie Pédrot, 12/07/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Gregory Malecha, 12/07/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Arnaud Spiwack, 12/08/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Eddy Westbrook, 12/10/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Thorsten Altenkirch, 12/10/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Daniel Schepler, 12/10/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Eddy Westbrook, 12/11/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Benedikt Ahrens, 12/12/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Gregory Malecha, 12/11/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Thorsten Altenkirch, 12/10/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Gregory Malecha, 12/07/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Emilio Jesús Gallego Arias, 12/11/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Gregory Malecha, 12/11/2015
- <Possible follow-up(s)>
- Re: [Coq-Club] Co-inductive Streams vs. Functions, CJ Bell, 12/10/2015
- Re: [Coq-Club] Co-inductive Streams vs. Functions, Pierre-Marie Pédrot, 12/07/2015
Archive powered by MHonArc 2.6.18.