proposition: Lemma nocoerce_cget T (r : loc T) T' (s' : coq_type T') e : nth_error (ofEnv e) (loc_id r) = Some (mkbind s') -> ~~ coercible T s' -> cget r e = fail.
proof: Proof. by move=> H Ts'; rewrite /cget H not_coercible. Qed.
imports: JMeq mathcomp(all_ssreflect finmap) monae_lib HB(structures) hierarchy monad_lib fail_lib state_lib trace_lib monad_transformer monad_model