Formalization of Auslander--Buchsbaum--Serre criterion in Lean4
Naillin Guan, Yongle Hu
TL;DR
This work presents a comprehensive Lean4 formalization of the Auslander--Buchsbaum--Serre criterion, anchoring regularity of Noetherian local rings to finite global dimension via a depth framework built on Ext vanishing. It develops depth, AB formula, Ischebeck, and Cohen--Macaulay theory (including unmixedness and universal catenarity), culminating in a weakened Ferrand--Vasconcelos route to deduce regularity from finite projective dimension of the maximal ideal. A key strategy is proving that maximal Cohen--Macaulay modules over regular local rings are free, which together with AB yields the equality gldim = dim for regular local rings and supports the AB--Serre criterion. The project also delivers substantial infrastructure for future formalizations in commutative algebra, including extensions to Cohen--Macaulay theory over arbitrary rings and related flatness/normality themes, with Hilbert's Syzygy Theorem as a notable corollary.
Abstract
We present a comprehensive formalization in the Lean4 theorem prover of the Auslander--Buchsbaum--Serre criterion, which characterizes regular local rings as those Noetherian local rings with finite global dimension. Rather than following the well-known proof that computes the projective dimension of the residue field via quotient by regular sequences and uses the Koszul complex to bound the cotangent space dimension by the global dimension, our approach is built systematically on the formalization of depth defined via the vanishing of Ext functors. We establish key homological results including Rees' theorem, the Auslander--Buchsbaum formula, and Ischebeck's theorem, and further develop the theories of Cohen--Macaulay modules and rings, including a complete formalization of the unmixedness theorem for Cohen--Macaulay rings. To prove the Auslander--Buchsbaum--Serre criterion, we show that maximal Cohen--Macaulay modules over regular local rings are free and establish a weakened form of the Ferrand--Vasconcelos theorem specific for the unique maximal ideal. As corollaries, we deduce that regularity can be checked at maximal ideals and formalize Hilbert's Syzygy Theorem. This work demonstrates how homological algebra can be effectively employed in the formalization of commutative algebra, providing extensive infrastructure for future developments in the field.
