Module ESF2 := FSetFacts.Facts(EqSet2).Module ESP2 := FSetProperties.Properties(EqSet2).Module ESD2 := FSetDecide.Decide(EqSet2).

Lemma loc_type_compat_charact: forall env l e q, loc_type_compat env l e = true -> EqSet.In q e -> subtype (sel_type (ekind q) (env (ereg q))) (Loc.type l) = true \/ Loc.diff l (eloc q).