This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: Define class of all groups. A group is a monoid ( df-mnd ) whose internal operation is such that every element admits a left inverse (which can be proven to be a two-sided inverse). Thus, a group G is an algebraic structure formed from a base set of elements (notated ( BaseG ) per df-base ) and an internal group operation (notated ( +gG ) per df-plusg ). The operation combines any two elements of the group base set and must satisfy the 4 group axioms: closure (the result of the group operation must always be a member of the base set, see grpcl ), associativity (so ( ( a +g b ) +g c ) = ( a +g ( b +g c ) ) for any a, b, c, see grpass ), identity (there must be an element e = ( 0gG ) such that e +g a = a +g e = a for any a), and inverse (for each element a in the base set, there must be an element b = invg a in the base set such that a +g b = b +g a = e ). It can be proven that the identity element is unique ( grpideu ). Groups need not be commutative; a commutative group is an Abelian group (see df-abl ). Subgroups can often be formed from groups, see df-subg . An example of an (Abelian) group is the set of complex numbers CC over the group operation + (addition), as proven in cnaddablx ; an Abelian group is a group as proven in ablgrp . Other structures include groups, including unital rings ( df-ring ) and fields ( df-field ). (Contributed by NM, 17-Oct-2012) (Revised by Mario Carneiro, 6-Jan-2015)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | df-grp | ⊢ Grp = { 𝑔 ∈ Mnd ∣ ∀ 𝑎 ∈ ( Base ‘ 𝑔 ) ∃ 𝑚 ∈ ( Base ‘ 𝑔 ) ( 𝑚 ( +g ‘ 𝑔 ) 𝑎 ) = ( 0g ‘ 𝑔 ) } |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 0 | cgrp | ⊢ Grp | |
| 1 | vg | ⊢ 𝑔 | |
| 2 | cmnd | ⊢ Mnd | |
| 3 | va | ⊢ 𝑎 | |
| 4 | cbs | ⊢ Base | |
| 5 | 1 | cv | ⊢ 𝑔 |
| 6 | 5 4 | cfv | ⊢ ( Base ‘ 𝑔 ) |
| 7 | vm | ⊢ 𝑚 | |
| 8 | 7 | cv | ⊢ 𝑚 |
| 9 | cplusg | ⊢ +g | |
| 10 | 5 9 | cfv | ⊢ ( +g ‘ 𝑔 ) |
| 11 | 3 | cv | ⊢ 𝑎 |
| 12 | 8 11 10 | co | ⊢ ( 𝑚 ( +g ‘ 𝑔 ) 𝑎 ) |
| 13 | c0g | ⊢ 0g | |
| 14 | 5 13 | cfv | ⊢ ( 0g ‘ 𝑔 ) |
| 15 | 12 14 | wceq | ⊢ ( 𝑚 ( +g ‘ 𝑔 ) 𝑎 ) = ( 0g ‘ 𝑔 ) |
| 16 | 15 7 6 | wrex | ⊢ ∃ 𝑚 ∈ ( Base ‘ 𝑔 ) ( 𝑚 ( +g ‘ 𝑔 ) 𝑎 ) = ( 0g ‘ 𝑔 ) |
| 17 | 16 3 6 | wral | ⊢ ∀ 𝑎 ∈ ( Base ‘ 𝑔 ) ∃ 𝑚 ∈ ( Base ‘ 𝑔 ) ( 𝑚 ( +g ‘ 𝑔 ) 𝑎 ) = ( 0g ‘ 𝑔 ) |
| 18 | 17 1 2 | crab | ⊢ { 𝑔 ∈ Mnd ∣ ∀ 𝑎 ∈ ( Base ‘ 𝑔 ) ∃ 𝑚 ∈ ( Base ‘ 𝑔 ) ( 𝑚 ( +g ‘ 𝑔 ) 𝑎 ) = ( 0g ‘ 𝑔 ) } |
| 19 | 0 18 | wceq | ⊢ Grp = { 𝑔 ∈ Mnd ∣ ∀ 𝑎 ∈ ( Base ‘ 𝑔 ) ∃ 𝑚 ∈ ( Base ‘ 𝑔 ) ( 𝑚 ( +g ‘ 𝑔 ) 𝑎 ) = ( 0g ‘ 𝑔 ) } |