The role of polymorphism in the characterisation of complexity by soft types

  • Authors:
  • Jacek Chrzašzcz;Aleksy Schubert

  • Affiliations:
  • The University of Warsaw, Warsaw, Poland;The University of Warsaw, Warsaw, Poland

  • Venue:
  • MFCS'11 Proceedings of the 36th international conference on Mathematical foundations of computer science
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Soft type assignment systems STA, STA+, and STAB characterise by means of reduction of terms the computation in complexity classes PTIME, NP, and PSPACE, respectively. All these systems are inspired by linear logic and include polymorphism similar to the one of System F. We show that the presence of polymorphism gives undecidability of typechecking and type inference. We also show that reductions in decidable monomorphic versions of these systems also capture the same complexity classes in a way sufficient for the traditional complexity theory. The reductions we propose show in addition that the monomorphic systems to serve as a programming language require some metalanguage support since the program which operates on data has form and type which depend on the size of the input.