Skip to main content

The Role of Polymorphism in the Characterisation of Complexity by Soft Types

  • Conference paper
Mathematical Foundations of Computer Science 2011 (MFCS 2011)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6907))

  • 847 Accesses

Abstract

Soft type assignment systems STA, STA + , and STA B 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.

This work was partly supported by the Polish government grant no N N206 355836.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Atassi, V., Baillot, P., Terui, K.: Verification of PTIME reducibility for System F terms: type inference in dual light affine logic. Logical Methods in Computer Science 3(4:10), 1–32 (2007)

    MathSciNet  Google Scholar 

  2. Gaboardi, M., Marion, J.-Y., Rocca, S.R.D.: A logical account of PSPACE. In: Proceedings of the 35th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL 2008, pp. 121–131. ACM, New York (2008)

    Chapter  Google Scholar 

  3. Gaboardi, M., Marion, J.-Y., Rocca, S.R.D.: Soft linear logic and polynomial complexity classes. ENTCS 205, 67–87 (2008)

    Google Scholar 

  4. Gaboardi, M., Ronchi Della Rocca, S.: A Soft Type Assignment System for λ-Calculus. In: Duparc, J., Henzinger, T.A. (eds.) CSL 2007. LNCS, vol. 4646, pp. 253–267. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  5. Gaboardi, M., Rocca, S.R.D.: Type inference for a polynomial lambda calculus. In: Berardi, S., Damiani, F., De’Liguoro, U. (eds.) Types for Proofs and Programs, pp. 136–152. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  6. Girard, J.-Y.: Light linear logic. Information and Computation 143, 175–204 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  7. Goerdt, A.: Characterizing complexity classes by general recursive definitions in higher types. In: Proceedings of the 2nd Workshop on Computer Science Logic, London, UK, pp. 99–117. Springer, Heidelberg (1989)

    Google Scholar 

  8. Greenlaw, R., Hoover, J.H., Ruzzo, W.L.: Limits to Parallel Computation: P-Completeness Theory. Oxford University Press, USA (1995)

    MATH  Google Scholar 

  9. Kfoury, A.J., Tiuryn, J., Urzyczyn, P.: The undecidability of the semi-unification problem. Information and Computation 102(1), 83–101 (1993)

    Article  MathSciNet  MATH  Google Scholar 

  10. Lafont, Y.: Soft linear logic and polynomial time. Theoretical Computer Science 318, 163–180 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  11. Leivant, D., Marion, J.-Y.: Lambda calculus characterizations of poly-time. In: Bezem, M., Groote, J.F. (eds.) TLCA 1993. LNCS, vol. 664, pp. 274–288. Springer, Heidelberg (1993)

    Chapter  Google Scholar 

  12. Leivant, D., Marion, J.-Y.: Ramified recurrence and computational complexity ii: Substitution and poly-space. In: Kleine Büning, H. (ed.) CSL 1995. LNCS, vol. 1092, pp. 486–500. Springer, Heidelberg (1996)

    Google Scholar 

  13. Mairson, H.: A simple proof of a theorem of Statman. Theoretical Computer Science (103), 213–226 (1992)

    Google Scholar 

  14. Mairson, H.G., Terui, K.: On the Computational Complexity of Cut-Elimination in Linear Logic. In: Blundo, C., Laneve, C. (eds.) ICTCS 2003. LNCS, vol. 2841, pp. 23–36. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  15. Schubert, A.: The complexity of β-reduction in low orders. In: Abramsky, S. (ed.) TLCA 2001. LNCS, vol. 2044, pp. 400–414. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  16. Statman, R.: The typed λ-calculus is not elementary recursive. Theoretical Computer Science (9), 73–81 (1979)

    Google Scholar 

  17. Wells, J.B.: Typability and type checking in the second-order λ-calculus are equivalent and undecidable. In: Proceedings of Ninth Annual IEEE Symposium on Logic in Computer Science, pp. 176–185 (July 1994)

    Google Scholar 

  18. Wierzbicki, T.: Complexity of the higher order matching. In: Ganzinger, H. (ed.) CADE 1999. LNCS (LNAI), vol. 1632, pp. 82–96. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag GmbH Berlin Heidelberg

About this paper

Cite this paper

Chrząszcz, J., Schubert, A. (2011). The Role of Polymorphism in the Characterisation of Complexity by Soft Types. In: Murlak, F., Sankowski, P. (eds) Mathematical Foundations of Computer Science 2011. MFCS 2011. Lecture Notes in Computer Science, vol 6907. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-22993-0_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-22993-0_22

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-22992-3

  • Online ISBN: 978-3-642-22993-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics