Skip to main content

Working with Mathematical Structures in Type Theory

  • Conference paper
Types for Proofs and Programs (TYPES 2007)

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

Included in the following conference series:

Abstract

We address the problem of representing mathematical structures in a proof assistant which: 1) is based on a type theory with dependent types, telescopes and a computational version of Leibniz equality; 2) implements coercive subtyping, accepting multiple coherent paths between type families; 3) implements a restricted form of higher order unification and type reconstruction. We show how to exploit the previous quite common features to reduce the “syntactic” gap between pen&paper and formalised algebra. However, to reach our goal we need to propose unification and type reconstruction heuristics that are slightly different from the ones usually implemented. We have implemented them in Matita.

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. Bailey, A.: Coercion synthesis in computer implementations of type-theoretic frameworks. In: Giménez, E. (ed.) TYPES 1996. LNCS, vol. 1512, pp. 9–27. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  2. Bailey, A.: The Machine-Checked Literate Formalisation Of Algebr. In: Type Theory. PhD thesis, University of Manchester (1998)

    Google Scholar 

  3. Barthe, G.: Implicit coercions in type systems. In: Berardi, S., Coppo, M. (eds.) TYPES 1995. LNCS, vol. 1158, pp. 1–15. Springer, Heidelberg (1996)

    Google Scholar 

  4. Betarte, G., Tasistro, A.: Formalization of systems of algebras using dependent record types and subtyping: An example. In: Proceedings of the 7th. Nordic workshop on Programming Theory, Gothenburg (1995)

    Google Scholar 

  5. Betarte, G., Tasistro, A.: Extension of Martin-Löf’s type theory with record types and subtyping. In: Twenty-five Years of Constructive Type Theory, Oxford Science Publications (1998)

    Google Scholar 

  6. Chen, G.: Subtyping, Type Conversion and Transitivity Elimination. PhD thesis, University Paris 7 (1998)

    Google Scholar 

  7. Chen, G.: Coercive subtyping for the calculus of constructions. In: The 30th Annual ACM SIGPLAN - SIGACT Symposium on Principle of Programming Language (POPL) (2003)

    Google Scholar 

  8. Coquand, T., Pollack, R., Takeyama, M.: A logical framework with dependently typed records. Fundamenta Informaticae 65(1-2), 113–134 (2005)

    MATH  MathSciNet  Google Scholar 

  9. Cruz-Filipe, L., Geuvers, H., Wiedijk, F.: C-corn, the constructive coq repository at nijmegen. In: Asperti, A., Bancerek, G., Trybulec, A. (eds.) MKM 2004. LNCS, vol. 3119, pp. 88–103. Springer, Heidelberg (2004)

    Google Scholar 

  10. Dybjer, P.: A general formulation of simultaneous inductive-recursive definitions in type theory. Journal of Symbolic Logic 65(2) (2000)

    Google Scholar 

  11. Gonthier, G.: A computer-checked proof of the four-colour theorem. Available at: http://research.microsoft.com/~gonthier/4colproof.pdf

  12. Hedberg, M.: Unpublished proof formalized in lego by T. Kleymann and in coq by B. Barras, http://coq.inria.fr/library/Coq.Logic.Eqdep_dec.html

  13. Luo, Z.: An Extended Calculus of Constructions. PhD thesis, University of Edinburgh (1990)

    Google Scholar 

  14. Luo, Z.: Coercive subtyping. J. Logic and Computation 9(1), 105–130 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  15. Muñoz, C.: A Calculus of Substitutions for Incomplete-Proof Representation in Type Theory, November 1997. PhD thesis, INRIA (1997)

    Google Scholar 

  16. Pollack, R.: Dependently typed records in type theory. Formal Aspects of Computing 13, 386–402 (2002)

    Article  MATH  Google Scholar 

  17. Saibi, A.: Typing algorithm in type theory with inheritance. In: The 24th Annual ACM SIGPLAN - SIGACT Symposium on Principle of Programming Language (POPL) (1997)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Marino Miculan Ivan Scagnetto Furio Honsell

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Sacerdoti Coen, C., Tassi, E. (2008). Working with Mathematical Structures in Type Theory. In: Miculan, M., Scagnetto, I., Honsell, F. (eds) Types for Proofs and Programs. TYPES 2007. Lecture Notes in Computer Science, vol 4941. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-68103-8_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-68103-8_11

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-68084-0

  • Online ISBN: 978-3-540-68103-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics