What is the right (and most stable) way to convert polynomials over number fields to a corresponding pari object? I want to work with polynomials over number fields in sage using methods from pari (for example pari's rnfpolredabs).
The following code raises a PariError (incorrect priority in gtopoly: variable y <= t), and it persists if I rename the sage variables. R.<x> = QQ[] K = NumberField(x^2+2, "k") pK = pari(K) print("pK:",pK) #uses variable "y" S.<t> = K[] g = t^3 + 2 pg = pari(g) print("pg:",pg) I used Sage 9.0 and 8.8. Thanks, Benjamin -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/76479a30-6919-4a93-b145-cf43cac04998%40googlegroups.com.