Skip to main content

Type Inference for a Polynomial Lambda Calculus

  • Conference paper
Types for Proofs and Programs (TYPES 2008)

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

Included in the following conference series:

Abstract

We study the type inference problem for the Soft Type Assignment system (STA) for λ-calculus introduced in [1], which is correct and complete for polynomial time computations. In particular we design an algorithm which, given in input a λ-term, provides all the constraints that need to be satisfied in order to type it. For the propositional fragment of STA, the satisfiability of the constraints is decidable. We conjecture that, for the whole system, the type inference is undecidable, but our algorithm can be used for checking the typability of some particular terms.

Paper partially supported by MIUR-Cofin’07 CONCERTO Project.

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. 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 

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

    Article  MathSciNet  MATH  Google Scholar 

  3. Coppo, M., Dezani-Ciancaglini, M., Venneri, B.: Principal type schemes and lambda-calculus semantics. In: Seldin, J.P., Hindley, J.R. (eds.) To H. B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalism, pp. 535–560. Academic Press, Inc., New York (1980)

    Google Scholar 

  4. Giannini, P., Ronchi Della Rocca, S.: A type inference algorithm for a stratified polymorphic type discipline. Information and Computation 109(1/2), 115–173 (1994)

    Article  MathSciNet  MATH  Google Scholar 

  5. Coppola, P., Dal Lago, U., Ronchi Della Rocca, S.: Elementary affine logic and the call by value lambda calculus. In: Urzyczyn, P. (ed.) TLCA 2005. LNCS, vol. 3461, pp. 131–145. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

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

    Chapter  Google Scholar 

  7. Baillot, P., Terui, K.: Light types for polynomial time computation in lambda-calculus. In: Proceedings of the Nineteenth Annual IEEE Symposium on Logic in Computer Science (LICS 2004), pp. 266–275. IEEE Computer Society, Los Alamitos (2004)

    Chapter  Google Scholar 

  8. Asperti, A.: Light affine logic. In: Proceedings of the Thirteenth Annual IEEE Symposium on Logic in Computer Science (LICS 1998), pp. 300–308. IEEE Computer Society, Los Alamitos (1998)

    Google Scholar 

  9. Gaboardi, M.: Linearity: an Analytic Tool in the study of Complexity and Semantics of Programming Languages. PhD thesis, Università degli Studi di Torino - Institut National Polytechnique de Lorraine (2007)

    Google Scholar 

  10. Robinson, J.A.: Machine-oriented logic based on resolution principle. Journal of the ACM 12, 23–41 (1965)

    Article  MathSciNet  MATH  Google Scholar 

  11. Karp, R.M.: Reducibility among combinatorial problems. In: Miller, R.E., Thatcher, J.W. (eds.) Complexity of Computer Computations, pp. 85–103. Plenum Press (1972)

    Google Scholar 

  12. Baillot, P., Terui, K.: A feasible algorithm for typing in elementary affine logic. In: Urzyczyn, P. (ed.) TLCA 2005. LNCS, vol. 3461, pp. 55–70. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  13. Kfoury, A.J., Ronchi Della Rocca, S., Tiuryn, J., Urzyczyn, P.: Alpha-conversion and typability. Information and Computation 150(1), 1–21 (1999)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gaboardi, M., Della Rocca, S.R. (2009). Type Inference for a Polynomial Lambda Calculus. In: Berardi, S., Damiani, F., de’Liguoro, U. (eds) Types for Proofs and Programs. TYPES 2008. Lecture Notes in Computer Science, vol 5497. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-02444-3_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-02444-3_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-02443-6

  • Online ISBN: 978-3-642-02444-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics