proposition: Lemma insertC2 j i v a : insert j v (insert i v a) = insert i v (insert j v a).
proof: Proof. apply boolp.funext => k; rewrite /insert; case: ifPn => // /eqP <-{k}. by rewrite if_same. 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