Inductive valid_genv {F V:Type} (ge:Genv.t F V) (m:mem) : Type :=
mk_valid_genv :
(forall b, isGlobalBlock ge b=true -> val_valid (Vptr b Ptrofs.zero) m) ->
(forall b f, Genv.find_funct_ptr ge b = Some f -> val_valid (Vptr b Ptrofs.zero) m) ->
valid_genv ge m.

Lemma valid_genv_store_init_data:
forall {F V}  (ge: Genv.t F V) a (b:block) (z:Z) m1 m2
(SID: Genv.store_init_data ge m1 b z a = Some m2),
valid_genv ge m1 -> valid_genv ge m2.