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_longofsingle: forall f v v' (Hval_obs: val_obs f v v'), val_obs f (Val.maketotal (Val.longofsingle v)) (Val.maketotal (Val.longofsingle v')).