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 = ( 𝑤 ∈ Ring ↦ { 𝑠 ∈ 𝒫 ( Base ‘ 𝑤 ) ∣ ( ( 𝑤 ↾s 𝑠 ) ∈ Ring ∧ ( 1r ‘ 𝑤 ) ∈ 𝑠 ) } ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
0 | csubrg | ⊢ SubRing | |
1 | vw | ⊢ 𝑤 | |
2 | crg | ⊢ Ring | |
3 | vs | ⊢ 𝑠 | |
4 | cbs | ⊢ Base | |
5 | 1 | cv | ⊢ 𝑤 |
6 | 5 4 | cfv | ⊢ ( Base ‘ 𝑤 ) |
7 | 6 | cpw | ⊢ 𝒫 ( Base ‘ 𝑤 ) |
8 | cress | ⊢ ↾s | |
9 | 3 | cv | ⊢ 𝑠 |
10 | 5 9 8 | co | ⊢ ( 𝑤 ↾s 𝑠 ) |
11 | 10 2 | wcel | ⊢ ( 𝑤 ↾s 𝑠 ) ∈ Ring |
12 | cur | ⊢ 1r | |
13 | 5 12 | cfv | ⊢ ( 1r ‘ 𝑤 ) |
14 | 13 9 | wcel | ⊢ ( 1r ‘ 𝑤 ) ∈ 𝑠 |
15 | 11 14 | wa | ⊢ ( ( 𝑤 ↾s 𝑠 ) ∈ Ring ∧ ( 1r ‘ 𝑤 ) ∈ 𝑠 ) |
16 | 15 3 7 | crab | ⊢ { 𝑠 ∈ 𝒫 ( Base ‘ 𝑤 ) ∣ ( ( 𝑤 ↾s 𝑠 ) ∈ Ring ∧ ( 1r ‘ 𝑤 ) ∈ 𝑠 ) } |
17 | 1 2 16 | cmpt | ⊢ ( 𝑤 ∈ Ring ↦ { 𝑠 ∈ 𝒫 ( Base ‘ 𝑤 ) ∣ ( ( 𝑤 ↾s 𝑠 ) ∈ Ring ∧ ( 1r ‘ 𝑤 ) ∈ 𝑠 ) } ) |
18 | 0 17 | wceq | ⊢ SubRing = ( 𝑤 ∈ Ring ↦ { 𝑠 ∈ 𝒫 ( Base ‘ 𝑤 ) ∣ ( ( 𝑤 ↾s 𝑠 ) ∈ Ring ∧ ( 1r ‘ 𝑤 ) ∈ 𝑠 ) } ) |