Stratified polymorphism and primitive recursionMathematical Structures in Computer Science
AbstractNatural 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 [script E]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 < ω[script l] are precisely Grzegorczyk's class [script E][script l]+3 ([script l] ≥ 1). This generalizes Leivant (1991), where this is proved for [script l] = 1. Thus, the numeric functions definable in our calculus are precisely the primitive recursive functions.
Citation InformationNorman Danner and Daniel Leivant. Stratified polymorphism and primitive recursion. Mathematical Structures in Computer Science, 9(4):507–522, 1999.