From ApCoCoAWiki
This article is about a function from ApCoCoA-1.


Enumerate a (partial) Groebner basis of a finitely generated two-sided ideal in a free monoid ring over the binary field F_{2}={0,1} via the Buchberger procedure.




Given a word ordering Ordering, a set Gb of non-zero polynomials is called a Groebner basis with respect to Ordering if the leading word set BLW{Gb} generates the leading word ideal BLW(<Gb>). Note that a two-sided ideal can not have finite Groebner bases.

Please note: The function(s) explained on this page is/are using the ApCoCoAServer. You will have to start the ApCoCoAServer in order to use it/them.

Please set ring environment alphabet (or set of indeterminates) X and word ordering via the functions NCo.SetX and NCo.SetOrdering, respectively, before calling this function. The default ordering is the length-lexicographic ordering ("LLEX"). For more information, please check the relevant functions.

  • @param G: a LIST of non-zero polynomials generating a two-sided ideal in the free monoid ring F_{2}<X>. Each polynomial is represented as a LIST of words (or terms) in <X>. Each word is represented as a STRING. For example, xy^2x is represented as "xyyx", and the identity is represented as the empty string "". Thus, the polynomial f=xy-y+1 is represented as F:=["xy", "y", ""]. The zero polynomial 0 is represented as the empty LIST [].

  • @return: a LIST of polynomials, which is a Groebner basis with respect to the current word ordering if there exists a finite Groebner basis and the enumerating procedure doesn't terminate due to reaching the degree bound DB or the loop bound LB, and is a partial Groebner basis otherwise.

About 3 optional parameters: for most cases we do not know whether or not there exists a finite Groebner basis beforehand. Thus, the function offers 3 optional parameters for the enumerating procedure. Note that at the moment all of the following 3 optional parameters must be used at the same time.

  • @param DB: a positive INT, which gives a degree bound of S-polynomials (or obstructions) during the enumerating procedure. When the degree bound is reached, the procedure will be interrupted and return a partial Groebner basis.

  • @param LB: a positive INT, which gives a loop bound of enumerating steps. When the LB-th enumerating step finishes, the procedure will be interrupted and return a partial Groebner basis.

  • @param OFlag: a non-negative INT, which is a multi-switch for the output of the ApCoCoAServer. If OFlag=0, the server displaces nothing on the screen. If OFlag=1, the server prints basic information on the enumerating procedure, such as the number of enumerating steps has been proceeded, the number of elements in partial Groebner basis, the number of unselected obstructions; the total number of obstructions, the number of selected obstructions, and the number of unnecessary obstructions. If OFlag=2, besides the information as OFlag=1, the server also displays explicitly the elements in partial Groebner basis and the current selected S-polynonial. Note that the initial idea of using OFlag is to trace and debug the enumerating procedure.


F1:=["aa", ""];
F2:=["bbb", ""];
F3:=["abababbabbabababbabb", ""];

[["aa", ""], ["bbb", ""], ["abbabbabab", "bbabbababa"] ["abbabababb", "babbabbaba"] 
["ababbabbab", "bbabababba"] ["abababbabb", "bababbabba"] ["babbabbabab", "abbababa"] 
["ababbabbaba", "bbabababb"] ["bbabbabababb", "abbabbaba"] ["bbabababbabb", "ababbabba"] 
["ababbabbabab", "bbababa"] ["bababbabbabab", "ababa"] ["abababbababab", "babababbababa"] 
["ababababbabab", "bababbabababa"] ["abbababababbab", "babbababababba"] ["ababbababababb", "bbababababbaba"] 
["abababbabbabab", "baba"] ["ababababbababa", "bababbababab"] ["bbabababbababab", "abababbababa"] 
["bababbababababb", "ababababbaba"] ["ababbababababba", "bbababababbab"] ["abababbabbababa", "bab"] 
["bbabbababababbab", "abbababababba"] ["abababbababbabab", "bababbababbababa"] ["abababbabbabababb", "ba"] 
["bbabababbababbabab", "ababbababbababa"] ["babbabbabbabbabbab", "abbababababababba"] ["abbabbabbabbabbaba", "bbabbababababababb"] 
["abbababbababbababa", "bababbabababababab"] ["abbabababababababb", "babbabababababbaba"] ["ababbabababababbab", "bbabababababababba"] 
["abababbabbabababba", "b"] ["bbabbababbababbabab", "ababbababababababa"] ["bbabbababababababba", "abbabbabbabbabbab"] 
["bababbababbababbabb", "abababababababbaba"] ["bababbabababababbab", "abababababababba"] ["bababbababababababa", "abbababbababbabab"] 
["ababbababbababbabba", "bbabababababababbab"] ["ababbabababababbaba", "bbabababababababb"] ["bbabbabababababababb", "abbabababababbaba"] 
["bbabababababababbaba", "ababbababbababbabb"] ["bababbababbababbabba", "abababababababbab"] ["abababbabbabababbabb", ""] 
["abbababababababababbab", "babbababababababababba"] ["ababbababbabababababab", "bababbababbabababababa"] 
["ababbababababababababb", "bbababababababababbaba"] ["babbababbababbababbabab", "abbabababababababababa"] 
["bababbababbababbababbab", "ababababababababababba"] ["abbababababababababbaba", "babbababababababababb"] 
["ababbababbababbababbaba", "bbababababababababababb"] ["ababbababababababababab", "babbabababababababababa"] 
["ababababababababababbab", "babababababababababbaba"] ["bbabbababababababababbab", "abbababababababababba"] 
["bbabbabababababababababa", "abbababbababbababbabab"] ["bbababababababababababba", "ababbababbababbababbab"] 
["abbababababababababababb", "babbababbababbababbaba"] ["ababababababababababbaba", "babababababababababbab"] 
["abababababababababababab", "babababababababababababa"] ["abbababababababababababab", "babababababababababababba"] 
["ababababababababababababb", "bbabababababababababababa"] ["bbabababababababababababab", "abababababababababababa"] 
["ababababababababababababba", "bbababababababababababab"]]

See also







Introduction to CoCoAServer