Hint Resolve match_env_update_dest: rtlg.
(** A variant of [match_env_update_var] corresponding to the assignment of the result of a builtin. *)

Lemma match_env_update_res:
forall map res v e le tres tv rs,
Val.lessdef v tv ->
map_wf map ->
tr_builtin_res map res tres ->
match_env map e le rs ->
match_env map (set_builtin_res res v e) le (regmap_setres tres tv rs).