Metamath Proof Explorer


Definition df-unit

Description: Define the set of units in a ring, that is, all elements with a left and right multiplicative inverse. (Contributed by Mario Carneiro, 1-Dec-2014)

Ref Expression
Assertion df-unit Unit = w V r w r opp r w -1 1 w

Detailed syntax breakdown

Step Hyp Ref Expression
0 cui class Unit
1 vw setvar w
2 cvv class V
3 cdsr class r
4 1 cv setvar w
5 4 3 cfv class r w
6 coppr class opp r
7 4 6 cfv class opp r w
8 7 3 cfv class r opp r w
9 5 8 cin class r w r opp r w
10 9 ccnv class r w r opp r w -1
11 cur class 1 r
12 4 11 cfv class 1 w
13 12 csn class 1 w
14 10 13 cima class r w r opp r w -1 1 w
15 1 2 14 cmpt class w V r w r opp r w -1 1 w
16 0 15 wceq wff Unit = w V r w r opp r w -1 1 w