Skip to main content

Principal Types for Nominal Theories

  • Conference paper
Book cover Fundamentals of Computation Theory (FCT 2011)

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

Included in the following conference series:

  • 560 Accesses

Abstract

We define rank 1 polymorphic types for nominal rewrite rules and equations. Typing environments type atoms, variables, and function symbols, and since we follow a Curry-style approach there is no need to fully annotate terms with types. Our system has principal types, and we give rule and axiom formats to guarantee preservation of types under both rewriting and equality reasoning. This is non-trivial because substitution does not avoid capture, so a substituted symbol can—if we are not careful—appear in inconsistent typing contexts.

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. van Bakel, S., Fernández, M.: Normalization results for typeable rewrite systems. Information and Computation 133(2), 73–116 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  2. Barbanera, F., Fernández, M.: Intersection type assignment systems with higher-order algebraic rewriting. Theoretical Computer Science 170, 173–207 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  3. Barendregt, H.P.: Pairing without conventional constraints. Zeitschrift für mathematischen Logik und Grundlagen der Mathematik 20, 289–306 (1974)

    Article  MathSciNet  MATH  Google Scholar 

  4. Barendregt, H.P., Coppo, M., DezaniCiancaglini, M.: A filter lambda model and the completeness of type assignment. Journal of Symbolic Logic 48(4), 931–940 (1983)

    Article  MathSciNet  MATH  Google Scholar 

  5. Calvés, C.: Complexity and implementation of nominal algorithms, Ph.D. thesis, King’s College London (2010)

    Google Scholar 

  6. Clouston, R.: Closed terms (unpublished notes) (2007), http://users.cecs.anu.edu.au/~rclouston/closedterms.pdf

  7. Damas, L., Milner, R.: Principal type-schemes for functional programs. In: Proceedings of the 9th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 1982), pp. 207–212. ACM, New York (1982)

    Google Scholar 

  8. Fairweather, E.: Principal types for nominal terms: tool description, http://www.inf.kcl.ac.uk/pg/elliotf/research

  9. Fernández, M., Gabbay, M.J.: Curry-style types for nominal terms. In: Altenkirch, T., McBride, C. (eds.) TYPES 2006. LNCS, vol. 4502, pp. 125–139. Springer, Heidelberg (2007), http://www.gabbay.org.uk/papers.html#curstn

    Chapter  Google Scholar 

  10. Fernández, M., Gabbay, M.J.: Nominal rewriting (journal version). Information and Computation 205(6), 917–965 (2007), http://www.gabbay.org.uk/papers.html#nomr-jv

    Article  MathSciNet  MATH  Google Scholar 

  11. Fernández, M., Gabbay, M.J.: Closed nominal rewriting and efficiently computable nominal algebra equality. In: Proceedings of the 5th International Workshop on Logical Frameworks and Meta-Languages (LFMTP 2010) (2010), http://www.gabbay.org.uk/papers.html#clonre

  12. Fernández, M., Gabbay, M.J., Mackie, I.: Nominal Rewriting Systems. In: Proceedings of the 6th ACM SIGPLAN symposium on Principles and Practice of Declarative Programming (PPDP 2004), pp. 108–119. ACM Press, New York (2004), http://www.gabbay.org.uk/papers.html#nomr

    Google Scholar 

  13. Gabbay, M.J.: Nominal terms and nominal logics: from foundations to meta-mathematics. In: Handbook of Philosphical Logic, vol. 17, Kluwer, Dordrecht (2011), http://www.gabbay.org.uk/papers.html#nomtnl

    Google Scholar 

  14. Gabbay, M.J., Mathijssen, A.: Nominal universal algebra: equational logic with names and binding. Journal of Logic and Computation 19(6), 1455–1508 (2009), http://www.gabbay.org.uk/papers.html#nomuae

    Article  MathSciNet  MATH  Google Scholar 

  15. Gabbay, M.J., Mathijssen, A.: A nominal axiomatisation of the lambda-calculus. Journal of Logic and Computation 20(2), 501–531 (2010), http://www.gabbay.org.uk/papers.html#nomalc

    Article  MathSciNet  MATH  Google Scholar 

  16. Girard, J.-Y.: The system F of variable types, fifteen years later. Theoretical Computer Science 45 (1986)

    Google Scholar 

  17. Gosling, J., Joy, B., Steele, G.: The Java language specification. Addison-Wesley, Reading (1996)

    MATH  Google Scholar 

  18. Pitts, A.M.: Nominal system T. In: Proceedings of the 37th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages (POPL 2010), pp. 159–170. ACM Press, New York (2010)

    Google Scholar 

  19. Shinwell, M.R., Pitts, A.M., Gabbay, M.J.: FreshML: Programming with Binders Made Simple. In: Proceedings of the 8th ACM SIGPLAN International Conference on Functional Programming (ICFP 2003), vol. 38, pp. 263–274. ACM Press, New York (2003), http://www.gabbay.org.uk/papers.html#frepbm

    Google Scholar 

  20. Urban, C., Pitts, A.M., Gabbay, M.J.: Nominal Unification. Theoretical Computer Science 323(1-3), 473–497 (2004), http://www.gabbay.org.uk/papers.html#nomu-jv

    Article  MathSciNet  MATH  Google Scholar 

Download references

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Fairweather, E., Fernández, M., Gabbay, M.J. (2011). Principal Types for Nominal Theories. In: Owe, O., Steffen, M., Telle, J.A. (eds) Fundamentals of Computation Theory. FCT 2011. Lecture Notes in Computer Science, vol 6914. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-22953-4_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-22953-4_14

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-22952-7

  • Online ISBN: 978-3-642-22953-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics