equation proofs for functor eq and tidying of equality utils