Module MemoryLemmas.
Global Notation "a # b" := (Maps.PMap.get b a) (at level 1).
Transparent Mem.store.
Transparent Mem.alloc.

Lemma permission_at_free_1 :
forall m m' (lo hi : Z) b b' ofs'
(Hfree: Mem.free m b lo hi = Some m')
(Hnon_freeable: ~ Mem.perm m b' ofs' Cur Freeable),
forall k : perm_kind,
permission_at m b' ofs' k = permission_at m' b' ofs' k.