Two Light Modalities for Recursion

12/31/2017
by   Paula Severi, et al.
0

We investigate the interplay between two modalities for controlling the behaviour of recursive functional programs on infinite structures which are completely silent in the syntax. The latter means that programs do not contain "marks" showing the application of the introduction and elimination rules for the modalities. This shifts the burden of controlling recursion from the programmer to the compiler. To do this, we introduce a typed lambda calculus a la Curry with two silent modalities and guarded recursive types. The first modality delays the data while the second one removes the delays. The typing discipline guarantees normalisation and can be transformed into an algorithm which infers the type of a program.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/31/2017

A Light Modality for Recursion

We investigate the interplay between a modality for controlling the beha...
research
08/08/2023

Semantic Analysis of Subexponential Modalities in Distributive Non-commutative Linear Logic

In this paper, we consider the full Lambek calculus enriched with subexp...
research
06/16/2020

Grading Adjoint Logic

We introduce a new logic that combines Adjoint Logic with Graded Necessi...
research
07/01/2021

Efficient Tree-Traversals: Reconciling Parallelism and Dense Data Representations

Recent work showed that compiling functional programs to use dense, seri...
research
04/18/2019

Behavioural Equivalence via Modalities for Algebraic Effects

The paper investigates behavioural equivalence between programs in a cal...
research
12/13/2022

Data Layout from a Type-Theoretic Perspective

The specifics of data layout can be important for the efficiency of func...
research
04/08/2020

Putting a Spin on Language: A Quantum Interpretation of Unary Connectives for Linguistic Applications

Extended versions of the Lambek Calculus currently used in computational...

Please sign up or login with your details

Forgot password? Click here to reset