port lemmas to leq