arrow
Return

Monadic Intersection Types, Relationally, and Ordered

delete2025-12-01
delete0
PRE
AI
Z
Zeinab Galal
F
Francesco Gavazzo
R
Riccardo Treglia
G
Gabriele Vanoni *
DOI:10.1145/3777483delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We extend intersection types to a computational A-calculus with algebraic operations & agrave; la Plotkin and Power. We achieve this by considering monadic intersections-whereby computational effects appear not only in the operational semantics but also in the type system. Since in the effectful setting, termination is not anymore the only property of interest, we want to analyze the interactive behavior of typed programs with the environment. Indeed, our type system can characterize the natural notion of observation, both in the finitary and in the infinitary setting. In a second phase, we extend our system with subtyping to incorporate a richer class of effects via monads on preorders instead of sets allowing us to model in particular non-determinism. The main technical tool is a novel combination of syntactic techniques with abstract relational reasoning, which allows us to lift all the required notions, for example, of typability and logical relation, to the monadic setting.
Keywords:
intersection types
relations
monads
algebraic effects
subtyping
non-determinism

Journal

A
ACM Transactions on Programming Languages and Systems
IF:
1.6
Papers:
10
Citations:
0

Organization

U
universita telematica mercatorum
Scholars:
223
Papers: 270
Citations: 1
C
centre national de la recherche scientifique (cnrs)
Scholars:
24.5W
Papers: 18.2W
Citations: 279
U
University of Padua
Scholars:
5.1W
Papers: 4.3W
Citations: 57
K
kyoto university
Scholars:
7.6K
Papers: 3.0K
Citations: 0
researcher View more organizations