"Source: Text/Algebra/AlgFP.text";
"Line: 305";
"Date: Thu Sep 25 14:47:46 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Algebra/AlgFP.text, line: 305
// Example: H91E1 ()
print "Example: H91E1";
ei := GetEchoInput();
SetEchoInput(true);
K := RationalField();
F<x,y,z> := FreeAlgebra(K, 3);
h := hom<F -> F | x*y, y*x, z*x>;
h(x);
h(y);
h(x*y);
h(x + y + z);
A := MatrixAlgebra(K, 2);
M := [A | [1,1,-1,1], [-1,3,4,1], [11,7,-7,8]];                       
M;
h := hom<F -> A | M>;                                            
h(x);
h(y);
h(x*y - y*z);
SetEchoInput(ei);
