"Source: Text/Algebra/AlgFP.text";
"Line: 1345";
"Date: Thu Apr  1 12:39:47 2021";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Algebra/AlgFP.text, line: 1345
// Example: H89E5 ()
print "Example: H89E5";
ei := GetEchoInput();
SetEchoInput(true);
F<x,y,z> := FreeAlgebra(RationalField(), 3);
I := ideal<F | (x + y)^3, (y - z)^2, y^2*z + z>;
NormalForm(y^2*z + z, I);
assert $1 eq 0;
NormalForm(x^3, I);
NormalForm(z^4 + y^2, I);
x + y in I;
assert not $1;
SetEchoInput(ei);
