simplify_presentation(G) returns a simplified isomorphic copy of the
FpGroup G; simplify_presentation(gens, rels) simplifies the lists of
generators and relators and returns both. With change_gens = TRUE
redundant generators are removed. elimination_technique_1() and
elimination_technique_2() are the Tietze transformations SymPy uses.
Usage
simplify_presentation(..., change_gens = FALSE)
elimination_technique_1(gens, rels, identity)
elimination_technique_2(C)Examples
g <- free_group("x, y")
x <- g[[2]]; y <- g[[3]]
fp_str(simplify_presentation(FpGroup(g[[1]], list(x^2, x^5, y^3)))$relators)
#> [1] "[x, y^3]"