Local Open Scope logic.
Section NESTED_RAMIF.
Context {cs: compspecs}.

Lemma reptype_Tunion_JMeq_constr0: forall t gfs id a (v: reptype (nested_field_type t gfs)),
legal_nested_field t gfs ->
nested_field_type t gfs = Tunion id a ->
{v' : nested_reptype_unionlist t gfs (co_members (get_co id)) |
JMeq v v'}.