Skip to main content
Top
Published in: Journal of Automated Reasoning 5/2020

31-01-2020

Graph Theory in Coq: Minors, Treewidth, and Isomorphisms

Authors: Christian Doczkal, Damien Pous

Published in: Journal of Automated Reasoning | Issue 5/2020

Log in

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

search-config
loading …

Abstract

We present a library for graph theory in Coq/Ssreflect. This library covers various notions on simple graphs, directed graphs, and multigraphs. We use it to formalize several results from the literature: Menger’s theorem, the excluded-minor characterization of treewidth-two graphs, and a correspondence between multigraphs of treewidth at most two and terms of certain algebras.

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 "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!

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!

Footnotes
1
To be fully precise, we use the type \(\varSigma x:G.\,x \in U = \textsf {true}\), exploiting that set membership is decidable. Since equality between booleans is proof irrelevant (i.e., there is at most one proof of \(x \in U = \textsf {true}\)), this ensures that \(\left| (G|_U)\right| = |\varSigma x:G.\,x \in U| = |U|\). This is a standard technique used pervasively in the mathematical components library.
 
2
Note that \(\overline{V_2} = V_1 \setminus V_2\) if \( V_1 \cup V_2 = V\).
 
3
To be precise, the functional may call its argument on anything. However, the result may only depend on calls to smaller arguments in the domain.
 
Literature
7.
go back to reference Courcelle, B., Engelfriet, J.: Graph Structure and Monadic Second-Order Logic—A Language-Theoretic Approach, Encyclopedia of Mathematics and Its Applications, vol. 138. Cambridge University Press, Cambridge (2012)MATH Courcelle, B., Engelfriet, J.: Graph Structure and Monadic Second-Order Logic—A Language-Theoretic Approach, Encyclopedia of Mathematics and Its Applications, vol. 138. Cambridge University Press, Cambridge (2012)MATH
8.
go back to reference Diestel, R.: Graph Theory. Graduate Texts in Mathematics, 2nd edn. Springer, Berlin (2000) Diestel, R.: Graph Theory. Graduate Texts in Mathematics, 2nd edn. Springer, Berlin (2000)
12.
go back to reference Doczkal, C., Pous, D.: Completeness of an axiomatization of graph isomorphism via graph rewriting in Coq. In: Proceedings of 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP ’20), January 20–21, 2020, New Orleans, LA, USA (2020). https://doi.org/10.1145/3372885.3373831 Doczkal, C., Pous, D.: Completeness of an axiomatization of graph isomorphism via graph rewriting in Coq. In: Proceedings of 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP ’20), January 20–21, 2020, New Orleans, LA, USA (2020). https://​doi.​org/​10.​1145/​3372885.​3373831
15.
go back to reference Freuder, E.C.: Complexity of k-tree structured constraint satisfaction problems. In: Shrobe, H.E., Dietterich, T.G., Swartout, W.R. (eds.) NCAI, pp. 4–9. AAAI Press/The MIT Press (1990) Freuder, E.C.: Complexity of k-tree structured constraint satisfaction problems. In: Shrobe, H.E., Dietterich, T.G., Swartout, W.R. (eds.) NCAI, pp. 4–9. AAAI Press/The MIT Press (1990)
16.
go back to reference Freyd, P., Scedrov, A.: Categories, Allegories. Elsevier, North Holland (1990)MATH Freyd, P., Scedrov, A.: Categories, Allegories. Elsevier, North Holland (1990)MATH
17.
go back to reference Gonthier, G.: Formal proof—the four-color theorem. Not. Am. Math. Soc. 55(11), 1382–1393 (2008)MathSciNetMATH Gonthier, G.: Formal proof—the four-color theorem. Not. Am. Math. Soc. 55(11), 1382–1393 (2008)MathSciNetMATH
21.
go back to reference Kuratowski, K.: Sur le problème des courbes gauches en topologie. Fund. Math. 15, 271–283 (1930). In FrenchCrossRef Kuratowski, K.: Sur le problème des courbes gauches en topologie. Fund. Math. 15, 271–283 (1930). In FrenchCrossRef
24.
go back to reference Menger, K.: Zur allgemeinen Kurventheorie. Fund. Math. 10(1), 96–115 (1927)CrossRef Menger, K.: Zur allgemeinen Kurventheorie. Fund. Math. 10(1), 96–115 (1927)CrossRef
25.
go back to reference Nakamura, Y., Rudnicki, P.: Euler circuits and paths. Formal. Math. 6(3), 417–425 (1997) Nakamura, Y., Rudnicki, P.: Euler circuits and paths. Formal. Math. 6(3), 417–425 (1997)
31.
go back to reference Severín, D.E.: Formalization of the domination chain with weighted parameters (short paper). In: Harrison, J., O’Leary, J., Tolmach, A. (eds.) Interactive Theorem Provin (ITP 2019), LIPIcs, vol. 141, pp. 36:1–36:7. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, Wadern (2019). https://doi.org/10.4230/LIPIcs.ITP.2019.36 CrossRef Severín, D.E.: Formalization of the domination chain with weighted parameters (short paper). In: Harrison, J., O’Leary, J., Tolmach, A. (eds.) Interactive Theorem Provin (ITP 2019), LIPIcs, vol. 141, pp. 36:1–36:7. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, Wadern (2019). https://​doi.​org/​10.​4230/​LIPIcs.​ITP.​2019.​36 CrossRef
32.
go back to reference Singh, A.K., Natarajan, R.: A constructive formalization of the weak perfect graph theorem. In: Proceedings of 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP ’20), January 20–21, 2020, New Orleans, LA, USA (2020) Singh, A.K., Natarajan, R.: A constructive formalization of the weak perfect graph theorem. In: Proceedings of 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP ’20), January 20–21, 2020, New Orleans, LA, USA (2020)
Metadata
Title
Graph Theory in Coq: Minors, Treewidth, and Isomorphisms
Authors
Christian Doczkal
Damien Pous
Publication date
31-01-2020
Publisher
Springer Netherlands
Published in
Journal of Automated Reasoning / Issue 5/2020
Print ISSN: 0168-7433
Electronic ISSN: 1573-0670
DOI
https://doi.org/10.1007/s10817-020-09543-2

Other articles of this Issue 5/2020

Journal of Automated Reasoning 5/2020 Go to the issue

OriginalPaper

The MetaCoq Project

Premium Partner