Gröbner Bases for Boolean Function Minimization

Abstract Boolean function minimization techniques try to find, for a given formula, a smaller equivalent formula. In this work, we present a novel technique for heuristic multi-level Boolean function minimization. By using an algebraic encoding, we embed the minimization problem into an algebraic domain, where algorithms for computing Gröbner bases become applicable. A Gröbner basis usually forms a compact representation of our encoded function. From the Gröbner basis, we then reconstruct an equivalent, more compact Boolean formula. The minimized formula is in the language of Boolean formulas with negation, conjunction, disjunction and exclusive-or operations. To the best of our knowledge, our approach is the first to use Gröbner bases for function minimization. We evaluate our approach on Boolean formulas created from arithmetic operations as well as on random formulas. Compared to state-of-the-art exact minimization algorithms, our approach can handle formulas with up to three times as many variables. Empirically, we obtain very compact formulas. In particular, our algorithm is especially efficient if there exists a comparatively small equivalent formula or if the minimized formula contains exclusive-or operations. In practice, such functions occur e.g. in embedded systems or cryptography. Overall, our approach forms a new, interesting trade-off between result minimality and runtime.

Authors

Institutions

Publication Details

Journal
Mathematics in Computer Science
Published
2025-07-26
DOI
https://doi.org/10.1007/s11786-025-00602-8
Primary Topic
Formal Methods in Verification
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Gröbner Bases for Boolean Function Minimization

Simon Schwarz, Nicolas Faroß
Mathematics in Computer Science
Formal Methods in Verification
article

Gröbner Bases for Boolean Function Minimization

Simon Schwarz, Nicolas Faroß
article en

Abstract

Abstract Boolean function minimization techniques try to find, for a given formula, a smaller equivalent formula. In this work, we present a novel technique for heuristic multi-level Boolean function minimization. By using an algebraic encoding, we embed the minimization problem into an algebraic domain, where algorithms for computing Gröbner bases become applicable. A Gröbner basis usually forms a compact representation of our encoded function. From the Gröbner basis, we then reconstruct an equivalent, more compact Boolean formula. The minimized formula is in the language of Boolean formulas with negation, conjunction, disjunction and exclusive-or operations. To the best of our knowledge, our approach is the first to use Gröbner bases for function minimization. We evaluate our approach on Boolean formulas created from arithmetic operations as well as on random formulas. Compared to state-of-the-art exact minimization algorithms, our approach can handle formulas with up to three times as many variables. Empirically, we obtain very compact formulas. In particular, our algorithm is especially efficient if there exists a comparatively small equivalent formula or if the minimized formula contains exclusive-or operations. In practice, such functions occur e.g. in embedded systems or cryptography. Overall, our approach forms a new, interesting trade-off between result minimality and runtime.

Mathematics in Computer ScienceVol. 19(1)
Max Planck Institute for Informatics (DE), Laboratoire d'Informatique en Images et Systèmes d'Information (FR), Saarland University (DE)
Openalex Percentile: Top 100%
Formal Methods in Verification
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Gröbner Bases for Boolean Function Minimization — Simon Schwarz, Nicolas Faroß · Mathematics in Computer Science (2025) | TGRS Research Map | TGRS