Skip to content

Commit 22f2cfd

Browse files
chore: remove deprecated toMap missed in leanprover-community#35335 (leanprover-community#35388)
I mistakenly added this back in leanprover-community@894135c whereas I should have just deleted the `attribute` commands as well.
1 parent 1762356 commit 22f2cfd

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Mathlib/GroupTheory/MonoidLocalization/Basic.lean

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,6 @@ abbrev toMonoidHom (f : LocalizationMap S N) : M →* N where
415415
__ := f
416416
map_one' := f.isLocalizationMap.map_one (f := f.toMulHom)
417417

418-
/-- Short for `toMonoidHom`; used to apply a localization map as a function. -/
419-
@[to_additive /-- Short for `toAddMonoidHom`; used to apply a localization map as a function. -/]
420-
abbrev toMap (f : LocalizationMap S N) := f.toMonoidHom
421-
422418
@[to_additive]
423419
theorem toMonoidHom_injective : Injective (toMonoidHom : LocalizationMap S N → M →* N) :=
424420
fun f g ↦ by cases f; congr! with eq; ext; exact congr($eq _)

0 commit comments

Comments
 (0)