A prolog technology theorem prover: a new exposition and implementation in prolog