I'm interested in Buchberger's criterion for determining if G={g_1,....,g_n} is a Grobner basis for the ideal it generates. In the procedure, I consider the S-polynomial S(g_i,g_j) and check if it has remainder zero upon division by G in any order.
My question is if Buchberger's criterion holds if one use a different order of G for each i,j rather than a fixed but arbitrary choice of order of G for all i,j.
In other words, could G be falsely Grobner even if S(g_i,g_j) has remainder 0 by dividing by G in different orders depending on (i,j)?