(******************************************  Lemmas about memory_block  ******************************************)
Definition size_compatible' (n: Z) (p: val) :=
match p with
| Vundef => True
| Vint _ => True
| Vlong _ => True
| Vfloat _ => True
| Vsingle _ => True
| Vptr _ i_ofs => Ptrofs.unsigned i_ofs + n < Ptrofs.modulus
end.

(* Specifications: *)
Lemma memory_block_local_facts: forall sh n p,
memory_block sh n p |-- !! (isptr p /\ size_compatible' n p).