Description: A two-sided identity element is unique (if it exists) in any magma. (Contributed by Mario Carneiro, 7-Dec-2014) (Revised by NM, 17-Jun-2017)
Ref | Expression | ||
---|---|---|---|
Assertion | mgmidmo | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simpl | |
|
2 | 1 | ralimi | |
3 | simpr | |
|
4 | 3 | ralimi | |
5 | oveq1 | |
|
6 | id | |
|
7 | 5 6 | eqeq12d | |
8 | 7 | rspcva | |
9 | oveq2 | |
|
10 | id | |
|
11 | 9 10 | eqeq12d | |
12 | 11 | rspcva | |
13 | 8 12 | sylan9req | |
14 | 13 | an42s | |
15 | 14 | ex | |
16 | 2 4 15 | syl2ani | |
17 | 16 | rgen2 | |
18 | oveq1 | |
|
19 | 18 | eqeq1d | |
20 | 19 | ovanraleqv | |
21 | 20 | rmo4 | |
22 | 17 21 | mpbir | |