We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3899098 commit 9a4c77dCopy full SHA for 9a4c77d
1 file changed
Mathlib/Data/Finsupp/Basic.lean
@@ -285,7 +285,9 @@ theorem mapDomain_notin_range {f : α → β} (x : α →₀ M) (a : β) (h : a
285
mapDomain f x a = 0 :=
286
mapDomain_of_not_mem_image_support <| by grw [Set.image_subset_range]; exact h
287
288
-@[simp high] lemma mapDomain_id : mapDomain id v = v := sum_single _
+-- The linter complains that `mapDomain_id` can be proved from `mapDomain_fun_id` and `id_eq`
289
+-- but this isn't true (at least within most of mathlib)
290
+@[simp, nolint simpNF] lemma mapDomain_id : mapDomain id v = v := sum_single _
291
@[simp] lemma mapDomain_fun_id : mapDomain (fun x ↦ x) v = v := sum_single _
292
293
lemma mapDomain_fun_comp (f : α → β) (g : β → γ) :
0 commit comments