We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a1271a commit c13d2d4Copy full SHA for c13d2d4
1 file changed
Mathlib/GroupTheory/Finiteness.lean
@@ -70,8 +70,9 @@ variable {M N}
70
theorem isMulFG_def : IsMulFG M ↔ ∃ S : Finset M, Subsemigroup.closure (S : Set M) = ⊤ :=
71
⟨fun h ↦ h.fg_top, fun h ↦ ⟨h⟩⟩
72
73
+-- We give this instance low priority to avoid slow typeclass resolutions.
74
@[to_additive]
-instance [Finite M] : IsMulFG M := by
75
+instance (priority := 100) [Finite M] : IsMulFG M := by
76
cases nonempty_fintype M
77
exact ⟨Finset.univ, by simp⟩
78
0 commit comments