diff --git a/opam b/opam index 2666779fc5d94d4a5082b514b7f2e96a425c624b..43358e0b07b5fa522cdf48b3feeac19851ffaecf 100644 --- a/opam +++ b/opam @@ -9,5 +9,5 @@ build: [make "-j%{jobs}%"] install: [make "install"] remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/actris" ] depends: [ - "coq-iris" { (= "dev.2020-04-24.0.9cc3cc77") | (= "dev") } + "coq-iris" { (= "dev.2020-05-13.0.635cdf1e") | (= "dev") } ] diff --git a/theories/utils/llist.v b/theories/utils/llist.v index dcce8a7e39170a40e3ff76a28794b9dd563fbb05..aedd266f6c63fdcae5f524a2682efe6b4c9f4598 100644 --- a/theories/utils/llist.v +++ b/theories/utils/llist.v @@ -242,7 +242,7 @@ Lemma lsplit_spec l xs : Proof. iIntros (Φ) "Hl HΦ". wp_lam. wp_apply (llength_spec with "Hl"); iIntros "Hl". wp_pures. - rewrite Z.quot_div_nonneg; [|lia..]. rewrite -(Z2Nat_inj_div _ 2). + rewrite Z.quot_div_nonneg; [|lia..]. rewrite -(Nat2Z_inj_div _ 2). wp_apply (lsplit_at_spec with "Hl"); iIntros (k) "[Hl Hk]". iApply "HΦ". iFrame. by rewrite take_drop. Qed.