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 = w Ring s 𝒫 Base w | w 𝑠 s Ring 1 w s

Detailed syntax breakdown

Step Hyp Ref Expression
0 csubrg class SubRing
1 vw setvar w
2 crg class Ring
3 vs setvar s
4 cbs class Base
5 1 cv setvar w
6 5 4 cfv class Base w
7 6 cpw class 𝒫 Base w
8 cress class 𝑠
9 3 cv setvar s
10 5 9 8 co class w 𝑠 s
11 10 2 wcel wff w 𝑠 s Ring
12 cur class 1 r
13 5 12 cfv class 1 w
14 13 9 wcel wff 1 w s
15 11 14 wa wff w 𝑠 s Ring 1 w s
16 15 3 7 crab class s 𝒫 Base w | w 𝑠 s Ring 1 w s
17 1 2 16 cmpt class w Ring s 𝒫 Base w | w 𝑠 s Ring 1 w s
18 0 17 wceq wff SubRing = w Ring s 𝒫 Base w | w 𝑠 s Ring 1 w s