proposition: Lemma Some_cput T (r : loc T) (s : coq_type T) e : nth_error (ofEnv e) (loc_id r) = Some (mkbind s) -> cput r s e = (@skip M) e.
proof: Proof. move=> H. rewrite /cput/= H coerce_Some/= nth_error_set_nth_id//. by destruct e. Qed.
imports: JMeq mathcomp(all_ssreflect finmap) monae_lib HB(structures) hierarchy monad_lib fail_lib state_lib trace_lib monad_transformer monad_model