Definition control_as_safe {Espec: OracleKind} ge n ctl1 ctl2 :=
 forall (ora : OK_ty) (ve : env) (te : temp_env) (m : juicy_mem) (n' : nat),
     n' <= n ->
     jsafeN (@OK_spec Espec) ge n' ora (State ve te ctl1) m ->
     jsafeN (@OK_spec Espec) ge n' ora (State ve te ctl2) m.Fixpoint prebreak_cont (k: cont) : cont :=
  match k with
  | Kloop1 s e3 :: k' => k
  | Kseq s :: k' => prebreak_cont k'
  | Kloop2 s e3 :: k' => k
  | Kswitch :: k' => k
  | _ =>  nil (* stuck *)
  end.

Lemma find_label_prefix2': forall lbl s k1 pre, find_label lbl s k1 = Some (pre++k1) -> forall k2, find_label lbl s k2 = Some (pre++k2) with find_label_ls_prefix2': forall lbl s k1 pre, find_label_ls lbl s k1 = Some (pre++k1) -> forall k2, find_label_ls lbl s k2 = Some (pre++k2) .