Definition measure (S: LTL.state) : nat :=
  match S with
  | LTL.State s f sp pc ls m => 0%nat
  | LTL.Block s f sp bb ls m => 1%nat
  | _ => 0%nat
  end.Remark match_parent_locset:
  forall s ts, list_forall2 match_stackframes s ts -> parent_locset ts = LTL.parent_locset s.

Lemma transf_initial_states: forall st1, LTL.initial_state prog st1 -> exists st2, Linear.initial_state tprog st2 /\ match_states st1 st2.