COMPARING HAGINO CATEGORICAL PROGRAMMING LANGUAGE AND TYPED LAMBDA-CALCULI

被引:0
|
作者
DYBKJAER, H [1 ]
MELTON, A [1 ]
机构
[1] KANSAS STATE UNIV AGR & APPL SCI, DEPT COMP & INFORMAT SCI, MANHATTAN, KS 66506 USA
关键词
Categorical programming languages - CPL (language) - Lambda calculus - Natural number functions - Typed Lambda calculi;
D O I
10.1016/0304-3975(93)90186-W
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Hagino (1987) develops CPL, a categorical programming language based on dialgebras which include algebras, coalgebras, products, sums and exponentials. We give an introduction to dialgebras and CPL. Working from the well-known correspondence between cartesian closed categories (CCCs) and lambda-calculi (Lambek, 1980, Curien, 1986), we study the relationship between CPL and F1, Church's simply typed lambda-calculus. We show that the reduction rules of CPL correspond to beta-reduction in first-order contexts. Iteration over inductive types may be added to F1, obtaining F(i)1 (Pierce et al., 1989). We show how to represent F(i)1 inductive types in CPL. Thus Ackermann's function is in CPL. We argue that all natural number functions N --> N provably total in first-order arithmetic can be expressed in CPL.
引用
收藏
页码:145 / 189
页数:45
相关论文
共 50 条