"Source: Text/Commut/RngDiff.text";
"Line: 2843";
"Date: Thu Sep 25 14:47:46 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Commut/RngDiff.text, line: 2843
// Example: H121E51 ()
print "Example: H121E51";
ei := GetEchoInput();
SetEchoInput(true);
F<z> := RationalDifferentialField(Rationals());
R<D> := DifferentialOperatorRing(F);
L1 := D;
L2 := (D-3)*(D+z);
EuclideanRightDivision(L1, L2);
Q, R := EuclideanRightDivision(L2, L1);
Q, R;
L2 eq Q*L1+R;
assert $1;
EuclideanLeftDivision(L2, L1);
S, T := EuclideanLeftDivision(L1, L2);
S, T;
L2 eq L1*S+T;
assert $1;
SetEchoInput(ei);
