(** Consequently, all machine registers or stack slots mentioned by one of the instructions of function [f] are within bounds. *)

(* Specifications: *)
Lemma mreg_is_within_bounds:
forall i, In i f.(fn_code) ->
forall r, defined_by_instr r i ->
mreg_within_bounds function_bounds r.
Lemma slot_is_within_bounds:
forall i, In i f.(fn_code) ->
forall sl ty ofs, In (sl, ofs, ty) (slots_of_instr i) ->
slot_within_bounds function_bounds sl ofs ty.
Lemma slots_of_locs_charact:
forall sl ofs ty l, In (sl, ofs, ty) (slots_of_locs l) <-> In (S sl ofs ty) l.