The GroebnerWalk.jl package for OSCAR
Kamillo Ferry, Francesco Nowell
TL;DR
This work introduces GroebnerWalk.jl, an implementation of the Gröbner walk that leverages Gröbner fan geometry to transform a Gröbner basis from a start ordering to a target ordering. It implements two variants, the standard walk and the generic walk, and provides a unified interface within OSCAR with diagnostic tracing capabilities. Through experiments on zero-dimensional lex bases over $\mathbb{Q}$ and $\mathbb{F}_p$ and higher-dimensional elimination problems, the results show that the standard walk can be competitive with classical Buchberger-based methods, while the generic walk may underperform due to a naive normal-form computation and backend weight limitations. The work outlines practical improvements and future directions, including optimized normal-form computation, reduced reliance on the Singular backend by OSCAR-native implementations, and starter-order detection to reduce initial basis computation.
Abstract
Computing Gröbner bases is known to have a very high upper bound on computation time with respect to input length. Due to the connection between polyhedral geometry and Gröbner bases through the Gröbner fan, one can attempt an incremental approach to compute Gröbner bases. First computing a Gröbner basis with respect to an `easy' term order and transforming that result to a Gröbner basis with respect to the desired term order by using information about this polyhedral fan is done by a family of algorithms termed as Gröbner walk. We implemented two variants of the Gröbner walk in the computer algebra system OSCAR and compared their performance with classical Gröbner basis methods already found in OSCAR.
