MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  issubrg Unicode version

Theorem issubrg 15823
Description: The subring predicate. (Contributed by Stefan O'Rear, 27-Nov-2014.)
Hypotheses
Ref Expression
issubrg.b  |-  B  =  ( Base `  R
)
issubrg.i  |-  .1.  =  ( 1r `  R )
Assertion
Ref Expression
issubrg  |-  ( A  e.  (SubRing `  R
)  <->  ( ( R  e.  Ring  /\  ( Rs  A )  e.  Ring )  /\  ( A  C_  B  /\  .1.  e.  A
) ) )

Proof of Theorem issubrg
Dummy variables  s 
r are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-subrg 15821 . . . 4  |- SubRing  =  ( r  e.  Ring  |->  { s  e.  ~P ( Base `  r )  |  ( ( rs  s )  e. 
Ring  /\  ( 1r `  r )  e.  s ) } )
21dmmptss 5325 . . 3  |-  dom SubRing  C_  Ring
3 elfvdm 5716 . . 3  |-  ( A  e.  (SubRing `  R
)  ->  R  e.  dom SubRing )
42, 3sseldi 3306 . 2  |-  ( A  e.  (SubRing `  R
)  ->  R  e.  Ring )
5 simpll 731 . 2  |-  ( ( ( R  e.  Ring  /\  ( Rs  A )  e.  Ring )  /\  ( A  C_  B  /\  .1.  e.  A
) )  ->  R  e.  Ring )
6 fveq2 5687 . . . . . . . 8  |-  ( r  =  R  ->  ( Base `  r )  =  ( Base `  R
) )
7 issubrg.b . . . . . . . 8  |-  B  =  ( Base `  R
)
86, 7syl6eqr 2454 . . . . . . 7  |-  ( r  =  R  ->  ( Base `  r )  =  B )
98pweqd 3764 . . . . . 6  |-  ( r  =  R  ->  ~P ( Base `  r )  =  ~P B )
10 oveq1 6047 . . . . . . . 8  |-  ( r  =  R  ->  (
rs  s )  =  ( Rs  s ) )
1110eleq1d 2470 . . . . . . 7  |-  ( r  =  R  ->  (
( rs  s )  e. 
Ring 
<->  ( Rs  s )  e. 
Ring ) )
12 fveq2 5687 . . . . . . . . 9  |-  ( r  =  R  ->  ( 1r `  r )  =  ( 1r `  R
) )
13 issubrg.i . . . . . . . . 9  |-  .1.  =  ( 1r `  R )
1412, 13syl6eqr 2454 . . . . . . . 8  |-  ( r  =  R  ->  ( 1r `  r )  =  .1.  )
1514eleq1d 2470 . . . . . . 7  |-  ( r  =  R  ->  (
( 1r `  r
)  e.  s  <->  .1.  e.  s ) )
1611, 15anbi12d 692 . . . . . 6  |-  ( r  =  R  ->  (
( ( rs  s )  e.  Ring  /\  ( 1r `  r )  e.  s )  <->  ( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) ) )
179, 16rabeqbidv 2911 . . . . 5  |-  ( r  =  R  ->  { s  e.  ~P ( Base `  r )  |  ( ( rs  s )  e. 
Ring  /\  ( 1r `  r )  e.  s ) }  =  {
s  e.  ~P B  |  ( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) } )
18 fvex 5701 . . . . . . . 8  |-  ( Base `  R )  e.  _V
197, 18eqeltri 2474 . . . . . . 7  |-  B  e. 
_V
2019pwex 4342 . . . . . 6  |-  ~P B  e.  _V
2120rabex 4314 . . . . 5  |-  { s  e.  ~P B  | 
( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) }  e.  _V
2217, 1, 21fvmpt 5765 . . . 4  |-  ( R  e.  Ring  ->  (SubRing `  R
)  =  { s  e.  ~P B  | 
( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) } )
2322eleq2d 2471 . . 3  |-  ( R  e.  Ring  ->  ( A  e.  (SubRing `  R
)  <->  A  e.  { s  e.  ~P B  | 
( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) } ) )
24 oveq2 6048 . . . . . . . 8  |-  ( s  =  A  ->  ( Rs  s )  =  ( Rs  A ) )
2524eleq1d 2470 . . . . . . 7  |-  ( s  =  A  ->  (
( Rs  s )  e. 
Ring 
<->  ( Rs  A )  e.  Ring ) )
26 eleq2 2465 . . . . . . 7  |-  ( s  =  A  ->  (  .1.  e.  s  <->  .1.  e.  A ) )
2725, 26anbi12d 692 . . . . . 6  |-  ( s  =  A  ->  (
( ( Rs  s )  e.  Ring  /\  .1.  e.  s )  <->  ( ( Rs  A )  e.  Ring  /\  .1.  e.  A ) ) )
2827elrab 3052 . . . . 5  |-  ( A  e.  { s  e. 
~P B  |  ( ( Rs  s )  e. 
Ring  /\  .1.  e.  s ) }  <->  ( A  e.  ~P B  /\  (
( Rs  A )  e.  Ring  /\  .1.  e.  A ) ) )
2919elpw2 4324 . . . . . 6  |-  ( A  e.  ~P B  <->  A  C_  B
)
3029anbi1i 677 . . . . 5  |-  ( ( A  e.  ~P B  /\  ( ( Rs  A )  e.  Ring  /\  .1.  e.  A ) )  <->  ( A  C_  B  /\  ( ( Rs  A )  e.  Ring  /\  .1.  e.  A ) ) )
31 an12 773 . . . . 5  |-  ( ( A  C_  B  /\  ( ( Rs  A )  e.  Ring  /\  .1.  e.  A ) )  <->  ( ( Rs  A )  e.  Ring  /\  ( A  C_  B  /\  .1.  e.  A ) ) )
3228, 30, 313bitri 263 . . . 4  |-  ( A  e.  { s  e. 
~P B  |  ( ( Rs  s )  e. 
Ring  /\  .1.  e.  s ) }  <->  ( ( Rs  A )  e.  Ring  /\  ( A  C_  B  /\  .1.  e.  A ) ) )
33 ibar 491 . . . . 5  |-  ( R  e.  Ring  ->  ( ( Rs  A )  e.  Ring  <->  ( R  e.  Ring  /\  ( Rs  A )  e.  Ring ) ) )
3433anbi1d 686 . . . 4  |-  ( R  e.  Ring  ->  ( ( ( Rs  A )  e.  Ring  /\  ( A  C_  B  /\  .1.  e.  A ) )  <->  ( ( R  e.  Ring  /\  ( Rs  A )  e.  Ring )  /\  ( A  C_  B  /\  .1.  e.  A
) ) ) )
3532, 34syl5bb 249 . . 3  |-  ( R  e.  Ring  ->  ( A  e.  { s  e. 
~P B  |  ( ( Rs  s )  e. 
Ring  /\  .1.  e.  s ) }  <->  ( ( R  e.  Ring  /\  ( Rs  A )  e.  Ring )  /\  ( A  C_  B  /\  .1.  e.  A
) ) ) )
3623, 35bitrd 245 . 2  |-  ( R  e.  Ring  ->  ( A  e.  (SubRing `  R
)  <->  ( ( R  e.  Ring  /\  ( Rs  A )  e.  Ring )  /\  ( A  C_  B  /\  .1.  e.  A
) ) ) )
374, 5, 36pm5.21nii 343 1  |-  ( A  e.  (SubRing `  R
)  <->  ( ( R  e.  Ring  /\  ( Rs  A )  e.  Ring )  /\  ( A  C_  B  /\  .1.  e.  A
) ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 177    /\ wa 359    = wceq 1649    e. wcel 1721   {crab 2670   _Vcvv 2916    C_ wss 3280   ~Pcpw 3759   dom cdm 4837   ` cfv 5413  (class class class)co 6040   Basecbs 13424   ↾s cress 13425   Ringcrg 15615   1rcur 15617  SubRingcsubrg 15819
This theorem is referenced by:  subrgss  15824  subrgid  15825  subrgrng  15826  subrgrcl  15828  subrg1cl  15831  issubrg2  15843  subsubrg  15849  subrgpropd  15857  issubassa  16338  subrgpsr  16437  cphsubrglem  19093
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385  ax-sep 4290  ax-nul 4298  ax-pow 4337  ax-pr 4363
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2258  df-mo 2259  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ne 2569  df-ral 2671  df-rex 2672  df-rab 2675  df-v 2918  df-sbc 3122  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-nul 3589  df-if 3700  df-pw 3761  df-sn 3780  df-pr 3781  df-op 3783  df-uni 3976  df-br 4173  df-opab 4227  df-mpt 4228  df-id 4458  df-xp 4843  df-rel 4844  df-cnv 4845  df-co 4846  df-dm 4847  df-rn 4848  df-res 4849  df-ima 4850  df-iota 5377  df-fun 5415  df-fv 5421  df-ov 6043  df-subrg 15821
  Copyright terms: Public domain W3C validator