Skip to content

math-comp/math-comp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipeline status Join the chat

The Mathematical Components repository

The Mathematical Components Library is an extensive and coherent repository of formalized mathematical theories. It is based on the Coq/Rocq proof assistant, powered with the SSReflect language.

These formal theories cover a wide spectrum of topics, ranging from the formal theory of general purpose data structures like lists, prime numbers or finite graphs, to advanced topics in algebra. The repository includes the foundation of formal theories used in a formal proof of the Four Colour Theorem (Appel-Haken, 1976) and a mechanization of the Odd Order Theorem (Feit-Thompson, 1963), a landmark result of finite group theory, which utilizes the library extensively.

Installation

If you already have OPAM installed (a fresh or up to date version of opam 2 is required):

opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-mathcomp-ssreflect

Additional packages go by the name of coq-mathcomp-algebra, coq-mathcomp-field, etc... See INSTALL for detailed installation instructions in other scenarios.

How to get help

About the stability of the MathComp library

  • The MathComp library has been regularly released since 2008. Recently, we have been releasing a new version twice a year, in line with the released of the Coq/Rocq proof assistant.
  • Changes are documented systematically in CHANGELOG.md and CHANGELOG_UNRELEASED.md.
  • We use deprecation warnings to help transitioning to new versions (see CONTRIBUTING.md for details about the deprecation policy).

Publications and Tools using MathComp

A collection of papers using the Mathematical Components library