Continuous Functions on Final Coalgebras

被引:7
作者
Ghani, Neil [1 ]
Hancock, Peter [1 ]
Pattinson, Dirk [2 ]
机构
[1] Univ Strathclyde, Dept Comp & Informat Sci, Glasgow, Lanark, Scotland
[2] Imperial Coll, Dept Comp Sci, London, England
关键词
Continuous functions; final coalgebras; containers;
D O I
10.1016/j.entcs.2009.07.081
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In a previous paper we gave a representation of, and simultaneously a way of programming with, continuous functions on streams, whether discrete-valued functions, or functions between streams. We also defined a combinator on the representations of such continuous functions that reflects composition. Streams are one of the simplest examples of non-trivial final coalgebras. Here we extend our previous results to cover the case of final coalgebras for a broader class of functors than that giving rise to streams. Among the functors we can deal with are those that arise from countable signatures of finite-place untyped operators. These have many applications. The topology we put on the final coalgebra for such a functor is that induced by taking for basic neighbourhoods the set of infinite objects which share a common ` prefix', a la Baire space. The datatype of prefixes is defined together with the set of ` growth points' in a prefix, simultaneously. This we call beheading. To program and reason about representations of continuous functions requires a language whose type system incorporates the dependent function and pair types, inductive definitions at types Set, I -> Set and (Sigma I : Set) Set(I), coinductive definitions at types Set and I -> Set, as well as universal arrows for such definitions.
引用
收藏
页码:3 / 18
页数:16
相关论文
共 16 条
  • [1] Containers: Constructing strictly positive types
    Abbott, M
    Altenkirch, T
    Ghani, N
    [J]. THEORETICAL COMPUTER SCIENCE, 2005, 342 (01) : 3 - 27
  • [2] Abbott M, 2004, LECT NOTES COMPUT SC, V3142, P59
  • [3] ABBOTT M, 2003, P FDN SOFTW SCI COMP
  • [4] Abbott Michael, 2004, FUNDAM INF, V65, P1
  • [5] Aehlig K, 2002, LECT NOTES COMPUT SC, V2471, P59
  • [6] Back R.-J., 1998, REFINEMENT CALCULUS
  • [7] Dummett, 2000, ELEMENTS INTUITIONIS, V39
  • [8] Indexed induction-recursion
    Dybjer, P
    Setzer, A
    [J]. JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2006, 66 (01): : 1 - 49
  • [9] Induction-recursion and initial algebras
    Dybjer, P
    Setzer, A
    [J]. ANNALS OF PURE AND APPLIED LOGIC, 2003, 124 (1-3) : 1 - 47
  • [10] NORMAL FUNCTORS, POWER-SERIES AND LAMBDA-CALCULUS
    GIRARD, JY
    [J]. ANNALS OF PURE AND APPLIED LOGIC, 1988, 37 (02) : 129 - 177