Definition field_address t gfs p :=
  if (field_compatible_dec t gfs p)
  then offset_val (nested_field_offset t gfs) p
  else Vundef.Definition field_address0 t gfs p :=
  if (field_compatible0_dec t gfs p)
  then offset_val (nested_field_offset t gfs) p
  else Vundef.

Lemma lvar_field_compatible: forall {cs: compspecs} id t v rho, locald_denote (lvar id t v) rho -> complete_legal_cosu_type t = true -> is_aligned cenv_cs ha_env_cs la_env_cs t 0 = true -> sizeof t < Ptrofs.modulus -> field_compatible t nil v.