Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Co-inductive Streams vs. Functions

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Co-inductive Streams vs. Functions


Chronological Thread 
  • From: Benedikt Ahrens <benedikt.ahrens AT gmx.net>
  • To: coq-club AT inria.fr, westbrook AT kestrel.edu
  • Subject: Re: [Coq-Club] Co-inductive Streams vs. Functions
  • Date: Fri, 11 Dec 2015 19:37:49 -0500
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=benedikt.ahrens AT gmx.net; spf=Pass smtp.mailfrom=benedikt.ahrens AT gmx.net; spf=None smtp.helo=postmaster AT mout.gmx.net
  • Ironport-phdr: 9a23:JGZSzhJTkrNabkWQGtmcpTZWNBhigK39O0sv0rFitYgUL/XxwZ3uMQTl6Ol3ixeRBMOAu6wC07KempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lRMiK14ye7KObxd76W01wnj2zYLd/fl2djD76kY0ou7ZkMbs70RDTo3FFKKx8zGJsIk+PzV6nvp/jtM0rzyMFsPU4ssVETK/SfqIiTLUeAi5ie384/9Hhrx7ETiOM62AASGgS1BdEHlvr9hb/C738tCb2t+lhkACaJ8DwVvhgUzmk4qtqSwOugScdOjgi2G7Smop2gb4N80HpnAB234OBONLdD/F5ZK6IJd4=


Dear Eddy,

maybe this article

http://drops.dagstuhl.de/opus/volltexte/2015/5152/

answers some of your questions.

Best,
Benedikt

On 12/11/2015 05:39 PM, Eddy Westbrook wrote:
> Thorsten,
>
> The theoretical reason I don’t like co-inductive types is that they
> require some notion of an infinite term in the meta-language. This
> leads to all sorts of issues in formalizing the meta-theory of a
> system. But maybe you know how to get around these issues? A
> translation like you suggest, that defines co-inductive types in
> terms of constructs already in the system, would be a great help in
> this direction.
>
> I will admit that I don’t quite understand everything you said in
> complete detail, but it sounds at a high level like you are basically
> saying that positive functors have greatest fixed-points, for the
> usual reason of being continuous. I buy this. But I at least would be
> interested to see more of the details of how to actually do this in
> type theory.
>
> For instance, I imagine that directly formalizing the terminal
> coalgebra of a positive functor would lead to some trickiness with
> universes, and same thing with taking the omega-limit of a type
> functor. I could be wrong, but if not, you would probably have to do
> this part on paper, defining a translation from a given positive
> functor to the type of its terminal coalgebra. It would be especially
> neat if this somehow yielded the results you gave in the examples you
> mentioned; i.e., if you could run it on the stream type and get nat
> functions, and if you could run it on the colist type and get the nat
> -> maybe A type you described.
>
> As for W-types, I thought they were well-founded? I.e., inductive,
> and not co-inductive?
>
> -Eddy



Archive powered by MHonArc 2.6.18.

Top of Page