Skip to main content

Solving equational constraints in polymorphic types

  • Conference paper
  • First Online:
Logical Foundations of Computer Science — Tver '92 (LFCS 1992)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 620))

Included in the following conference series:

  • 145 Accesses

Abstract

We propose an algebra F as a framework to talk about polymorphic types. This framework may be useful for studying various type reconstruction problems that arise in type disciplines which employ polymorphic types. We prove that the problem of equational satisfiability in F is NP-complete. As an illustration of how this framework may work we show how to set up equational constraints in F for the problem of type reconstruction for the system of P. Giannini and S. Ronchi Delia Rocca which was introduced in 1991. This gives another, purely algebraic, proof of their decidability result with a clear upper bound for the complexity of this problem.

This work was partly supported by NSF grant CCR-9002253 and by Polish KBN grant No. 2 1192 91 01.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. C. Dwork, P. Kanellakis, and J.C. Mitchell. On the sequential nature of unification. Journal of Logic Programming, 1:35–50, 1984.

    Article  Google Scholar 

  2. P. Giannini and S. Ronchi Delia Rocca. Characterization of typings in polymorphic type discipline. In Proceedings of IEEE 3rd Annual Symposium on Logic in Computer Science, pages 61–71, 1988.

    Google Scholar 

  3. P. Giannini and S. Ronchi Delia Rocca. Type inference in polymorphic type discipline. In T. Ito and A.R. Meyer, editors, Proceedings of the International Conference on Theoretical Aspects of Computer Software, Tohoku University, Sendai, Japan, pages 18–37, LNCS 526, Springer Verlag, 1991.

    Google Scholar 

  4. J.-Y. Girard. Une extension de l'interprétation de Gödel à l'analyse et son application à l'elimination des coupures dans l'analyse et la théorie des types. In Fenstad, editor, Proceedings of the 2nd Scandinavian Logic Symposium, pages 63–92, North Holland, 1971.

    Google Scholar 

  5. F. Henglein. Type inference and semi-unification. In ACM Conference on Lisp and Functional Programming, pages 184–197, July 1988.

    Google Scholar 

  6. J.R. Hindley. The principal type-scheme of an object in combinatory logic. Transactions of the American Mathematical Society, 146:29–60, 1969.

    Google Scholar 

  7. A.J. Kfoury, J. Tiuryn, and P. Urzyczyn. An analysis of ML typability. In Arnold, editor, 15th Colloquium on Trees in Algebra and Programming, CAAP 90, LNCS 431, pages 206–220, Springer Verlag, 1990.

    Google Scholar 

  8. A.J. Kfoury, J. Tiuryn, and P. Urzyczyn. Computational consequences and partial solutions of a generalized unification problem. In Proceedings of IEEE 4th Annual Symposium on Logic in Computer Science, pages 98–105, 1989.

    Google Scholar 

  9. A.J. Kfoury, J. Tiuryn, and P. Urzyczyn. The undecidability of the semi-unification problem. In Proceedings of the 22nd Annual ACM Symposium on Theory of Computing, Baltimore, pages 468–476, 1990.

    Google Scholar 

  10. H.G. Mairson. Deciding ml typability is complete for deterministic exponential time. In Proceedings of 17th ACM Symposium on Principles of Programming Languages, pages 382–401, 1990.

    Google Scholar 

  11. J. Reynolds. Towards a theory of type structure. In Robinet, editor, Programming Symposium, LNCS 19, pages 408–425, Springer Verlag, 1974.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Anil Nerode Mikhail Taitslin

Rights and permissions

Reprints and permissions

Copyright information

© 1992 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Tiuryn, J. (1992). Solving equational constraints in polymorphic types. In: Nerode, A., Taitslin, M. (eds) Logical Foundations of Computer Science — Tver '92. LFCS 1992. Lecture Notes in Computer Science, vol 620. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0023900

Download citation

  • DOI: https://doi.org/10.1007/BFb0023900

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-55707-4

  • Online ISBN: 978-3-540-47276-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics