File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ element of the type can be written as a finite sum of elements from this finite
4848
4949This generalizes and will eventually replace the four existing definitions
5050`AddSubmonoid.FG`, `AddMonoid.FG`, `AddSubgroup.FG`, and `AddGroup.FG`. -/
51+ @ [mk_iff isAddFG_def]
5152class IsAddFG (M : Type *) [Add M] : Prop where
5253 fg_top : ∃ S : Finset M, AddSubsemigroup.closure (S : Set M) = ⊤
5354
@@ -60,16 +61,12 @@ element of the type can be written as a finite product of elements from this fin
6061
6162This generalizes and will eventually replace the four existing definitions
6263`Submonoid.FG`, `Monoid.FG`, `Subgroup.FG`, and `Group.FG`. -/
63- @ [to_additive existing]
64+ @ [to_additive existing, mk_iff isMulFG_def ]
6465class IsMulFG : Prop where
6566 fg_top : ∃ S : Finset M, Subsemigroup.closure (S : Set M) = ⊤
6667
6768variable {M N}
6869
69- @[to_additive]
70- theorem isMulFG_def : IsMulFG M ↔ ∃ S : Finset M, Subsemigroup.closure (S : Set M) = ⊤ :=
71- ⟨fun h ↦ h.fg_top, fun h ↦ ⟨h⟩⟩
72-
7370-- We give this instance low priority to avoid slow typeclass resolutions.
7471@[to_additive]
7572instance (priority := 100 ) [Finite M] : IsMulFG M := by
You can’t perform that action at this time.
0 commit comments