diff --git a/theories/fin_maps.v b/theories/fin_maps.v index 7e60989a8f9b67da155545e88c49f947df64b4db..67d77eaf7780b6d01cf8f9a9963b7c0a6729f830 100644 --- a/theories/fin_maps.v +++ b/theories/fin_maps.v @@ -2380,6 +2380,12 @@ Proof. apply map_empty; intros i. rewrite lookup_difference_None. destruct (m !! i); eauto. Qed. +Lemma map_difference_empty {A} (m : M A) : m ∖ ∅ = m. +Proof. + apply map_eq. intros i. apply option_eq. intros x. + rewrite lookup_difference_Some. rewrite lookup_empty. + naive_solver. +Qed. End theorems. (** ** The seq operation *)