Definition val_obsC f v :=
    match v with
    | Vptr b n => match f b with
                 | Some b' => Vptr b' n
                 | None => Vundef
                 end
    | _ => v
    end.

Lemma val_obs_mods_id: forall f v1 v2 v, Val.mods v1 v2 = Some v -> val_obs f v v.