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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
van Bakel, S., Fernández, M.: Normalization results for typeable rewrite systems. Information and Computation 133(2), 73–116 (1997)
Barbanera, F., Fernández, M.: Intersection type assignment systems with higher-order algebraic rewriting. Theoretical Computer Science 170, 173–207 (1996)
Barendregt, H.P.: Pairing without conventional constraints. Zeitschrift für mathematischen Logik und Grundlagen der Mathematik 20, 289–306 (1974)
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)
Calvés, C.: Complexity and implementation of nominal algorithms, Ph.D. thesis, King’s College London (2010)
Clouston, R.: Closed terms (unpublished notes) (2007), http://users.cecs.anu.edu.au/~rclouston/closedterms.pdf
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)
Fairweather, E.: Principal types for nominal terms: tool description, http://www.inf.kcl.ac.uk/pg/elliotf/research
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
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
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
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
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
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
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
Girard, J.-Y.: The system F of variable types, fifteen years later. Theoretical Computer Science 45 (1986)
Gosling, J., Joy, B., Steele, G.: The Java language specification. Addison-Wesley, Reading (1996)
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)
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
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
Editor information
Editors and Affiliations
Rights 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)