On the building of affine retractions

  • Authors:
  • Aleksy Schubert

  • Affiliations:
  • Institute of informatics, university of warsaw, ul. banacha 2, 02-097 warsaw, poland email: alx@mimuw.edu.pl

  • Venue:
  • Mathematical Structures in Computer Science
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

A simple type σ is retractable to a simple type τ if there are two terms Cσ→τ and Dτ→σ such that D ○ C λx.x. The retractability of types is affine if the terms C and D are affine, that is, when every bound variable occurs in them at most once in the scope of its declaration. This paper presents a system that derives affine retractability for simple types. It also studies the complexity of constructing these affine retractions. The problem of affine retractability is NP-complete even for the class of types over a single type atom and having limited functional order. In addition, a polynomial algorithm for types of orders less than three is presented.