(*memories that do not contain "dangling pointers"*)
Definition mem_wd m := Mem.inject_neutral (Mem.nextblock m) m.

Lemma mem_wd_inject_splitR: forall j m1 m2 (J:Mem.inject j m1 m2) (WD: mem_wd m2), Mem.inject (Mem.flat_inj (Mem.nextblock m2)) m2 m2 /\ j = compose_meminj j (Mem.flat_inj (Mem.nextblock m2)).