Skip to content

Commit c13d2d4

Browse files
committed
priority
1 parent 8a1271a commit c13d2d4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Mathlib/GroupTheory/Finiteness.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ variable {M N}
7070
theorem isMulFG_def : IsMulFG M ↔ ∃ S : Finset M, Subsemigroup.closure (S : Set M) = ⊤ :=
7171
fun h ↦ h.fg_top, fun h ↦ ⟨h⟩⟩
7272

73+
-- We give this instance low priority to avoid slow typeclass resolutions.
7374
@[to_additive]
74-
instance [Finite M] : IsMulFG M := by
75+
instance (priority := 100) [Finite M] : IsMulFG M := by
7576
cases nonempty_fintype M
7677
exact ⟨Finset.univ, by simp⟩
7778

0 commit comments

Comments
 (0)