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

Theorem issubrg 13717
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 13715 . . 3  |- SubRing  =  ( r  e.  Ring  |->  { s  e.  ~P ( Base `  r )  |  ( ( rs  s )  e. 
Ring  /\  ( 1r `  r )  e.  s ) } )
21mptrcl 5640 . 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 5554 . . . . . . . 8  |-  ( r  =  R  ->  ( Base `  r )  =  ( Base `  R
) )
5 issubrg.b . . . . . . . 8  |-  B  =  ( Base `  R
)
64, 5eqtr4di 2244 . . . . . . 7  |-  ( r  =  R  ->  ( Base `  r )  =  B )
76pweqd 3606 . . . . . 6  |-  ( r  =  R  ->  ~P ( Base `  r )  =  ~P B )
8 oveq1 5925 . . . . . . . 8  |-  ( r  =  R  ->  (
rs  s )  =  ( Rs  s ) )
98eleq1d 2262 . . . . . . 7  |-  ( r  =  R  ->  (
( rs  s )  e. 
Ring 
<->  ( Rs  s )  e. 
Ring ) )
10 fveq2 5554 . . . . . . . . 9  |-  ( r  =  R  ->  ( 1r `  r )  =  ( 1r `  R
) )
11 issubrg.i . . . . . . . . 9  |-  .1.  =  ( 1r `  R )
1210, 11eqtr4di 2244 . . . . . . . 8  |-  ( r  =  R  ->  ( 1r `  r )  =  .1.  )
1312eleq1d 2262 . . . . . . 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 2755 . . . . 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 12676 . . . . . . . . 9  |-  Base  Fn  _V
18 elex 2771 . . . . . . . . 9  |-  ( R  e.  Ring  ->  R  e. 
_V )
19 funfvex 5571 . . . . . . . . . 10  |-  ( ( Fun  Base  /\  R  e. 
dom  Base )  ->  ( Base `  R )  e. 
_V )
2019funfni 5354 . . . . . . . . 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 2280 . . . . . . 7  |-  ( R  e.  Ring  ->  B  e. 
_V )
2322pwexd 4210 . . . . . 6  |-  ( R  e.  Ring  ->  ~P B  e.  _V )
24 rabexg 4172 . . . . . 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 5651 . . . 4  |-  ( R  e.  Ring  ->  (SubRing `  R
)  =  { s  e.  ~P B  | 
( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) } )
2726eleq2d 2263 . . 3  |-  ( R  e.  Ring  ->  ( A  e.  (SubRing `  R
)  <->  A  e.  { s  e.  ~P B  | 
( ( Rs  s )  e.  Ring  /\  .1.  e.  s ) } ) )
28 oveq2 5926 . . . . . . . 8  |-  ( s  =  A  ->  ( Rs  s )  =  ( Rs  A ) )
2928eleq1d 2262 . . . . . . 7  |-  ( s  =  A  ->  (
( Rs  s )  e. 
Ring 
<->  ( Rs  A )  e.  Ring ) )
30 eleq2 2257 . . . . . . 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 2916 . . . . 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 4185 . . . . . 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 705 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 1364    e. wcel 2164   {crab 2476   _Vcvv 2760    C_ wss 3153   ~Pcpw 3601    Fn wfn 5249   ` cfv 5254  (class class class)co 5918   Basecbs 12618   ↾s cress 12619   1rcur 13455   Ringcrg 13492  SubRingcsubrg 13713
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 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2166  ax-14 2167  ax-ext 2175  ax-sep 4147  ax-pow 4203  ax-pr 4238  ax-un 4464  ax-cnex 7963  ax-resscn 7964  ax-1re 7966  ax-addrcl 7969
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ral 2477  df-rex 2478  df-rab 2481  df-v 2762  df-sbc 2986  df-csb 3081  df-un 3157  df-in 3159  df-ss 3166  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-br 4030  df-opab 4091  df-mpt 4092  df-id 4324  df-xp 4665  df-rel 4666  df-cnv 4667  df-co 4668  df-dm 4669  df-rn 4670  df-res 4671  df-ima 4672  df-iota 5215  df-fun 5256  df-fn 5257  df-fv 5262  df-ov 5921  df-inn 8983  df-ndx 12621  df-slot 12622  df-base 12624  df-subrg 13715
This theorem is referenced by:  subrgss  13718  subrgid  13719  subrgring  13720  subrgrcl  13722  subrg1cl  13725  issubrg2  13737  subsubrg  13741  subrgpropd  13749
  Copyright terms: Public domain W3C validator