← All papers

Group Cohomology in the Lean Community Library

Amelia Livingston

cs.LO Jul 31, 2023 · v1
Formalizes group cohomology as derived functors and explicit cochains in Lean mathlib.
This paper describes the formalization of group cohomology in Lean's mathlib library. It covers the construction of group cohomology as the derived functors of the invariants functor, the explicit cochain complex computing it, and the long exact sequence in cohomology, contributing both mathematical content and API design insights for large-scale formalization projects.

Group cohomology, a central tool in algebra and number theory, lacked a machine-checked formalization in Lean's mathlib library. Both the abstract derived-functor construction and the concrete cochain complex computing it needed to be formalized with appropriate API design for a large-scale library.

The paper describes the formalization of group cohomology in mathlib as derived functors of the invariants functor, along with the explicit cochain complex computing it and the long exact sequence in cohomology. The work addresses API design challenges for making the formalization reusable within a large library ecosystem.

Group cohomology is formalized and contributed to mathlib, covering the derived-functor definition, the explicit cochain complex, and the long exact sequence. The paper provides API design insights relevant to other large-scale formalization efforts.