proofs using the the induction type for Eq