Given straight-line programs u = [u1, ..., um] and v = [v1, ..., vn] belonging to the same SLP-group G, return a straight-line program corresponding to the product of u and v. It is clear that the straight-line program [u1, ..., um, v1, ..., vn, um vn] satisfies the formal definition. In practice, the ui and vi need not be distinct, so the resulting program may be shorter.
Given an integer m and a straight-line program u, return the straight-line program corresponding to the m-th power of u.
Given straight-line programs u and v, return the straight-line program corresponding to the conjugate of u by v.
Given a straight-line program u, return the number of multiplication, power or conjugate operations required to evaluate a homomorphism on u.
The functions described here provide access to basic information stored for an SLP-group G.
The i-th generator for G.
A set containing the generators for G.
The number of generators for B.
The parent group G of the straight-line program u.