/* presentation on standard generators for J2:2 */ PresentationJ2Autm := function (G : UserGenerators := [], Projective := false) Fct := Projective select ProjectiveOrder else Order; if #UserGenerators eq 0 then UserGenerators := [G.i : i in [1..Ngens (G)]]; end if; if #UserGenerators ne 2 then "Require 2 user generators"; return false; end if; c := UserGenerators[1]; d := UserGenerators[2]; return Fct (c) eq 2 and Fct (d) eq 5 and Fct (c*d) eq 14 and Fct ((c,d)) eq 7 and Fct (c*d*c*d*c*d^-2*c*d^-2) eq 3 and Fct ((c,d*c*d)) eq 3 and Fct ((c*d*c*d*c*d^2)^3*c*d^-1*c*d*c*d*c*d^-1*c*d^2) eq 1; end function;