"Source: Text/Commut/RngDiff.text";
"Line: 2843";
"Date: Wed Sep 19 23:00:01 2018";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Commut/RngDiff.text, line: 2843
// Example: H118E51 ()
print "Example: H118E51";
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);
