(** * Properties of equations *)

Module ESF := FSetFacts.Facts(EqSet).Module ESP := FSetProperties.Properties(EqSet).Module ESD := FSetDecide.Decide(EqSet).Definition sel_val (k: equation_kind) (v: val) : val :=
  match k with
  | Full => v
  | Low => Val.loword v
  | High => Val.hiword v
  end.

Lemma remove_equation_res_satisf: forall rs ls r l e e', remove_equations_res r l e = Some e' -> satisf rs ls e -> satisf rs ls e'.