A formal proof of the Four Color Theorem in Coq, including supporting theories for real numbers, plane topology, and combinatorial hypermaps.
Fourcolor is a Coq library containing a formal proof of the Four Color Theorem, a landmark result in graph theory stating that any planar map can be colored using at most four colors. It provides the complete machine-verified proof along with supporting theories needed to state and prove the theorem, including axiomatization of real numbers and plane topology definitions.
Researchers and practitioners in formal verification, theorem proving, and mathematical logic who need a verified implementation of the Four Color Theorem or foundational theories for real numbers and combinatorial hypermaps.
It offers the only complete, machine-checked formal proof of the Four Color Theorem available in Coq, built on the robust Mathematical Components library with modular installation options for different components.
Formal proof of the Four Color Theorem [maintainer=@ybertot]
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a machine-checked proof of the Four Color Theorem in Coq, offering absolute certainty of correctness without reliance on human verification.
Includes axiomatization of classical real numbers and plane topology definitions, essential for rigorously stating and proving the theorem within Coq.
Built on the established Mathematical Components library, ensuring a structured and reliable foundation for formal mathematics, as highlighted in the README.
Allows separate installation of the real numbers component via opam, providing flexibility for users interested only in that part of the formalization.
Requires Coq 8.20 or later, MathComp ssreflect, algebra, and Hierarchy Builder, making initial installation and configuration non-trivial and time-consuming.
Focuses solely on proof verification and does not provide executable code or algorithms for real-world map coloring, limiting its utility outside academic research.
Relies heavily on the Coq ecosystem and specific libraries, which may have limited support, documentation, or community outside formal verification circles.