The theory of algebraic
numbers is developed in the context of abstract fields with equality and inequality. Of
classical interest is that any commutative local ring without nilpotent elements may
be considered a field in this context. Procedures are given for deciding whether two
complex algebraic numbers are equal or not, for factoring polynomials over algebraic
number fields and for deciding whether a given algebraic number is in a given
algebraic number field.