Metamath Proof Explorer


Definition df-subg

Description: Define a subgroup of a group as a set of elements that is a group in its own right. Equivalently ( issubg2 ), a subgroup is a subset of the group that is closed for the group internal operation (see subgcl ), contains the neutral element of the group (see subg0 ) and contains the inverses for all of its elements (see subginvcl ). (Contributed by Mario Carneiro, 2-Dec-2014)

Ref Expression
Assertion df-subg SubGrp=wGrps𝒫Basew|w𝑠sGrp

Detailed syntax breakdown

Step Hyp Ref Expression
0 csubg classSubGrp
1 vw setvarw
2 cgrp classGrp
3 vs setvars
4 cbs classBase
5 1 cv setvarw
6 5 4 cfv classBasew
7 6 cpw class𝒫Basew
8 cress class𝑠
9 3 cv setvars
10 5 9 8 co classw𝑠s
11 10 2 wcel wffw𝑠sGrp
12 11 3 7 crab classs𝒫Basew|w𝑠sGrp
13 1 2 12 cmpt classwGrps𝒫Basew|w𝑠sGrp
14 0 13 wceq wffSubGrp=wGrps𝒫Basew|w𝑠sGrp