Polynomial ring with complex elements.
I am trying to define the polynomial ring Z[j] where j is a primitive 3rd root of unity, i.e. j=e23πi∈C.
I tried this:
P.<x> = PolynomialRing(QQ)
j = exp((2/3)*pi*i)
P[j]
But I get the error:
NotImplementedError: ring extension with prescribed embedding is not implemented