"Source: Text/Algebra/AlgFP.text";
"Line: 685";
"Date: Thu Apr  1 12:39:47 2021";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Algebra/AlgFP.text, line: 685
// Example: H89E3 ()
print "Example: H89E3";
ei := GetEchoInput();
SetEchoInput(true);
K := RationalField();
F<x,y,z> := FreeAlgebra(K, 3);
g := x*y + y*z;
g;
Evaluate(g, [1,2,3]);
assert $1 eq 8;
Parent($1);
Evaluate(g, [y,x,z]);
Parent($1);
SetEchoInput(ei);
