Metamath Proof Explorer


Theorem grpidd2

Description: Deduce the identity element of a group from its properties. Useful in conjunction with isgrpd . (Contributed by Mario Carneiro, 14-Jun-2015)

Ref Expression
Hypotheses grpidd2.b φB=BaseG
grpidd2.p φ+˙=+G
grpidd2.z φ0˙B
grpidd2.i φxB0˙+˙x=x
grpidd2.j φGGrp
Assertion grpidd2 φ0˙=0G

Proof

Step Hyp Ref Expression
1 grpidd2.b φB=BaseG
2 grpidd2.p φ+˙=+G
3 grpidd2.z φ0˙B
4 grpidd2.i φxB0˙+˙x=x
5 grpidd2.j φGGrp
6 2 oveqd φ0˙+˙0˙=0˙+G0˙
7 oveq2 x=0˙0˙+˙x=0˙+˙0˙
8 id x=0˙x=0˙
9 7 8 eqeq12d x=0˙0˙+˙x=x0˙+˙0˙=0˙
10 4 ralrimiva φxB0˙+˙x=x
11 9 10 3 rspcdva φ0˙+˙0˙=0˙
12 6 11 eqtr3d φ0˙+G0˙=0˙
13 3 1 eleqtrd φ0˙BaseG
14 eqid BaseG=BaseG
15 eqid +G=+G
16 eqid 0G=0G
17 14 15 16 grpid GGrp0˙BaseG0˙+G0˙=0˙0G=0˙
18 5 13 17 syl2anc φ0˙+G0˙=0˙0G=0˙
19 12 18 mpbid φ0G=0˙
20 19 eqcomd φ0˙=0G