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