Hint Resolve mem_erasure_idempotent mem_erasure_dilute_1
mem_erasure_restr: mem_erasure.
Record mem_erasure' (m m': mem) :=
{ perm_le':
forall b ofs k,
Mem.valid_block m b->
Mem.perm_order'' ((Mem.mem_access m')#b ofs k)
((Mem.mem_access m)#b ofs k);
erased_contents': forall b ofs,
memval_erasure (ZMap.get ofs ((Mem.mem_contents m) # b))
(ZMap.get ofs ((Mem.mem_contents m') # b));
erased_nb': Mem.nextblock m = Mem.nextblock m'
}.

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'.