DeepAI AI Chat
Log In Sign Up

Computational Adequacy for Substructural Lambda Calculi

05/11/2020
by   Vladimir Zamdzhiev, et al.
0

Substructural type systems, such as affine (and linear) type systems, are type systems which impose restrictions on copying (and discarding) of variables, and they have found many applications in computer science, including quantum programming. We describe one linear and one affine type systems and we formulate abstract categorical models for both of them which are sound and computationally adequate. We also show, under basic assumptions, that interpreting lambda abstractions via a monoidal closed structure (a popular method for linear type systems) necessarily leads to degenerate and inadequate models for call-by-value affine type systems, so we avoid doing this in our categorical treatment, where a solution to this problem is clearly identified. Our categorical models are more general than linear/non-linear models used to study linear logic and we present a homogeneous categorical account of both linear and affine type systems in a call-by-value setting. We also give examples with many concrete models, including classical and quantum ones.

READ FULL TEXT

page 1

page 2

page 3

page 4

01/19/2020

Semantics for first-order affine inductive data types via slice categories

Affine type systems are substructural type systems where copying of info...
06/22/2019

LNL-FPC: The Linear/Non-linear Fixpoint Calculus

We describe a type system with mixed linear and non-linear recursive typ...
06/22/2019

Mixed Linear and Non-linear Recursive Types

We describe a type system with mixed linear and non-linear recursive typ...
10/21/2019

Quantum Programming with Inductive Datatypes: Causality and Affine Type Theory

Inductive datatypes in programming languages allow users to define usefu...
02/02/2021

Conditional distributions for quantum systems

Conditional distributions, as defined by the Markov category framework, ...
08/26/2019

The Identification Problem for Linear Rational Expectations Models

We consider the problem of the identification of stationary solutions to...
03/31/2022

An Affine Type System with Hindley-Milner Style Type Inference

This article first provides an algorithm W based type inference algorith...