Skip to main content

Syntactic Metatheory of Higher-Order Subtyping

  • Conference paper

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

Abstract

We present a new proof of decidability of higher-order subtyping in the presence of bounded quantification. The algorithm is formulated as a judgement which operates on beta-eta-normal forms. Transitivity and closure under application are proven directly and syntactically, without the need for a model construction or reasoning on longest beta-reduction sequences. The main technical tool is hereditary substitution, i.e., substitution of one normal form into another, resolving all freshly generated redexes on the fly. Hereditary substitutions are used to keep types in normal-form during execution of the subtyping algorithm. Termination of hereditary substitutions can be proven in an elementary way, by a lexicographic induction on the kind of the substituted variable and the size of the expression substituted into—this is what enables a purely syntactic metatheory.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   109.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   139.00
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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abel, A.: Implementing a normalizer using sized heterogeneous types. In: McBride, C., Uustalu, T. (eds.) Wksh. on Mathematically Structured Functional Programming, MSFP 2006 (2006)

    Google Scholar 

  2. Abel, A.: Polarized subtyping for sized types. In: Grigoriev, D., Harrison, J., Hirsch, E.A. (eds.) CSR 2006. LNCS, vol. 3967, pp. 381–392. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  3. Abadi, M., Cardelli, L.: A Theory of Objects. Springer, Heidelberg (1996)

    MATH  Google Scholar 

  4. Amadio, R., Curien, P.-L.: Domains and Lambda Calculi. Cambridge University Press, Cambridge (1997)

    Google Scholar 

  5. Adams, R.: A Modular Hierarchy of Logical Frameworks. Ph.D. thesis, University of Manchester (2005)

    Google Scholar 

  6. Cardelli, L.: Structural subtyping and the notion of power type. In: Proc. of the 15th ACM Symp. on Principles of Programming Languages, POPL 1988, pp. 70–79 (1988)

    Google Scholar 

  7. Compagnoni, A.B., Goguen, H.: Typed operational semantics for higher-order subtyping. Inf. Comput. 184(2), 242–297 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  8. Compagnoni, A., Goguen, H.: Anti-symmetry of higher-order subtyping and equality by subtyping. Math. Struct. in Comput. Sci. 16, 41–65 (2006)

    Article  MATH  MathSciNet  Google Scholar 

  9. Compagnoni, A., Goguen, H.: Subtyping à la Church. In: Barendsen, E., Capretta, V., Geuvers, H., Niqui, M. (eds.) Reflections on Type Theory, λ-calculus, and the Mind. Essays dedicated to Henk Barendregt on the Occasion of his 60th Birthday. Radboud University Nijmegen (2007)

    Google Scholar 

  10. Compagnoni, A.B.: Decidability of higher-order subtyping with intersection types. In: Pacholski, L., Tiuryn, J. (eds.) CSL 1994. LNCS, vol. 933, pp. 46–60. Springer, Heidelberg (1995)

    Chapter  Google Scholar 

  11. Cardelli, L., Wegner, P.: On understanding types, data abstraction, and polymorphism. ACM Computing Surveys 17(4), 471–522 (1985)

    Article  Google Scholar 

  12. Girard, J.-Y., Lafont, Y., Taylor, P.: Proofs and Types. Cambridge Tracts in Theoretical Computer Science, vol. 7. Cambridge University Press, Cambridge (1989)

    MATH  Google Scholar 

  13. Harper, R., Licata, D.: Mechanizing metatheory in a logical framework. J. Func. Program 17(4–5), 613–673 (2007)

    Article  MATH  MathSciNet  Google Scholar 

  14. Lee, D.K., Crary, K., Harper, R.: Towards a mechanized metatheory of Standard ML. In: Hofmann, M., Felleisen, M. (eds.) Proc. of the 34th ACM Symp. on Principles of Programming Languages, POPL 2007, pp. 173–184. ACM Press, New York (2007)

    Google Scholar 

  15. Lévy, J.-J.: An algebraic interpretation of the λβK-calculus; and an application of a labelled λ-calculus. Theor. Comput. Sci. 2(1), 97–114 (1976)

    Article  MATH  Google Scholar 

  16. Mitchell, J.C.: Toward a typed foundation for method specialization and inheritance. In: Proc. of the 17th ACM Symp. on Principles of Programming Languages, POPL 1990, pp. 109–124 (1990)

    Google Scholar 

  17. Pierce, B.C.: Bounded quantification is undecidable. In: POPL, pp. 305–315 (1992)

    Google Scholar 

  18. Pierce, B.C.: Types and Programming Languages. MIT Press, Cambridge (2002)

    Google Scholar 

  19. Prawitz, D.: Natural Deduction. Almqvist & Wiksell, Stockholm, 1965. Republication by Dover Publications Inc., Mineola (2006)

    Google Scholar 

  20. Pierce, B.C., Steffen, M.: Higher order subtyping. Theor. Comput. Sci. 176(1,2), 235–282 (1997)

    Article  MATH  MathSciNet  Google Scholar 

  21. Rodriguez, D.: Algorithmic Subtyping for Higher Order Bounded Quantification. Diploma thesis, LMU Munich (2007)

    Google Scholar 

  22. Steffen, M.: Polarized Higher-Order Subtyping. Ph.D. thesis, Technische Fakultät, Universität Erlangen (1998)

    Google Scholar 

  23. Watkins, K., Cervesato, I., Pfenning, F., Walker, D.: A concurrent logical framework I: Judgements and properties. Tech. rep., School of Computer Science. Carnegie Mellon University, Pittsburgh (2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Michael Kaminski Simone Martini

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Abel, A., Rodriguez, D. (2008). Syntactic Metatheory of Higher-Order Subtyping. In: Kaminski, M., Martini, S. (eds) Computer Science Logic. CSL 2008. Lecture Notes in Computer Science, vol 5213. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-87531-4_32

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-87531-4_32

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-87530-7

  • Online ISBN: 978-3-540-87531-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics