A Machine-Checked Proof of the Odd Order Theorem

Georges Gonthier, Andrea Asperti, Jeremy Avigad, Yves Bertot, Cyril Cohen, François Garillot, Stéphane Le Roux, Assia Mahboubi, Russell O'Connor, Sidi Ould Biha, Ioana Pasca, Laurence Rideau, Alexey Solovyev, Enrico Tassi, Laurent ThéryITP 2013 · DOI

TL;DR

This paper details the formal verification of the Feit-Thompson Odd Order Theorem, a foundational result in group theory, using the Coq proof assistant. The authors present a comprehensive formalization of the proof, which required developing extensive libraries of formalized mathematics and novel proof techniques.

What Problem Does This Paper Address?

The Feit-Thompson Odd Order Theorem, proven in 1963, states that every finite group of odd order is solvable. This theorem is a cornerstone in the classification of finite simple groups, but its original proof was notoriously long and complex, filling an entire issue of a journal. While subsequent efforts simplified the proof, it remained a significant challenge for formal verification due to the depth and breadth of mathematics involved, spanning group theory, linear algebra, Galois theory, and character theory. The problem addressed is the lack of a machine-checked, rigorous verification of this crucial mathematical result, which is essential for ensuring its absolute correctness and for building a foundation for further formal mathematical work.

Methods

The core of this work is the formalization of the Odd Order Theorem's proof within the Coq proof assistant, which is based on the Calculus of Inductive Constructions (CIC), a constructive dependent type theory. Key methodological contributions include:

  • Comprehensive Library Development: The authors developed extensive libraries of formalized mathematics, covering finite group theory, linear algebra, Galois theory, and complex algebraic numbers. These libraries are designed to be reusable for future formalization efforts.
  • Boolean Reflection: To manage the inherent non-decidability of equality in type theory, they employed "boolean reflection." This technique allows reasoning about propositions by reflecting them into boolean values, enabling a form of classical reasoning within the constructive framework.
  • Dependent Records and Interfaces: To manage the complexity of mathematical structures and their relationships, they utilized dependent records, which act as interfaces. This allows for multiple inheritance and flexible composition of mathematical concepts.
  • "Small Scale Reflection" (SSREFLECT): This proof language and tactic system, developed by the authors, is central to their methodology. It facilitates writing proofs that are more readable and closer to informal mathematical arguments, particularly through features like wlog for symmetry arguments and efficient handling of inequalities.
  • Canonical Structures: These are used to automate proof search by guiding unification, effectively allowing Coq to "discover" proofs for certain details, reducing the burden on the human prover.
  • Constructive Approach: A significant effort was made to ensure the entire formalization was constructive, avoiding classical axioms where possible, which aligns with the underlying logic of Coq. For areas where constructive proofs were particularly challenging (e.g., group modules), they used a "classically monadic" operator to express double negations.

Datasets

Not discussed in the paper. The paper focuses on the formalization of a mathematical proof, not on empirical evaluation using datasets.

Key Insights and Ideas

  • Formalization is Feasible for Deep Mathematics: The successful formalization of the Odd Order Theorem demonstrates that even highly complex and abstract mathematical proofs, requiring a wide range of theories, can be rigorously verified by machine.
  • The Power of Interactive Theorem Provers: Coq, with its dependent type theory and constructive logic, provides a powerful environment for formalizing mathematics. However, its effective use requires significant methodological development.
  • Bridging the Gap Between Informal and Formal Proof: The SSREFLECT system and boolean reflection are crucial for making formal proofs more accessible and manageable, allowing them to resemble more closely the style of informal mathematical arguments.
  • Reusability is Key: The extensive libraries developed for this project are a major outcome, providing a foundation for future formalizations in group theory and related fields. This highlights the importance of building modular and reusable formal components.
  • Methodological Innovation is Necessary: The complexity of the Odd Order Theorem proof necessitated novel techniques for managing mathematical structures, reasoning about equality, and automating proof search, pushing the boundaries of what is possible with proof assistants.

Key Results

  • Complete Machine-Checked Proof: The paper reports the successful formal verification of the Feit-Thompson Odd Order Theorem in the Coq proof assistant.
  • Extensive Formalized Libraries: The project resulted in a substantial library of formalized mathematics, comprising over 150,000 lines of proof scripts, including approximately 4,000 definitions and 13,000 theorems. This library covers foundational aspects of finite group theory, linear algebra, Galois theory, and character theory.
  • Constructive Formalization: The proof was achieved in a largely constructive manner, adhering to the principles of Coq's underlying logic.
  • Development of Proof Engineering Techniques: The project led to the development and refinement of techniques like boolean reflection, SSREFLECT, and canonical structures, which are now valuable tools for formalizing complex mathematics.

Limitations and Future Work

  • Complexity of Libraries: While the libraries are reusable, their development was a significant undertaking and represents the majority of the project's effort.
  • Classical Reasoning Aspects: While aiming for constructivity, some parts of the formalization (e.g., group modules) required the use of classical reasoning operators due to the difficulty of purely constructive proofs.
  • Future Work: The authors envision this work as a foundation for future formalization efforts in mathematics. The developed libraries and methodologies are expected to support further research in formalizing advanced mathematical theories and proofs. The success of this project suggests readiness for "theorem proving in the large."

Summary updated

BibTeX
@inproceedings{gonthier2013machine,
  author = {Georges Gonthier and Andrea Asperti and Jeremy Avigad and Yves Bertot and Cyril Cohen and François Garillot and Stéphane Le Roux and Assia Mahboubi and Russell O'Connor and Sidi Ould Biha and Ioana Pasca and Laurence Rideau and Alexey Solovyev and Enrico Tassi and Laurent Théry},
  title = {{A Machine-Checked Proof of the Odd Order Theorem}},
  booktitle = {ITP},
  year = {2013},
  doi = {10.1007/978-3-642-39634-2\_14},
}
Figure