Algebras and Coalgebras in the Light Affine Lambda Calculus

被引:0
|
作者
Gaboardi, Marco [1 ]
Pechoux, Romain [2 ]
机构
[1] Univ Dundee, Dundee DD1 4HN, Scotland
[2] Univ Lorraine, Nancy, France
关键词
implicit computational complexity; algebra and coalgebra; light logics; LOGIC;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Algebra and coalgebra are widely used to model data types in functional programming languages and proof assistants. Their use permits to better structure the computations and also to enhance the expressivity of a language or of a proof system. Interestingly, parametric polymorphism a la System F provides a way to encode algebras and coalgebras in strongly normalizing languages without losing the good logical properties of the calculus. Even if these encodings are sometimes unsatisfying because they provide only limited forms of algebras and coalgebras, they give insights on the expressivity of System F in terms of functions that we can program in it. With the goal of contributing to a better understanding of the expressivity of Implicit Computational Complexity systems, we study the problem of defining algebras and coalgebras in the Light Affine Lambda Calculus, a system characterizing the complexity class FPTIME. This system limits the computational complexity of programs but it also limits the ways we can use parametric polymorphism, and in general the way we can write our programs. We show here that while the restrictions imposed by the Light Affine Lambda Calculus pose some issues to the standard System F encodings, they still permit to encode some form of algebra and coalgebra. Using the algebra encoding one can define in the Light Affine Lambda Calculus the traditional inductive types. Unfortunately, the corresponding coalgebra encoding permits only a very limited form of coinductive data types. To extend this class we study an extension of the Light Affine Lambda Calculus by distributive laws for the modality . This extension has been discussed but not studied before.
引用
收藏
页码:114 / 126
页数:13
相关论文
共 50 条
  • [21] On coalgebras over algebras
    Balan, A.
    Kurz, A.
    THEORETICAL COMPUTER SCIENCE, 2011, 412 (38) : 4989 - 5005
  • [22] On Coalgebras over Algebras
    Balan, Adriana
    Kurz, Alexander
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2010, 264 (02) : 47 - 62
  • [23] On coalgebras which are algebras
    Porst, HE
    Dzierzon, C
    CATEGORICAL STRUCTURES AND THEIR APPLICATIONS, 2004, : 227 - 235
  • [24] GENERALIZED DUAL COALGEBRAS OF ALGEBRAS, WITH APPLICATIONS TO COFREE COALGEBRAS
    BLOCK, RE
    LEROUX, P
    JOURNAL OF PURE AND APPLIED ALGEBRA, 1985, 36 (01) : 15 - 21
  • [25] Non-uniform Polytime Computation in the Infinitary Affine Lambda-Calculus
    Mazza, Damiano
    AUTOMATA, LANGUAGES, AND PROGRAMMING (ICALP 2014), PT II, 2014, 8573 : 305 - 317
  • [26] A Functorial Bridge Between the Infinitary Affine Lambda-Calculus and Linear Logic
    Mazza, Damiano
    Pellissier, Luc
    THEORETICAL ASPECTS OF COMPUTING - ICTAC 2015, 2015, 9399 : 144 - 161
  • [27] APPLICATIONS OF COALGEBRAS TO GROUP ALGEBRAS
    ROSENBERG, A
    PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY, 1975, 52 (OCT) : 109 - 112
  • [28] Light types for polynomial time computation in lambda calculus
    Baillot, Patrick
    Terui, Kazushige
    INFORMATION AND COMPUTATION, 2009, 207 (01) : 41 - 62
  • [29] LIGHT LOGICS AND THE CALL-BY-VALUE LAMBDA CALCULUS
    Coppola, Paolo
    Dal Lago, Ugo
    Della Rocca, Simona Ronchi
    LOGICAL METHODS IN COMPUTER SCIENCE, 2008, 4 (04)
  • [30] The duality between algebras and coalgebras
    Nichita F.F.
    Schack S.D.
    Annali dell’Università di Ferrara, 2005, 51 (1): : 173 - 181