"Source: Text/Group/GrpFP.text";
"Line: 5402";
"Date: Mon May 17 16:13:13 2021";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Group/GrpFP.text, line: 5402
// Example: H78E42 ()
print "Example: H78E42";
ei := GetEchoInput();
SetEchoInput(true);
F<x,y> := FPGroup< x, y | x^3 = 1, y^3 = 1, (x*y)^4 = 1,
                        (y*y^x)^2 = y^x*y >;          
H<a,b> := sub<F | (x*y)^2, y >;
Index(F,H);
assert $1 eq 1;
H;
Rewrite(F, ~H);
H;
Order(DeleteRelation(H,5)) eq Order(H);
assert $1;
SetEchoInput(ei);
