(** 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 val_erasure_cmplu: forall v1 v2 v1' v2' m m' cmp (Hval_erasure: val_erasure v1 v1') (Hval_erasure2: val_erasure v2 v2') (Hmem: mem_erasure m m'), val_erasure (Val.maketotal (Val.cmplu (Mem.valid_pointer m) cmp v1 v2)) (Val.maketotal (Val.cmplu (Mem.valid_pointer m') cmp v1' v2')).