The module rings.finite_field_element defines the following classes:
classFiniteFieldElement
An element of a finite field.
Create elements by first defining the finite field F, then use
the notation F(n), for n an integer. or let a = F.gen() and
write the element in terms of a.