Prove:

(factor(X,Y)) and (factor(Y,Z))=> factor(X,Z)

Given:

AxiomDefinition
factor integer(X) and any(X) and integer(Y) and any(Y) and integer(Z) and exists(Z) and factor(X,Y)<=> X * Z = Y ;