Counting a Type's Principal Inhabitants

  • Authors:
  • Sabine Broda;Luís Damas

  • Affiliations:
  • -;-

  • Venue:
  • TLCA '99 Proceedings of the 4th International Conference on Typed Lambda Calculi and Applications
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a Counting Algorithm that computes the number of λ-terms in β-normal form that have a given type Τ as a principal type and produces a list of these terms. The design of the algorithm follows the lines of Ben-Yelles' algorithm for counting normal (not necessarily principal) inhabitants of a type Τ.