Why is Galois group computation failing?

asked 2020-06-13 05:42:27 -0500

rain1 gravatar image
L = NumberField(x^2 - x - 1, 'theta')
G = L.galois_group()

works

L = NumberField(x^3 - x - 1, 'theta')
G = L.galois_group()

gives me the error

TypeError: You must specify the name of the generator.
edit retag flag offensive close merge delete

Comments

1

Because the first one is Galois, hence does not need a new name for its generator. Use G = L.galois_group(names='a') for the second one.

FrédéricC gravatar imageFrédéricC ( 2020-06-14 01:59:44 -0500 )edit