"Source: Text/Ring/FldFunG.text";
"Line: 3033";
"Date: Fri Sep 26 13:15:42 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Ring/FldFunG.text, line: 3033
// Example: H46E22 ()
print "Example: H46E22";
ei := GetEchoInput();
SetEchoInput(true);
Y<t> := PolynomialRing(Integers());
R<x> := FunctionField(GF(9));
P<y> := PolynomialRing(R);
f := y^3 + y + x^5 + x + 1;
F<alpha> := FunctionField(f);
Genus(F);
assert $1 eq 4;
NumberOfPlacesDegECF(F, 1);
assert $1 eq 22;
NumberOfPlacesOfDegreeOneECFBound(F);
assert $1 eq 32;
HasRandomPlace(F, 2);
LPolynomial(F);
SetEchoInput(ei);
