Skip to main content
Top

2019 | OriginalPaper | Chapter

The Coq Library as a Theory Graph

Authors : Dennis Müller, Florian Rabe, Claudio Sacerdoti Coen

Published in: Intelligent Computer Mathematics

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Representing proof assistant libraries in a way that allows further processing in other systems is becoming increasingly important. It is a critical missing link for integrating proof assistants both with each other or with peripheral tools such as IDEs or proof checkers. Such representations cannot be generated from library source files because they lack semantic enrichment (inferred types, etc.) and only the original proof assistant is able to process them. But even when using the proof assistant’s internal data structures, the complexities of logic, implementation, and library still make this very difficult.
We describe one such representation, namely for the library of Coq, using OMDoc theory graphs as the target format. Coq is arguably the most formidable of all proof assistant libraries to tackle, and our work makes a significant step forward.
On the theoretical side, our main contribution is a translation of the Coq module system into theory graphs. This greatly reduces the complexity of the library as the more arcane module system features are eliminated while preserving most of the structure. On the practical side, our main contribution is an implementation of this translation. It takes the entire Coq library, which is split over hundreds of decentralized repositories, and produces easily-reusable OMDoc files as output.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
[APS+03]
go back to reference Asperti, A., Padovani, L., Sacerdoti Coen, C., Guidi, F., Schena, I.: Mathematical knowledge management in HELM. Ann. Math. Artif. Intell. 38(1–3), 27–46 (2003)MathSciNetMATHCrossRef Asperti, A., Padovani, L., Sacerdoti Coen, C., Guidi, F., Schena, I.: Mathematical knowledge management in HELM. Ann. Math. Artif. Intell. 38(1–3), 27–46 (2003)MathSciNetMATHCrossRef
[Ass15]
go back to reference Assaf, A.: A framework for defining computational higher-order logics. Ph.D. thesis, École Polytechnique (2015) Assaf, A.: A framework for defining computational higher-order logics. Ph.D. thesis, École Polytechnique (2015)
[BB12]
go back to reference Boespflug, M., Burel, G.: CoqInE: translating the calculus of inductive constructions into the lambda pi-calculus modulo. In: Pichardie, D., Weber, T. (eds.) Proof Exchange for Theorem Proving (2012) Boespflug, M., Burel, G.: CoqInE: translating the calculus of inductive constructions into the lambda pi-calculus modulo. In: Pichardie, D., Weber, T. (eds.) Proof Exchange for Theorem Proving (2012)
[BCH12]
go back to reference Boespflug, M., Carbonneaux, Q., Hermant, O.: The \(\lambda \Pi \)-calculus modulo as a universal proof language. In: Pichardie, D., Weber, T. (eds.) Proceedings of PxTP2012: Proof Exchange for Theorem Proving, pp. 28–43 (2012) Boespflug, M., Carbonneaux, Q., Hermant, O.: The \(\lambda \Pi \)-calculus modulo as a universal proof language. In: Pichardie, D., Weber, T. (eds.) Proceedings of PxTP2012: Proof Exchange for Theorem Proving, pp. 28–43 (2012)
[CK18]
[CMR16]
go back to reference Codescu, M., Mossakowski, T., Rabe, F.: Selecting colimits for parameterisation and networks of specifications. In: Roggenbach, M., James, P. (eds.) Workshop on Algebraic Development Techniques (2016) Codescu, M., Mossakowski, T., Rabe, F.: Selecting colimits for parameterisation and networks of specifications. In: Roggenbach, M., James, P. (eds.) Workshop on Algebraic Development Techniques (2016)
[Coq15]
go back to reference Coq Development Team: The Coq proof assistant: reference manual. Technical report, INRIA (2015) Coq Development Team: The Coq proof assistant: reference manual. Technical report, INRIA (2015)
[HHP93]
[IKRU13]
go back to reference Iancu, M., Kohlhase, M., Rabe, F., Urban, J.: The Mizar mathematical library in OMDoc: translation and applications. J. Autom. Reason. 50(2), 191–202 (2013)MathSciNetMATHCrossRef Iancu, M., Kohlhase, M., Rabe, F., Urban, J.: The Mizar mathematical library in OMDoc: translation and applications. J. Autom. Reason. 50(2), 191–202 (2013)MathSciNetMATHCrossRef
[KR16]
go back to reference Kohlhase, M., Rabe, F.: QED reloaded: towards a pluralistic formal library of mathematical knowledge. J. Formaliz. Reason. 9(1), 201–234 (2016)MathSciNet Kohlhase, M., Rabe, F.: QED reloaded: towards a pluralistic formal library of mathematical knowledge. J. Formaliz. Reason. 9(1), 201–234 (2016)MathSciNet
[MAH06]
go back to reference Mossakowski, T., Autexier, S., Hutter, D.: Development graphs - proof management for structured specifications. J. Log. Algebr. Program. 67(1–2), 114–145 (2006)MathSciNetMATHCrossRef Mossakowski, T., Autexier, S., Hutter, D.: Development graphs - proof management for structured specifications. J. Log. Algebr. Program. 67(1–2), 114–145 (2006)MathSciNetMATHCrossRef
[Sac19]
go back to reference Sacerdoti Coen, S.: A plugin to export Coq libraries to XML. In: 12th International Conference on Intelligent Computer Mathematics, CICM 2019. Lecture Notes in Artificial Intelligence (2019) Sacerdoti Coen, S.: A plugin to export Coq libraries to XML. In: 12th International Conference on Intelligent Computer Mathematics, CICM 2019. Lecture Notes in Artificial Intelligence (2019)
Metadata
Title
The Coq Library as a Theory Graph
Authors
Dennis Müller
Florian Rabe
Claudio Sacerdoti Coen
Copyright Year
2019
DOI
https://doi.org/10.1007/978-3-030-23250-4_12

Premium Partner