Metamath Proof Explorer


Definition df-subrg

Description: Define a subring of a ring as a set of elements that is a ring in its own right and contains the multiplicative identity.

The additional constraint is necessary because the multiplicative identity of a ring, unlike the additive identity of a ring/group or the multiplicative identity of a field, cannot be identified by a local property. Thus, it is possible for a subset of a ring to be a ring while not containing the true identity if it contains a false identity. For instance, the subset ( ZZ X. { 0 } ) of ( ZZ X. ZZ ) (where multiplication is componentwise) contains the false identity <. 1 , 0 >. which preserves every element of the subset and thus appears to be the identity of the subset, but is not the identity of the larger ring. (Contributed by Stefan O'Rear, 27-Nov-2014)

Ref Expression
Assertion df-subrg SubRing=wRings𝒫Basew|w𝑠sRing1ws

Detailed syntax breakdown

Step Hyp Ref Expression
0 csubrg classSubRing
1 vw setvarw
2 crg classRing
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𝑠sRing
12 cur class1r
13 5 12 cfv class1w
14 13 9 wcel wff1ws
15 11 14 wa wffw𝑠sRing1ws
16 15 3 7 crab classs𝒫Basew|w𝑠sRing1ws
17 1 2 16 cmpt classwRings𝒫Basew|w𝑠sRing1ws
18 0 17 wceq wffSubRing=wRings𝒫Basew|w𝑠sRing1ws