English

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

Programming Languages 2022-02-25 v1 Logic in Computer Science

Abstract

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.

Keywords

Cite

@article{arxiv.2112.14053,
  title  = {From Semantics to Types: the Case of the Imperative lambda-Calculus},
  author = {Ugo de'Liguoro and Riccardo Treglia},
  journal= {arXiv preprint arXiv:2112.14053},
  year   = {2022}
}

Comments

In Proceedings MFPS 2021, arXiv:2112.13746. arXiv admin note: substantial text overlap with arXiv:2104.01358

R2 v1 2026-06-24T08:33:27.016Z