Section MATCH_INCR.
Variables bc1 bc2: block_classification.
Hypothesis INCR: bc_incr bc1 bc2.
End MATCH_INCR.
(** * Matching and memory injections. *)
Definition inj_of_bc (bc: block_classification) : meminj :=
fun b => match bc b with BCinvalid => None | _ => Some(b, 0) end.

Lemma inj_of_bc_preserves_globals:
forall bc ge, genv_match bc ge -> meminj_preserves_globals ge (inj_of_bc bc).