# Factor[p(x), a, b] not working in Galois theory package

I have downloaded Galois theory package from http://library.wolfram.com/infocenter/Articles/2872/ and I currently have Mathematica v 12.0.

When I loaded the module (I needed to delete the blue stuff in the beginning for it to work properly), I entered these commands into notepad:

Define[a^3, 2]
Define[b^2, -a^2-ab]
Factor[x^3-2, a, b]


As per the notebook file, this should output

(-a + X) (-b + X) (a + b + X)


But this is outputting

(-a+X)(a^2+ax+x^2)


Why ?

(Also when I load the package, it's showing some errors like Tag Norm in Norm[Poly_, a Symbol] is protected])

I am a complete noob in mathematica so don't bash me if this turns out to be a trivial issue.

• Just a guess, but I suspect you want ab to mean a*b in which case there should be either a space or an explicit multiplication (the asterisk) in that second Define. – Daniel Lichtblau Aug 27 at 15:18