"Source: Text/LieTheory/RootDtm.text";
"Line: 2251";
"Date: Fri Sep 26 12:10:11 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/LieTheory/RootDtm.text, line: 2251
// Example: H107E21 ()
print "Example: H107E21";
ei := GetEchoInput();
SetEchoInput(true);
R := RootDatum("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);
