Go to:
Logótipo
Comuta visibilidade da coluna esquerda
Você está em: Start > Publications > View > Type Inference for Rank-2 Intersection Types Using Set Unification
Publication

Publications

Type Inference for Rank-2 Intersection Types Using Set Unification

Title
Type Inference for Rank-2 Intersection Types Using Set Unification
Type
Article in International Conference Proceedings Book
Year
2022
Authors
Ângelo, P
(Author)
Other
The person does not belong to the institution. The person does not belong to the institution. The person does not belong to the institution. Without AUTHENTICUS Without ORCID
Conference proceedings International
Pages: 462-480
19th International Colloquium on Theoretical Aspects of Computing, ICTAC 2022
27 September 2022 through 29 September 2022
Indexing
Publicação em ISI Web of Science ISI Web of Science
Other information
Authenticus ID: P-00X-9KQ
Abstract (EN): Several type inference approaches for rank-2 idempotent and commutative intersection types have been presented in the literature. Type inference relies on two stages: type constraint generation and solving. Defining constraint generation rules is rather straightforward, with one exception. To infer the type of an application, several derivations of the argument are required, one for each instance of the domain type of the function. The types of these derivations are then constrained against the instances. Noting that these derivations are isomorphic, by renaming of type variables, they can be obtained via a duplication operation on a single derivation of the argument. The application rule then constrains the intersection type resulting from duplication against the domain type of the function, resulting in an equality constraint between intersections. By treating intersections as sets, these constraints can be solved by solving a set unification problem, thus ensuring the types of the argument unify with the domain type of the function. Here we present a new type inference algorithm for rank-2 intersection types, which relies on set unification to solve equality constraints between intersections, and show it is both sound and complete. © 2022, The Author(s), under exclusive license to Springer Nature Switzerland AG.
Language: English
Type (Professor's evaluation): Scientific
Documents
We could not find any documents associated to the publication.
Related Publications

Of the same authors

Type Inference for Rank 2 Gradual Intersection Types (2019)
Article in International Conference Proceedings Book
Ângelo, P; Florido, M
A Typed Lambda Calculus with Gradual Intersection Types (2022)
Article in International Conference Proceedings Book
Ângelo, P; Florido, M
Recommend this page Top
Copyright 1996-2025 © Faculdade de Direito da Universidade do Porto  I Terms and Conditions  I Acessibility  I Index A-Z
Page created on: 2025-07-19 at 11:52:20 | Privacy Policy | Personal Data Protection Policy | Whistleblowing