"Source: Text/LieTheory/RootDtm.text";
"Line: 2251";
"Date: Thu Jun 16 15:04:46 2022";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/LieTheory/RootDtm.text, line: 2251
// Example: H104E21 ()
print "Example: H104E21";
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);
