Polyvariant Analysis of the Untyped Lambda Calculus

  • Palsberg J
  • Schwartzbach M
N/ACitations
Citations of this article
7Readers
Mendeley users who have this article in their library.

Abstract

We present a polyvariant closure, safety, and binding time analysis for the untyped lambda calculus. The innovation is to analyze each abstraction afresh at all syntactic application points. This is achieved by a semantics-preserving program transformation followed by a novel monovariant analysis, expressed using type constraints. The constraints are solved in cubic time by a single fixed-point computation. Safety analysis is aimed at determining if a term will cause an error during evaluation. We have recently proved that the monovariant safety analysis accepts strictly more terms than simple type inference. This paper demonstrates that the polyvariant transformation makes even more terms acceptable, even some without higher-order polymorphic types. Furthermore, polyvariant binding time analysis can improve the partial evaluators that base a polyvariant specialization on only monovariant binding time analysis.

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Palsberg, J., & Schwartzbach, M. I. (1992). Polyvariant Analysis of the Untyped Lambda Calculus. DAIMI Report Series, 21(386). https://doi.org/10.7146/dpb.v21i386.6619

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 3

50%

Professor / Associate Prof. 2

33%

Researcher 1

17%

Readers' Discipline

Tooltip

Computer Science 3

50%

Agricultural and Biological Sciences 1

17%

Biochemistry, Genetics and Molecular Bi... 1

17%

Business, Management and Accounting 1

17%

Save time finding and organizing research with Mendeley

Sign up for free