"Source: Text/LieTheory/RootDtm.text";
"Line: 2158";
"Date: Thu Jun 16 15:04:46 2022";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/LieTheory/RootDtm.text, line: 2158
// Example: H104E20 ()
print "Example: H104E20";
ei := GetEchoInput();
SetEchoInput(true);
R := RootDatum("A3" : Isogeny := 2);
mx := ReflectionMatrix(R, 4);
perm := ReflectionPermutation(R, 4);
wd := ReflectionWord(R, 4);
RootPosition(R, Root(R,2) * mx) eq 2^perm;
assert $1;
perm eq &*[ ReflectionPermutation(R, r) : r in wd ];
assert $1;

mx := CoreflectionMatrix(R, 4);
CorootPosition(R, Coroot(R,2) * mx) eq 2^perm;
assert $1;
SetEchoInput(ei);
