Hostname: page-component-586b7cd67f-t7czq Total loading time: 0 Render date: 2024-11-22T06:56:38.900Z Has data issue: false hasContentIssue false

Stratified polymorphism and primitive recursion

Published online by Cambridge University Press:  01 August 1999

NORMAN DANNER
Affiliation:
Indiana University, Bloomington, IN 47405, U.S.A. Email: [email protected]
DANIEL LEIVANT
Affiliation:
Indiana University, Bloomington, IN 47405, U.S.A. Email: [email protected]

Abstract

Natural restrictions on the syntax of the second-order (i.e., polymorphic) lambda calculus are of interest for programming language theory. One of the authors showed in Leivant (1991) that when type abstraction in that calculus is stratified into levels, the definable numeric functions are precisely the super-elementary functions (level [Escr ]4 in the Grzegorczyk Hierarchy). We define here a second-order lambda calculus in which type abstraction is stratified to levels up to ωω, an ordinal that permits highly uniform (and finite) type inference rules. Referring to this system, we show that the numeric functions definable in the calculus using ranks < ω[lscr ] are precisely Grzegorczyk's class [Escr ][lscr ]+3 ([lscr ] [ges ] 1). This generalizes Leivant (1991), where this is proved for [lscr ] = 1. Thus, the numeric functions definable in our calculus are precisely the primitive recursive functions.

Type
Research Article
Copyright
© 1999 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.)

Footnotes

The research reported in this paper was partially supported by NSF grants CCR-9309824 and DMS-9870320. The proof figures were made with Makoto Tatsuta's proof.sty package, version 3.0.