Hostname: page-component-8448b6f56d-cfpbc Total loading time: 0 Render date: 2024-04-24T10:11:09.386Z Has data issue: false hasContentIssue false

Type assignment and termination of interaction nets

Published online by Cambridge University Press:  01 December 1998

MARIBEL FERNÁNDEZ
Affiliation:
LIENS (CNRS URA 1327), École Normale Supérieure, 45 Rue d'Ulm, 75005 Paris, France. Email: maribel@dmi.ens.fr

Abstract

Interaction nets have proved to be a useful tool for the study of computational aspects of various formalisms (e.g. λ-calculus, term rewriting systems), but they are also a programming paradigm in themselves, and this is actually how they were introduced by Lafont. In this paper we consider semi-simple interaction nets as a programming language, and present a type assignment system using intersection types. First we show that interactions preserve types (i.e., the system enjoys subject reduction), and we compare this type assignment system with the intersection systems for λ-calculus and term rewriting systems. Then we define a recursion scheme that ensures termination of all interaction sequences. By relaxing the scheme and using the type assignment system, we derive another sufficient condition for termination of interaction nets. Finally, we show that although the type system based on general intersection types is not decidable, its restriction to rank 2 types is, and we give an algorithm that computes principal types for nets.

Type
Research Article
Copyright
© 1998 Cambridge University Press

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)