(*LENB: Cminor.v requires v to be Vint i -should we keep this condition?*)
Definition CMin_halted (q : CMin_core): option val :=
    match q with
       CMin_Returnstate v Kstop => Some v
     | _ => None
    end.

Lemma CMin_corestep_not_halted : forall ge m q m' q', CMin_corestep ge q m q' m' -> CMin_halted q = None.