Ask Your Question

Revision history [back]

Minimal Polynomial over specified field

Is it possible to get a minimal polynomial over a custom field? For example, say I define the below:

F.<a,b> = QQ[sqrt(2), sqrt(7)]
p = sqrt(6)
p.minpoly()

This gives me the minimal polynomial of sqrt(6) in QQ, Is there a way to ask sage for the minimal polynomial of p in F?