rewrite works for = but not for <-> (iff) in Coq
问题 I have the following during a proof, in which I need to replace normal_form step t with value t as there is a proven theorem that there are equivalent. H1 : t1 ==>* t1' /\ normal_form step t1' t2' : tm H2 : t2 ==>* t2' /\ normal_form step t2' ______________________________________(1/1) exists t' : tm, P t1 t2 ==>* t' /\ normal_form step t' The equivalence theorem is: Theorem nf_same_as_value : forall t : tm, normal_form step t <-> value t Now, I can use this theorem to rewrite normal_form