Practical inference for type-based termination in a polymorphic setting

  • Authors:
  • Gilles Barthe;Benjamin Grégoire;Fernando Pastawski

  • Affiliations:
  • INRIA Sophia-Antipolis, France;INRIA Sophia-Antipolis, France;FaMAF, Univ. Nacional de Córdoba, Argentina

  • Venue:
  • TLCA'05 Proceedings of the 7th international conference on Typed Lambda Calculi and Applications
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We introduce a polymorphic λ-calculus that features inductive types and that enforces termination of recursive definitions through typing. Then, we define a sound and complete type inference algorithm that computes a set of constraints to be satisfied for terms to be typable. In addition, we show that Subject Reduction fails in a naive use of typed-based termination for a λ-calculus à la Church, and we propose a general solution to this problem.