From c126601135c9d47d903948e55ef3b568331b9af7 Mon Sep 17 00:00:00 2001 From: Robbert Krebbers <mail@robbertkrebbers.nl> Date: Tue, 23 Mar 2021 15:27:48 +0100 Subject: [PATCH] Fix by @mattam82 for https://github.com/coq/coq/pull/13952#issuecomment-804943880 --- theories/fin_maps.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theories/fin_maps.v b/theories/fin_maps.v index aa75c29d..694b9ec0 100644 --- a/theories/fin_maps.v +++ b/theories/fin_maps.v @@ -977,8 +977,8 @@ Qed. Global Instance map_eq_dec_empty {A} (m : M A) : Decision (m = ∅) | 20. Proof. - refine (cast_if (decide (elements m = []))); - [apply _|by rewrite <-?map_to_list_empty' ..]. + refine (cast_if (decide (map_to_list m = []))); + by rewrite <-?map_to_list_empty'. Defined. (** Properties of the imap function *) -- GitLab