Section TrivialSimulations.
Definition lift_state {resources Sem1 Sem2}
(f: @semC Sem1 -> @semC Sem2):
@OrdinalPool.t resources Sem1 ->
@OrdinalPool.t resources Sem2.
intros X; inv X.
econstructor; eauto.
intros h; specialize (pool h).
inv pool; [econstructor 1|
econstructor 2|
econstructor 3|
econstructor 4]; eauto.
Defined.
Definition lift_c_state:
@OrdinalPool.t dryResources (@ClightMachine.DMS.DSem Clight_g) ->
@OrdinalPool.t dryResources (HybridSem (@Some nat O)).

Lemma external_step_event_injectable:
forall SM MS Sch U tr st m U' tr_tail st' m',
@HybridMachineSig.HybridMachineSig.external_step
_ _ (@OrdinalPool.OrdinalThreadPool dryResources (@ClightMachine.DMS.DSem Clight_g))
SM MS Sch
U tr st m U' (tr ++ tr_tail) st' m' ->
Forall2 (inject_mevent (Mem.flat_inj (Mem.nextblock m'))) tr_tail tr_tail.