In ``_minpoly1`` used the groebner algorithm for some products.

The minimal polynomial of products of rational powers of integers are
computed much faster in some cases using the groebner method.