L' = mingens L
The set of generators is minimal if it has empty intersection with the set of sums of non-zero generators.
It would have been nicer to overload mingens to accept a list.
i1 : L = semigroup {3,7} o1 = {0, 3, 6, 7, 9, 10, 12, 13, 14} o1 : List
i2 : mingens L o2 = {3, 7} o2 : List