(** Compatibility of [eval_binop] with respect to [Val.inject]. *)

Lemma eval_binop_compat:
forall f op v1 tv1 v2 tv2 v m tm,
eval_binop op v1 v2 m = Some v ->
Val.inject f v1 tv1 ->
Val.inject f v2 tv2 ->
Mem.inject f m tm ->
exists tv,
eval_binop op tv1 tv2 tm = Some tv
/\ Val.inject f v tv.