arXiv · 2602.12772
Formalizing Gröbner Basis Theory in Lean
Abstract
We present a formalization of Gröbner basis theory in Lean 4, built on top of Mathlib's infrastructure for multivariate polynomials and monomial orders. Our development covers the core foundations of Gröbner basis theory, including polynomial division with remainder, Buchberger's criterion, and the existence and uniqueness of reduced Gröbner bases. We develop the theory uniformly for polynomial rings indexed by arbitrary types, enabling the treatment of Gröbner bases in rings with infinitely many variables. Furthermore, we connect the finite and infinite settings by showing that infinite-variable reduced Gröbner bases can be characterized via reduced Gröbner bases on finite-variable subrings through monomial-order embeddings and filter-based limit constructions.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Junyu Guo, Hao Shen, Junqi Liu, Lihong Zhi. 2026-02-13. Formalizing Gröbner Basis Theory in Lean. https://arxiv.org/abs/2602.12772
Cite the original work for its findings. Save a collection to share your selection of sources.