ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  issubrg Unicode version

Theorem issubrg 14016
Description: The subring predicate. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Proof shortened by AV, 12-Oct-2020.)
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 14014 . . 3  |- SubRing  =  ( r  e.  Ring  |->  { s  e.  ~P ( Base `  r )  |  ( ( rs  s )  e. 
Ring  /\  ( 1r `  r )  e.  s ) } )
21mptrcl 5664 . 2  |-  ( A  e.  (SubRing `  R
)  ->  R  e.  Ring )
3 simpll 527 . 2  |-  ( ( ( R  e.  Ring  /\  ( Rs  A )  e.  Ring )  /\  ( A  C_  B  /\  .1.  e.  A
) )  ->  R  e.  Ring )
4 fveq2 5578 . . . . . . . 8  |-  ( r  =  R  ->  ( Base `  r )  =  ( Base `  R
) )
5 issubrg.b . . . . . . . 8  |-  B  =  ( Base `  R
)
64, 5eqtr4di 2256 . . . . . . 7  |-  ( r  =  R  ->  ( Base `  r )  =  B )
76pweqd 3621 . . . . . 6  |-  ( r  =  R  ->  ~P ( Base `  r )  =  ~P B )
8 oveq1 5953 . . . . . . . 8  |-  ( r  =  R  ->  (
rs  s )  =  ( Rs  s ) )
98eleq1d 2274 . . . . . . 7  |-  ( r  =  R  ->  (
( rs  s )  e. 
Ring 
<->  ( Rs  s )  e. 
Ring ) )
10 fveq2 5578 . . . . . . . . 9  |-  ( r  =  R  ->  ( 1r `  r )  =  ( 1r `  R
) )
11 issubrg.i . . . . . . . . 9  |-  .1.  =  ( 1r `  R )
1210, 11eqtr4di 2256 . . . . . . . 8  |-  ( r  =  R  ->  ( 1r `  r )  =  .1.  )
1312eleq1d 2274 . . . . . . 7  |-  ( r  =  R  ->  (
( 1r `  r
)  e.  s  <->  .1.  e.  s ) )
149, 13anbi12d 473 . . . . . 6  |-  ( r  =  R  ->  (
( ( rs  s )  e.  Ring  /\  ( 1r `  r )  e.  s )  <->  ( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) ) )
157, 14rabeqbidv 2767 . . . . 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 ) } )
16 id 19 . . . . 5  |-  ( R  e.  Ring  ->  R  e. 
Ring )
17 basfn 12923 . . . . . . . . 9  |-  Base  Fn  _V
18 elex 2783 . . . . . . . . 9  |-  ( R  e.  Ring  ->  R  e. 
_V )
19 funfvex 5595 . . . . . . . . . 10  |-  ( ( Fun  Base  /\  R  e. 
dom  Base )  ->  ( Base `  R )  e. 
_V )
2019funfni 5377 . . . . . . . . 9  |-  ( (
Base  Fn  _V  /\  R  e.  _V )  ->  ( Base `  R )  e. 
_V )
2117, 18, 20sylancr 414 . . . . . . . 8  |-  ( R  e.  Ring  ->  ( Base `  R )  e.  _V )
225, 21eqeltrid 2292 . . . . . . 7  |-  ( R  e.  Ring  ->  B  e. 
_V )
2322pwexd 4226 . . . . . 6  |-  ( R  e.  Ring  ->  ~P B  e.  _V )
24 rabexg 4188 . . . . . 6  |-  ( ~P B  e.  _V  ->  { s  e.  ~P B  |  ( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) }  e.  _V )
2523, 24syl 14 . . . . 5  |-  ( R  e.  Ring  ->  { s  e.  ~P B  | 
( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) }  e.  _V )
261, 15, 16, 25fvmptd3 5675 . . . 4  |-  ( R  e.  Ring  ->  (SubRing `  R
)  =  { s  e.  ~P B  | 
( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) } )
2726eleq2d 2275 . . 3  |-  ( R  e.  Ring  ->  ( A  e.  (SubRing `  R
)  <->  A  e.  { s  e.  ~P B  | 
( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) } ) )
28 oveq2 5954 . . . . . . . 8  |-  ( s  =  A  ->  ( Rs  s )  =  ( Rs  A ) )
2928eleq1d 2274 . . . . . . 7  |-  ( s  =  A  ->  (
( Rs  s )  e. 
Ring 
<->  ( Rs  A )  e.  Ring ) )
30 eleq2 2269 . . . . . . 7  |-  ( s  =  A  ->  (  .1.  e.  s  <->  .1.  e.  A ) )
3129, 30anbi12d 473 . . . . . 6  |-  ( s  =  A  ->  (
( ( Rs  s )  e.  Ring  /\  .1.  e.  s )  <->  ( ( Rs  A )  e.  Ring  /\  .1.  e.  A ) ) )
3231elrab 2929 . . . . 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 ) ) )
3332a1i 9 . . . 4  |-  ( R  e.  Ring  ->  ( A  e.  { s  e. 
~P B  |  ( ( Rs  s )  e. 
Ring  /\  .1.  e.  s ) }  <->  ( A  e.  ~P B  /\  (
( Rs  A )  e.  Ring  /\  .1.  e.  A ) ) ) )
34 elpw2g 4201 . . . . . 6  |-  ( B  e.  _V  ->  ( A  e.  ~P B  <->  A 
C_  B ) )
3522, 34syl 14 . . . . 5  |-  ( R  e.  Ring  ->  ( A  e.  ~P B  <->  A  C_  B
) )
3635anbi1d 465 . . . 4  |-  ( R  e.  Ring  ->  ( ( A  e.  ~P B  /\  ( ( Rs  A )  e.  Ring  /\  .1.  e.  A ) )  <->  ( A  C_  B  /\  ( ( Rs  A )  e.  Ring  /\  .1.  e.  A ) ) ) )
37 an12 561 . . . . 5  |-  ( ( A  C_  B  /\  ( ( Rs  A )  e.  Ring  /\  .1.  e.  A ) )  <->  ( ( Rs  A )  e.  Ring  /\  ( A  C_  B  /\  .1.  e.  A ) ) )
3837a1i 9 . . . 4  |-  ( R  e.  Ring  ->  ( ( A  C_  B  /\  ( ( Rs  A )  e.  Ring  /\  .1.  e.  A ) )  <->  ( ( Rs  A )  e.  Ring  /\  ( A  C_  B  /\  .1.  e.  A ) ) ) )
3933, 36, 383bitrd 214 . . 3  |-  ( R  e.  Ring  ->  ( A  e.  { s  e. 
~P B  |  ( ( Rs  s )  e. 
Ring  /\  .1.  e.  s ) }  <->  ( ( Rs  A )  e.  Ring  /\  ( A  C_  B  /\  .1.  e.  A ) ) ) )
40 ibar 301 . . . 4  |-  ( R  e.  Ring  ->  ( ( Rs  A )  e.  Ring  <->  ( R  e.  Ring  /\  ( Rs  A )  e.  Ring ) ) )
4140anbi1d 465 . . 3  |-  ( 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
) ) ) )
4227, 39, 413bitrd 214 . 2  |-  ( R  e.  Ring  ->  ( A  e.  (SubRing `  R
)  <->  ( ( R  e.  Ring  /\  ( Rs  A )  e.  Ring )  /\  ( A  C_  B  /\  .1.  e.  A
) ) ) )
432, 3, 42pm5.21nii 706 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:    /\ wa 104    <-> wb 105    = wceq 1373    e. wcel 2176   {crab 2488   _Vcvv 2772    C_ wss 3166   ~Pcpw 3616    Fn wfn 5267   ` cfv 5272  (class class class)co 5946   Basecbs 12865   ↾s cress 12866   1rcur 13754   Ringcrg 13791  SubRingcsubrg 14012
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 711  ax-5 1470  ax-7 1471  ax-gen 1472  ax-ie1 1516  ax-ie2 1517  ax-8 1527  ax-10 1528  ax-11 1529  ax-i12 1530  ax-bndl 1532  ax-4 1533  ax-17 1549  ax-i9 1553  ax-ial 1557  ax-i5r 1558  ax-13 2178  ax-14 2179  ax-ext 2187  ax-sep 4163  ax-pow 4219  ax-pr 4254  ax-un 4481  ax-cnex 8018  ax-resscn 8019  ax-1re 8021  ax-addrcl 8024
This theorem depends on definitions:  df-bi 117  df-3an 983  df-tru 1376  df-nf 1484  df-sb 1786  df-eu 2057  df-mo 2058  df-clab 2192  df-cleq 2198  df-clel 2201  df-nfc 2337  df-ral 2489  df-rex 2490  df-rab 2493  df-v 2774  df-sbc 2999  df-csb 3094  df-un 3170  df-in 3172  df-ss 3179  df-pw 3618  df-sn 3639  df-pr 3640  df-op 3642  df-uni 3851  df-int 3886  df-br 4046  df-opab 4107  df-mpt 4108  df-id 4341  df-xp 4682  df-rel 4683  df-cnv 4684  df-co 4685  df-dm 4686  df-rn 4687  df-res 4688  df-ima 4689  df-iota 5233  df-fun 5274  df-fn 5275  df-fv 5280  df-ov 5949  df-inn 9039  df-ndx 12868  df-slot 12869  df-base 12871  df-subrg 14014
This theorem is referenced by:  subrgss  14017  subrgid  14018  subrgring  14019  subrgrcl  14021  subrg1cl  14024  issubrg2  14036  subsubrg  14040  subrgpropd  14048
  Copyright terms: Public domain W3C validator