(** The values of the erased memory may be more defined and its
       permissions are top.*)
  (** In retrospect setting the permissions to top was a bad
  choice. It should have been that the permissions of the erased
  memory are above the permissions of the other memory. This would
  make it more reusable and it wouldn't need a second definition for
  free. *)

  Local Notation "a # b" := (PMap.get b a) (at level 1).

Lemma mem_store_erased: forall chunk m m' b ofs v v' m2 (Hstore: Mem.store chunk m b ofs v = Some m2) (Herased: mem_erasure m m') (Hval_erasure: val_erasure v v') , exists m2', Mem.store chunk m' b ofs v' = Some m2' /\ mem_erasure m2 m2'.