Definition alloc_right_sm (mu: SM_Injection) sp: SM_Injection :=
  Build_SM_Injection (locBlocksSrc mu)
                     (fun b => eq_block b sp || locBlocksTgt mu b)
                     (pubBlocksSrc mu) (pubBlocksTgt mu)
                     (local_of mu)
                     (extBlocksSrc mu) (extBlocksTgt mu)
                     (frgnBlocksSrc mu) (frgnBlocksTgt mu) (extern_of mu).

Lemma alloc_right_sm_as_inj: forall mu sp, as_inj (alloc_right_sm mu sp) = as_inj mu.