Why is Galois group computation failing?

asked 2020-06-13 12:42:27 +0200

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 08:59:44 +0200 )edit