41

Does anyone know of interesting applications of Gröbner bases to theoretical computer science?

Gröbner bases are used to solve multi-variate polynomial equations, an NP-hard problem in general. I was wondering whether some tractable special cases were used to provide efficient algorithms/constructions/proofs in TCS or TCS-related areas (combinatorics, coding theory).

Joshua Herman
  • 1,661
  • 17
  • 38
Dana Moshkovitz
  • 10,979
  • 1
  • 50
  • 77

12 Answers12

26

Gröbner basis computation, while EXPSPACE-complete in general, are in PSPACE over Boolean rings. This has applications in model-checking to replace BDDs: Quoc-Nam Tran, "A PSPACE Algorithm for Groebner Bases Computation in Boolean Rings", Proc. WASET, Vol. 35, Nov. 2008, ISSN 2070-3740

[NOTE] The result stating that Groebner basis computation is in PSPACE over Boolean rings seems wrong, see Mark van Hoeij, Gröbner basis in Boolean rings is not P-SPACE, arXiv:1502.07220, 2015.

[NOTE] The claim that the result stating that Groebner basis computation is in PSPACE over Boolean rings seems wrong, is wrong. The author confuses PSPACE-computability with having a polynomial size. A PSPACE function may well have exponentially long output.

Emil Jeřábek
  • 17,430
  • 3
  • 61
  • 90
Martin Schwarz
  • 5,496
  • 25
  • 41
15

There is an interesting Springer volume on applications of Gröbner bases in coding and cryptography:

Personally I'm doing my research in the algorithms for computing ideals of error locator polynomials (quite well-known concept in coding theory, especially syndrome decoding). In the case of codes from algeraic geometry error locators ideal is usually an ideal of polynomial from several variables — that's the place, where Gröbner Bases play central role. In the abovementioned volume most interesting part for me is the S. Sakata's description of BMS-algorithm and a survey of its applications for decoding algebraic geometry codes.

Artem Pelenitsyn
  • 1,103
  • 6
  • 20
14

Just heard during the 8F workshop

The original proof that network coding can be implemented in a flow network uses Gröbner bases.

Suresh Venkat
  • 32,071
  • 4
  • 95
  • 271
12

Gröbner bases have been applied to constraint satisfaction problems (see this grant). At this point Gröbner basis techniques do not appear to be useful for the applications of constraint satisfaction, since they are competing with mature search heuristics, consistency enforcement techniques, and efficient special purpose propagators -- not to mention good general-purpose SAT solvers. However, I think there are definitely theoretical uses waiting to be discovered, specifically when the Gröbner basis has reasonable size. See also the paper by Jefferson, Jeavons, Green, and van Dongen, presented at MACIS 2007 (journal version: AMAI 67 359–382, 2013, doi:10.1007/s10472-013-9365-7), which discusses some of the issues.

András Salamon
  • 19,000
  • 3
  • 64
  • 150
10

I used a Gröbner basis to help find a short proof of a new dichotomy theorem for #CSP problems over 3-regular graphs with a single binary constraint function that has complex weights (arXiv version).

There is natural equivalence relation over the set of constraint functions, namely, $f \sim g$ if $\#\operatorname{CSP}(f) = \#\operatorname{CSP}(g)$ for all possible instance graphs. For 3-regular graphs, there are fewer equivalence classes than would otherwise exist over all possible graphs. Since a dichotomy theorem only needs to prove the complexity of one constrain function in each equivalence class, this leads to a shorter proof.

The Gröbner basis is used to convert from the initial four variables needed to define a binary function to six "symmetrized variables" that are invariant in each equivalence class (see section D of the paper linked above). However, the Gröbner basis is not mentioned in the paper since its only purpose was the automated transformation from the initial four variables to the six symmetrized variables in various polynomials (which was preformed by Mathematica's GroebnerBasis).

Tyson Williams
  • 4,258
  • 2
  • 23
  • 44
9

The following paper can be seen as one application.

  • Gunnar Carlsson, Gurjeet Singh, Afra Zomorodian: Computing Multidimensional Persistence. Journal of Computational Geometry, 1(1) 2010, pages 72-100. https://doi.org/10.20382/jocg.v1i1a6

I see the authors use Buchberger's algorithm as a subroutine, and exploit the structure of their problem to prove that the running time is polynomially bounded.

Martin
  • 131
  • 4
Yoshio Okamoto
  • 3,726
  • 22
  • 32
9

Grant Passmore and others write about them in the context of SMT solvers. I'm not an expert in Groebner bases nor in SMT solvers, so it's hard for me to evaluate how well this reference answers your question.

Ohad Kammar
  • 2,677
  • 23
  • 28
9

In proof complexity the use of Gröbner bases has been proposed by Clegg, Edmonds, Impagliazzo to refute CNFs. There are cases in which this proof system outperforms Resolution exponentially but it does not seem to me that there is a real performance improvement for general instances.

It is also true that many of the lower bounds for Resolution hold for Polynomial Calculus (a proof system based on Gröbner bases). The exceptions usually are built for the characteristic of the underlying field. This means that working in $GF(2)$ can help you on some formulas but not on others.

Yet Polynomial Calculus has not been studied as much as Resolution, thus well tested heuristics are not available.

See also this this for application in cryptanalysyis (I don't know very much about that).

MassimoLauria
  • 1,841
  • 16
  • 21
7

Alekseyev and Pevzner use them in this paper to compute the $k$-break distance between two genomes in linear time. Loosely speaking, that distance is defined as the minimum number of times you need to cut a given genome into $k$ pieces and rearrange them in order to transform that genome into another given one.

Anthony Labarre
  • 3,264
  • 1
  • 25
  • 33
6

Grobner bases are used for the fastest list decoding algorithms for Reed-Solomon codes: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.320.1170&rep=rep1&type=pdf

Dana Moshkovitz
  • 10,979
  • 1
  • 50
  • 77
5

Gröbner bases have been successfully used to solve important problems in multiple view geometry in computer vision.

Jacob
  • 153
  • 5
1

Following http://arxiv.org/pdf/1502.05912.pdf sometimes grobner basis are used to decide isomorphism (when graphs are encoded by systems of equations). But this joins the use of grobner basis in refutating CNFS.

M. kanté
  • 1,046
  • 7
  • 10