"Source: Text/Group/GrpFP.text";
"Line: 4887";
"Date: Mon May 17 16:13:13 2021";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Group/GrpFP.text, line: 4887
// Example: H78E35 ()
print "Example: H78E35";
ei := GetEchoInput();
SetEchoInput(true);
G<a,b> := DihedralFPGroup(0);
H := sub< G | a*b, a^10 >;
Index(G, H);
assert $1 eq 10;
RT, transmap := Transversal(G, H);
RT;
transmap;
LT := {@ x^-1 : x in RT @};
LT;
ct := CosetTable(G, H);
forall(culprit){ i : i in [1..Index(G, H)]
                   | ct(1, RT[i]) eq i};
assert $1;
action := func< r, g | RT[ct(Index(RT, r), g)] >;
action(Id(G), b); 
action(a^-4, a*b);
SetEchoInput(ei);
