refactored ladr to tptp translation