Improve the conversion of Oscar/Flint polynomials to/from Singular: several problems
function (F::N_ZpField)(a::Nemo.fpFieldElem)
characteristic(F) == characteristic(parent(a)) || error("characteristic does not match")
return F(lift(a))
end
and related: - characteristic is Int in both cases, but compared as BigInt
- internal representation is the same: an Int between 0 and p-1
Singular has internal routines for conversion between flint (fmpq_poly_t,nmod_poly_t) and Singular (poly),
but unused here