Definition regset_wd rs : Prop :=
      forall r, valid_val f (Pregmap.get r rs).Definition core_wd c : Prop :=
      match c with State rs _ => regset_wd rs end.Definition ge_wd (the_ge: genv) : Prop :=
      (forall b, Maps.PTree.get b (genv_defs the_ge) ->
            f b) /\
      (forall id ofs v, Senv.symbol_address the_ge id ofs = v ->
                   valid_val f v).

Lemma valid_val_addrmode: forall ge rs f fg a, ren_domain_incr fg f -> ge_wd fg ge -> regset_wd f rs -> valid_val f (eval_addrmode ge a rs).