Fourcolor
Formal proof of the Four Color Theorem [maintainer=@ybertot]
Install / Use
/learn @rocq-community/FourcolorREADME
The Four Color Theorem
This library contains a formal proof of the Four Color Theorem in Coq, along with the theories needed to support stating and then proving the Theorem. This includes an axiomatization of the setoid of classical real numbers, basic plane topology definitions, and a theory of combinatorial hypermaps.
Meta
- Author(s):
- Georges Gonthier (initial)
- Coq-community maintainer(s):
- Yves Bertot (@ybertot)
- License: CeCILL-B
- Compatible Coq versions: 8.20 or later
- Additional dependencies:
- MathComp ssreflect 2.5.0 or later
- MathComp algebra
- Hierarchy Builder 1.5.0 or later
- Coq namespace:
fourcolor - Related publication(s):
Building and installation instructions
The easiest way to install the latest released version of The Four Color Theorem is via opam:
opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-fourcolor
If you are only interested in the formalization of real numbers, you can install it separately:
opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-fourcolor-reals
To instead build and install the whole project manually from the repository, do:
git clone https://github.com/coq-community/fourcolor.git
cd fourcolor
make # or make -j <number-of-cores-on-your-machine>
make install
Documentation
The Four Color Theorem (Appel & Haken, 1976) is a landmark result of graph theory.
The formal proof is based on the Mathematical Components library.
Related Skills
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
