*)
(* Lemma MS_step_case_Builtin: forall x t ef optid vres m' bl vargs (EvalArgs: Csharpminor.eval_exprlist ge e lenv m bl vargs) (ExtCall: Events.external_call ef ge vargs m t vres m') (MCS : structured_match_callstack mu m tm (Frame cenv tfn e lenv te sp lo hi :: cs) (Mem.nextblock m) (Mem.nextblock tm)) (EQ : transl_exprlist cenv bl = OK x), exists c2' : CMin_core, exists m2' mu', corestep_plus CMin_core_sem tge (CMin_State tfn (Sbuiltin optid ef x) tk (Vptr sp Int.zero) te) tm c2' m2' /\ intern_incr mu mu' /\ sm_inject_separated mu mu' m tm /\ sm_locally_allocated mu mu' m tm m' m2' /\ Match_cores (CSharpMin_State f Csharpminor.Sskip k e (set_optvar optid vres lenv)) mu' (CSharpMin_State f Csharpminor.Sskip k e (set_optvar optid vres lenv)) m' c2' m2' /\ SM_wd mu' /\ sm_valid mu' m' m2'. *)

Lemma MS_step_case_ExitBlockZero: forall
(MCS : structured_match_callstack mu m tm
(Frame cenv tfn e lenv te sp lo hi :: cs)
(Mem.nextblock m)
(Mem.nextblock tm))
(MK : match_cont (Csharpminor.Kblock k) tk cenv xenv cs),
exists c2' : CMin_core,
exists m2' mu',
corestep_plus CMin_core_sem tge
(CMin_State tfn (Sexit (shift_exit xenv 0)) tk (Vptr sp Int.zero) te) tm c2' m2'
/\ Match_cores (CSharpMin_State f Csharpminor.Sskip k e lenv) mu'
(CSharpMin_State f Csharpminor.Sskip k e lenv) m c2' m2'
/\ intern_incr mu mu' /\
sm_inject_separated mu mu' m tm /\
sm_locally_allocated mu mu' m tm m m2' /\
SM_wd mu' /\ sm_valid mu' m m2'.