Definition match_prog (p: CminorSel.program) (tp: RTL.program) :=
  match_program (fun cu f tf => transl_fundef f = Errors.OK tf) eq p tp.

Lemma transl_condexpr_CEcondition_correct: forall le a b c va v, eval_condexpr ge sp e m le a va -> transl_condexpr_prop le a va -> eval_condexpr ge sp e m le (if va then b else c) v -> transl_condexpr_prop le (if va then b else c) v -> transl_condexpr_prop le (CEcondition a b c) v.