Fraunhofer-Gesellschaft

Publica

Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

Principality and approximation under dimensional bound

 
: Dudenhefner, Andrej; Rehof, Jakob

:
Volltext ()

Proceedings of the ACM on programming languages : PACMPL 3 (2019), Nr.POPL, Art. 8, 29 S.
ISSN: 2475-1421
Englisch
Zeitschriftenaufsatz, Elektronische Publikation
Fraunhofer ISST ()

Abstract
We develop an algebraic and algorithmic theory of principality for the recently introduced framework of intersection type calculi with dimensional bound. The theory enables inference of principal type information under dimensional bound, it provides an algebraic and algorithmic theory of approximation of classical principal types in terms of computable bases of abstract vector spaces (more precisely, semimodules), and it shows a systematic connection of dimensional calculi to the theory of approximants. Finite, computable bases are shown to span standard principal typings of a given term for sufficiently high dimension, thereby providing an approximation to standard principality by type inference, and capturing it precisely for sufficiently large dimensional parameter. Subsidiary results include decidability of principal inhabitation for intersection types (given a type does there exist a normal form for which the type is principal?). Remarkably, combining bounded type inference with principal inhabitation allows us to compute approximate normal forms of arbitrary terms without using beta-reduction.

: http://publica.fraunhofer.de/dokumente/N-572413.html