"Source: Text/LieTheory/RootSys.text";
"Line: 1179";
"Date: Fri Sep 26 12:10:11 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/LieTheory/RootSys.text, line: 1179
// Example: H106E13 ()
print "Example: H106E13";
ei := GetEchoInput();
SetEchoInput(true);
R := RootSystem("G2");
Sum(R, 1, Negative(R,5));
assert $1 eq 10;
IsPositive(R, 10);
assert not $1;
Negative(R, 10);
assert $1 eq 4;
P := PositiveRoots(R);
P[1] - P[5] eq -P[4];
assert $1;
SetEchoInput(ei);
