Skip to content

Commit 9a4c77d

Browse files
committed
nolint
1 parent 3899098 commit 9a4c77d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Mathlib/Data/Finsupp/Basic.lean

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,9 @@ theorem mapDomain_notin_range {f : α → β} (x : α →₀ M) (a : β) (h : a
285285
mapDomain f x a = 0 :=
286286
mapDomain_of_not_mem_image_support <| by grw [Set.image_subset_range]; exact h
287287

288-
@[simp high] lemma mapDomain_id : mapDomain id v = v := sum_single _
288+
-- 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 _
289291
@[simp] lemma mapDomain_fun_id : mapDomain (fun x ↦ x) v = v := sum_single _
290292

291293
lemma mapDomain_fun_comp (f : α → β) (g : β → γ) :

0 commit comments

Comments
 (0)