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.
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
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)
Bailey, A.: The Machine-Checked Literate Formalisation Of Algebr. In: Type Theory. PhD thesis, University of Manchester (1998)
Barthe, G.: Implicit coercions in type systems. In: Berardi, S., Coppo, M. (eds.) TYPES 1995. LNCS, vol. 1158, pp. 1–15. Springer, Heidelberg (1996)
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)
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)
Chen, G.: Subtyping, Type Conversion and Transitivity Elimination. PhD thesis, University Paris 7 (1998)
Chen, G.: Coercive subtyping for the calculus of constructions. In: The 30th Annual ACM SIGPLAN - SIGACT Symposium on Principle of Programming Language (POPL) (2003)
Coquand, T., Pollack, R., Takeyama, M.: A logical framework with dependently typed records. Fundamenta Informaticae 65(1-2), 113–134 (2005)
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)
Dybjer, P.: A general formulation of simultaneous inductive-recursive definitions in type theory. Journal of Symbolic Logic 65(2) (2000)
Gonthier, G.: A computer-checked proof of the four-colour theorem. Available at: http://research.microsoft.com/~gonthier/4colproof.pdf
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
Luo, Z.: An Extended Calculus of Constructions. PhD thesis, University of Edinburgh (1990)
Luo, Z.: Coercive subtyping. J. Logic and Computation 9(1), 105–130 (1999)
Muñoz, C.: A Calculus of Substitutions for Incomplete-Proof Representation in Type Theory, November 1997. PhD thesis, INRIA (1997)
Pollack, R.: Dependently typed records in type theory. Formal Aspects of Computing 13, 386–402 (2002)
Saibi, A.: Typing algorithm in type theory with inheritance. In: The 24th Annual ACM SIGPLAN - SIGACT Symposium on Principle of Programming Language (POPL) (1997)
Author information
Authors and Affiliations
Editor information
Rights 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)