From Semantics to Types: the Case of the Imperative lambda-Calculus

12/28/2021
by   Ugo de'Liguoro, et al.
0

We propose an intersection type system for an imperative lambda-calculus based on a state monad and equipped with algebraic operations to read and write to the store. The system is derived by solving a suitable domain equation in the category of omega-algebraic lattices; the solution consists of a filter-model generalizing the well-known construction for ordinary lambda-calculus. Then the type system is obtained out of the term interpretations into the filter-model itself. The so obtained type system satisfies the "type-semantics" property, and it is sound and complete by construction.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/03/2021

Intersection Types for a Computational Lambda-Calculus with Global State

We study the semantics of an untyped lambda-calculus equipped with opera...
research
07/12/2019

Type Assignment for the Computational lambda-Calculus

We study polymorphic type assignment systems for untyped lambda-calculi ...
research
07/12/2019

Intersection Types for the Computational lambda-Calculus

We study polymorphic type assignment systems for untyped lambda-calculi ...
research
04/18/2019

Realizability in the Unitary Sphere

In this paper we present a semantics for a linear algebraic lambda-calcu...
research
05/01/2023

The algebraic λ-calculus is a conservative extension of the ordinary λ-calculus

The algebraic λ-calculus is an extension of the ordinary λ-calculus with...
research
10/11/2022

Stateful Realizers for Nonstandard Analysis

In this paper we propose a new approach to realizability interpretations...
research
07/09/2023

Type-Preserving Compilation of Class-Based Languages

The Dependent Object Type (DOT) calculus was designed to put Scala on a ...

Please sign up or login with your details

Forgot password? Click here to reset