"Source: Text/Commut/RngDiff.text";
"Line: 264";
"Date: Wed Sep 19 23:00:01 2018";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Commut/RngDiff.text, line: 264
// Example: H118E4 ()
print "Example: H118E4";
ei := GetEchoInput();
SetEchoInput(true);
F<z> := RationalDifferentialField(Rationals());
F.1;
two := F!2;
two;
assert $1 eq 2;
Parent(two) eq F;
assert $1;
Zero(F); One(F);
Parent(Zero(F)) eq F and Parent(Identity(F)) eq F;
assert $1;
elt := SeparatingElement(F);
elt;
ISA(Type(elt),RngDiffElt);
assert $1;
Parent(elt) eq F;
assert $1;
elt eq F!SeparatingElement(UnderlyingRing(F));
assert $1;
SetEchoInput(ei);
