End corestepN.
(** "Cooperating" semantics impose additional constraints; in particular, they require that the memories produced by coresteps contain no dangling pointers. *)
Record CoopCoreSem {G C} :=
{ coopsem :> CoreSemantics G C mem
; corestep_fwd :
forall g c m c' m' (CS: corestep coopsem g c m c' m'),
mem_forward m m' }.
Implicit Arguments CoopCoreSem [].
Section CoopCoreSemLemmas.
Context {G C: Type}.
Variable coopsem: CoopCoreSem G C.

Lemma corestep_plus_fwd: forall g c m c' m'
(CS:corestep_plus coopsem g c m c' m'),
mem_forward m m'.