"Source: Text/Ring/FldFunG.text";
"Line: 6606";
"Date: Thu Jun 16 15:04:46 2022";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Ring/FldFunG.text, line: 6606
// Example: H45E38 ()
print "Example: H45E38";
ei := GetEchoInput();
SetEchoInput(true);
R<x> := FunctionField(GF(9));
P<y> := PolynomialRing(R);
f := y^4 + (2*x^5 + x^4 + 2*x^3 + x^2)*y^2 + x^8 
     + 2*x^6 + x^5 +x^4 + x^3 + x^2;
F<a> := FunctionField(f);
Genus(F);
assert $1 eq 7;
NumberOfPlacesDegECF(F, 2);
assert $1 eq 28;
P := RandomPlace(F, 2);
P;
LocalUniformizer(P);
TwoGenerators(P);
ResidueClassField(P);
Evaluate(1/LocalUniformizer(P), P);
Valuation(1/LocalUniformizer(P), P);
assert $1 eq -1;
SetEchoInput(ei);
