Academia.eduAcademia.edu

Outline

Coercive subtyping in lambda-free logical frameworks

2009, Proceedings of the Fourth International Workshop on Logical Frameworks and Meta-Languages Theory and Practice - LFMTP '09

https://doi.org/10.1145/1577824.1577830

Abstract

Coercive subtyping is a powerful approach to subtyping in dependent type theories, but its theoretical properties are often difficult to prove. Lambda-free logical frameworks such as TF have shown themselves to be a powerful tool for investigating the theory of logical frameworks, thanks to the close correspondance between a lambda-free frame and a traditional framework such as LF. We show how a type theory with coercive subtyping may be defined within TF. An operation of typecasting plays the role that coercive application plays in LF. We show that the resulting systems in TF and LF are equivalent, and how several results may be proven more easily in TF and then lifted to LF.

References (15)

  1. Barras, B., et al.: The Coq Proof Assistant Reference Manual. (May 2000)
  2. Luo, Z., Pollack, R.: LEGO proof development system: User's manual. Technical Report ECS-LFCS-92-211, LFCS, Department of Computer Science, University of Edinburgh (May 1992)
  3. Callaghan, P., Luo, Z.: An implementation of LF with coercive subtyping and universes. Journal of Automated Reasoning 27(1) (2001) 3-27
  4. Bailey, A.: The Machine-Checked Literate Formalisation of Algebra in Type The- ory. PhD thesis, University of Manchester (1998)
  5. Geuvers, H., Pollack, R., Wiedijk, F., Zwanenburg, J.: A constructive algebraic hirearchy in Coq. Journal of Symbolic Computation 34(4) (2002) 271-286 Special issue on the integration of automated reasoning and computer algebra systems.
  6. Luo, Z.: Computation and Reasoning: A Type Theory for Computer Science. Number 11 in International Series of Monographs on Computer Science. Oxford University Press (1994)
  7. Luo, Z.: Coercive subtyping. Journal of Logic and Computation 9(1) (1999) 105- 130
  8. Soloviev, S., Luo, Z.: Coercion completion and conservativity in coercive subtyping. Annals of Pure and Applied Logic 113(1-3) (2002) 297-322
  9. Luo, Z., Luo, Y.: Transitivity in coercive subtyping. Information and Computation 197(1-2) (2005) 122-144
  10. Luo, Z., Adams, R.: Structural subtyping for inductive types with functorial equal- ity rules. Mathematical Structures in Computer Science (2006) To appear.
  11. Luo, Z.: PAL+: A lambda-free logical framework. Journal of Functional Program- ming 13(2) (2003) 317-338
  12. Aczel, P.: Yet another logical framework. Unpublished (2001)
  13. Adams, R.: A Modular Hierarchy of Logical Frameworks. PhD thesis, University of Manchester (2004)
  14. Adams, R.: Lambda-free logical frameworks. Unpublished. Preprint available at http://www.cs.rhul.ac.uk/∼robin/lfreepdf (2007)
  15. Nordström, B., Petersson, K., Smith, J.: Programming in Martin-Löf's Type The- ory: an Introduction. Oxford University Press (1990)