(***********************************************************************)
(** ** Stacks as evaluation contexts                                    *)
(***********************************************************************)
(** Here is a quick lemma that uses the properties defined above. It shows that the stack behaves like an *evaluation context*, lifting a small-step reduction to a larger term. *)

Lemma apply_stack_cong : forall s h e e',
step e e' ->
step (apply_stack h s e) (apply_stack h s e').