Typability and Type Inference in Atomic Polymorphism
-
Published:2022-08-12
Issue:
Volume:Volume 18, Issue 3
Page:
-
ISSN:1860-5974
-
Container-title:Logical Methods in Computer Science
-
language:en
-
Short-container-title:
Author:
Protin M. Clarence,
Ferreira GildaORCID
Abstract
It is well-known that typability, type inhabitation and type inference are
undecidable in the Girard-Reynolds polymorphic system F. It has recently been
proven that type inhabitation remains undecidable even in the predicative
fragment of system F in which all universal instantiations have an atomic
witness (system Fat). In this paper we analyze typability and type inference in
Curry style variants of system Fat and show that typability is decidable and
that there is an algorithm for type inference which is capable of dealing with
non-redundancy constraints.
Funder
Fundação para a Ciência e a Tecnologia, I.P.
Publisher
Centre pour la Communication Scientifique Directe (CCSD)
Subject
General Computer Science,Theoretical Computer Science