X := "xyzt";
Ordering := "LLEX";
Relations:=[];
F1 := [[1,"xx"], [-1,"yx"]];
F2 := [[1,"xy"], [-1,"ty"]];
F3 := [[1,"xt"], [-1, "tx"]];
F4 := [[1,"yt"], [-1, "ty"]];
G := [F1, F2,F3,F4];
NCo.MRHF(X, Ordering, Relations, G, 5); --G is a partical Groebner basis
[1, 4, 12, 36, 108, 324]
-------------------------------
G:= [[[1, "yt"], [-1, "ty"]], [[1, "xt"], [-1, "tx"]], [[1, "xy"], [-1, "ty"]], [[1, "xx"], [-1, "yx"]],
[[1, "tyy"], [-1, "tty"]], [[1, "yyx"], [-1, "tyx"]]];
NCo.MRHF(X, Ordering, Relations, G, 5); --G is a Groeber basis (w.r.t. LLEX) of the two-sided ideal generated by G
[1, 4, 12, 34, 100, 292]
-------------------------------
|