Linear Recursion
author: Sandra Alves [1 University of Porto , Faculty of Science & LIACC , R. do Campo Alegre 1021/55 , 4169-007 , Porto , Portugal] Faculty of Science & LIACC University of Porto Campo Alegre 1021/55 4169-00; Maribel Fernández [2 King's College London , Department of Informatics Strand , London WC2R 2LS , U.K.] Department of Informatics Strand King's College London WC2R 2LS London U.K; Mário Florido [1 University of Porto , Faculty of Science & LIACC , R. do Campo Alegre 1021/55 , 4169-007 , Porto , Portugal] Faculty of Science & LIACC University of Porto Campo Alegre 1021/55 4169-0; Ian Mackie [3 LIX , CNRS UMR 7161 , École Polytechnique 91128 Palaiseau Cedex , France] LIX UMR 7161 CNRS 91128 Palaiseau Cedex École Polytechnique France
source date: 25 Nov 2016
edition published: 25 Nov 2016
language: en

We define two extensions of the typed linear lambda-calculus that yield minimal Turingcomplete systems. The extensions are based on unbounded recursion in one case, and bounded recursion with minimisation in the other. We show that both approaches are compatible with linearity and typeability constraints. Both extensions of the typed linear lambda-calculus are minimal, in the sense that taking out any of the components breaks the universality of the system. We discuss implementation techniques that exploit the linearity of the calculi. Finally, we apply the results to languages with fixpoint operators: we give a compilation of the programming language PCF into a linear lambda-calculus with linear unbounded recursion.