A type is inhabited (non-empty) in a typed calculus iff there is a closed term of this type. The inhabitation (emptiness) problem is to determine if a given type is inhabited. This paper provides direct, purely syntactic proofs of the following results: the inhabitation problem is PSPACE-complete for simply typed lambda-calculus and undecidable for the polymorphic second-order and higher-order lambda calculi (systems F and
F
).
This work was partly supported by NSF grant CCR-9417382, KBN Grant 8 T11C 034 10 and by ESPRIT BRA7232
Gentzen
.