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

Theorem dvdsrvald 13215
Description: Value of the divides relation. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
dvdsrvald.1  |-  ( ph  ->  B  =  ( Base `  R ) )
dvdsrvald.2  |-  ( ph  -> 
.||  =  ( ||r `  R
) )
dvdsrvald.r  |-  ( ph  ->  R  e. SRing )
dvdsrvald.3  |-  ( ph  ->  .x.  =  ( .r
`  R ) )
Assertion
Ref Expression
dvdsrvald  |-  ( ph  -> 
.||  =  { <. x ,  y >.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) } )
Distinct variable groups:    x, y,  .||    x, z, B, y    x, R, y, z    x,  .x. , y, z    ph, x, y, z
Allowed substitution hint:    .|| ( z)

Proof of Theorem dvdsrvald
Dummy variable  r is distinct from all other variables.
StepHypRef Expression
1 df-dvdsr 13211 . . 3  |-  ||r  =  (
r  e.  _V  |->  {
<. x ,  y >.  |  ( x  e.  ( Base `  r
)  /\  E. z  e.  ( Base `  r
) ( z ( .r `  r ) x )  =  y ) } )
2 fveq2 5515 . . . . . 6  |-  ( r  =  R  ->  ( Base `  r )  =  ( Base `  R
) )
32eleq2d 2247 . . . . 5  |-  ( r  =  R  ->  (
x  e.  ( Base `  r )  <->  x  e.  ( Base `  R )
) )
4 fveq2 5515 . . . . . . . 8  |-  ( r  =  R  ->  ( .r `  r )  =  ( .r `  R
) )
54oveqd 5891 . . . . . . 7  |-  ( r  =  R  ->  (
z ( .r `  r ) x )  =  ( z ( .r `  R ) x ) )
65eqeq1d 2186 . . . . . 6  |-  ( r  =  R  ->  (
( z ( .r
`  r ) x )  =  y  <->  ( z
( .r `  R
) x )  =  y ) )
72, 6rexeqbidv 2685 . . . . 5  |-  ( r  =  R  ->  ( E. z  e.  ( Base `  r ) ( z ( .r `  r ) x )  =  y  <->  E. z  e.  ( Base `  R
) ( z ( .r `  R ) x )  =  y ) )
83, 7anbi12d 473 . . . 4  |-  ( r  =  R  ->  (
( x  e.  (
Base `  r )  /\  E. z  e.  (
Base `  r )
( z ( .r
`  r ) x )  =  y )  <-> 
( x  e.  (
Base `  R )  /\  E. z  e.  (
Base `  R )
( z ( .r
`  R ) x )  =  y ) ) )
98opabbidv 4069 . . 3  |-  ( r  =  R  ->  { <. x ,  y >.  |  ( x  e.  ( Base `  r )  /\  E. z  e.  ( Base `  r ) ( z ( .r `  r
) x )  =  y ) }  =  { <. x ,  y
>.  |  ( x  e.  ( Base `  R
)  /\  E. z  e.  ( Base `  R
) ( z ( .r `  R ) x )  =  y ) } )
10 dvdsrvald.r . . . 4  |-  ( ph  ->  R  e. SRing )
1110elexd 2750 . . 3  |-  ( ph  ->  R  e.  _V )
12 basfn 12514 . . . . . 6  |-  Base  Fn  _V
13 funfvex 5532 . . . . . . 7  |-  ( ( Fun  Base  /\  R  e. 
dom  Base )  ->  ( Base `  R )  e. 
_V )
1413funfni 5316 . . . . . 6  |-  ( (
Base  Fn  _V  /\  R  e.  _V )  ->  ( Base `  R )  e. 
_V )
1512, 11, 14sylancr 414 . . . . 5  |-  ( ph  ->  ( Base `  R
)  e.  _V )
16 xpexg 4740 . . . . 5  |-  ( ( ( Base `  R
)  e.  _V  /\  ( Base `  R )  e.  _V )  ->  (
( Base `  R )  X.  ( Base `  R
) )  e.  _V )
1715, 15, 16syl2anc 411 . . . 4  |-  ( ph  ->  ( ( Base `  R
)  X.  ( Base `  R ) )  e. 
_V )
18 simprr 531 . . . . . . . . 9  |-  ( ( ( ph  /\  x  e.  ( Base `  R
) )  /\  (
z  e.  ( Base `  R )  /\  (
z ( .r `  R ) x )  =  y ) )  ->  ( z ( .r `  R ) x )  =  y )
1910ad2antrr 488 . . . . . . . . . 10  |-  ( ( ( ph  /\  x  e.  ( Base `  R
) )  /\  (
z  e.  ( Base `  R )  /\  (
z ( .r `  R ) x )  =  y ) )  ->  R  e. SRing )
20 simprl 529 . . . . . . . . . 10  |-  ( ( ( ph  /\  x  e.  ( Base `  R
) )  /\  (
z  e.  ( Base `  R )  /\  (
z ( .r `  R ) x )  =  y ) )  ->  z  e.  (
Base `  R )
)
21 simplr 528 . . . . . . . . . 10  |-  ( ( ( ph  /\  x  e.  ( Base `  R
) )  /\  (
z  e.  ( Base `  R )  /\  (
z ( .r `  R ) x )  =  y ) )  ->  x  e.  (
Base `  R )
)
22 eqid 2177 . . . . . . . . . . 11  |-  ( Base `  R )  =  (
Base `  R )
23 eqid 2177 . . . . . . . . . . 11  |-  ( .r
`  R )  =  ( .r `  R
)
2422, 23srgcl 13106 . . . . . . . . . 10  |-  ( ( R  e. SRing  /\  z  e.  ( Base `  R
)  /\  x  e.  ( Base `  R )
)  ->  ( z
( .r `  R
) x )  e.  ( Base `  R
) )
2519, 20, 21, 24syl3anc 1238 . . . . . . . . 9  |-  ( ( ( ph  /\  x  e.  ( Base `  R
) )  /\  (
z  e.  ( Base `  R )  /\  (
z ( .r `  R ) x )  =  y ) )  ->  ( z ( .r `  R ) x )  e.  (
Base `  R )
)
2618, 25eqeltrrd 2255 . . . . . . . 8  |-  ( ( ( ph  /\  x  e.  ( Base `  R
) )  /\  (
z  e.  ( Base `  R )  /\  (
z ( .r `  R ) x )  =  y ) )  ->  y  e.  (
Base `  R )
)
2726rexlimdvaa 2595 . . . . . . 7  |-  ( (
ph  /\  x  e.  ( Base `  R )
)  ->  ( E. z  e.  ( Base `  R ) ( z ( .r `  R
) x )  =  y  ->  y  e.  ( Base `  R )
) )
2827imdistanda 448 . . . . . 6  |-  ( ph  ->  ( ( x  e.  ( Base `  R
)  /\  E. z  e.  ( Base `  R
) ( z ( .r `  R ) x )  =  y )  ->  ( x  e.  ( Base `  R
)  /\  y  e.  ( Base `  R )
) ) )
2928ssopab2dv 4278 . . . . 5  |-  ( ph  ->  { <. x ,  y
>.  |  ( x  e.  ( Base `  R
)  /\  E. z  e.  ( Base `  R
) ( z ( .r `  R ) x )  =  y ) }  C_  { <. x ,  y >.  |  ( x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) ) } )
30 df-xp 4632 . . . . 5  |-  ( (
Base `  R )  X.  ( Base `  R
) )  =  { <. x ,  y >.  |  ( x  e.  ( Base `  R
)  /\  y  e.  ( Base `  R )
) }
3129, 30sseqtrrdi 3204 . . . 4  |-  ( ph  ->  { <. x ,  y
>.  |  ( x  e.  ( Base `  R
)  /\  E. z  e.  ( Base `  R
) ( z ( .r `  R ) x )  =  y ) }  C_  (
( Base `  R )  X.  ( Base `  R
) ) )
3217, 31ssexd 4143 . . 3  |-  ( ph  ->  { <. x ,  y
>.  |  ( x  e.  ( Base `  R
)  /\  E. z  e.  ( Base `  R
) ( z ( .r `  R ) x )  =  y ) }  e.  _V )
331, 9, 11, 32fvmptd3 5609 . 2  |-  ( ph  ->  ( ||r `
 R )  =  { <. x ,  y
>.  |  ( x  e.  ( Base `  R
)  /\  E. z  e.  ( Base `  R
) ( z ( .r `  R ) x )  =  y ) } )
34 dvdsrvald.2 . 2  |-  ( ph  -> 
.||  =  ( ||r `  R
) )
35 dvdsrvald.1 . . . . 5  |-  ( ph  ->  B  =  ( Base `  R ) )
3635eleq2d 2247 . . . 4  |-  ( ph  ->  ( x  e.  B  <->  x  e.  ( Base `  R
) ) )
37 dvdsrvald.3 . . . . . . 7  |-  ( ph  ->  .x.  =  ( .r
`  R ) )
3837oveqd 5891 . . . . . 6  |-  ( ph  ->  ( z  .x.  x
)  =  ( z ( .r `  R
) x ) )
3938eqeq1d 2186 . . . . 5  |-  ( ph  ->  ( ( z  .x.  x )  =  y  <-> 
( z ( .r
`  R ) x )  =  y ) )
4035, 39rexeqbidv 2685 . . . 4  |-  ( ph  ->  ( E. z  e.  B  ( z  .x.  x )  =  y  <->  E. z  e.  ( Base `  R ) ( z ( .r `  R ) x )  =  y ) )
4136, 40anbi12d 473 . . 3  |-  ( ph  ->  ( ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y )  <->  ( x  e.  ( Base `  R
)  /\  E. z  e.  ( Base `  R
) ( z ( .r `  R ) x )  =  y ) ) )
4241opabbidv 4069 . 2  |-  ( ph  ->  { <. x ,  y
>.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) }  =  { <. x ,  y >.  |  ( x  e.  ( Base `  R
)  /\  E. z  e.  ( Base `  R
) ( z ( .r `  R ) x )  =  y ) } )
4333, 34, 423eqtr4d 2220 1  |-  ( ph  -> 
.||  =  { <. x ,  y >.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) } )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    = wceq 1353    e. wcel 2148   E.wrex 2456   _Vcvv 2737   {copab 4063    X. cxp 4624    Fn wfn 5211   ` cfv 5216  (class class class)co 5874   Basecbs 12456   .rcmulr 12531  SRingcsrg 13099   ||rcdsr 13208
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-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-sep 4121  ax-pow 4174  ax-pr 4209  ax-un 4433  ax-setind 4536  ax-cnex 7901  ax-resscn 7902  ax-1cn 7903  ax-1re 7904  ax-icn 7905  ax-addcl 7906  ax-addrcl 7907  ax-mulcl 7908  ax-addcom 7910  ax-addass 7912  ax-i2m1 7915  ax-0lt1 7916  ax-0id 7918  ax-rnegex 7919  ax-pre-ltirr 7922  ax-pre-ltadd 7926
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-nel 2443  df-ral 2460  df-rex 2461  df-rab 2464  df-v 2739  df-sbc 2963  df-csb 3058  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-nul 3423  df-pw 3577  df-sn 3598  df-pr 3599  df-op 3601  df-uni 3810  df-int 3845  df-br 4004  df-opab 4065  df-mpt 4066  df-id 4293  df-xp 4632  df-rel 4633  df-cnv 4634  df-co 4635  df-dm 4636  df-rn 4637  df-res 4638  df-iota 5178  df-fun 5218  df-fn 5219  df-fv 5224  df-riota 5830  df-ov 5877  df-oprab 5878  df-mpo 5879  df-pnf 7992  df-mnf 7993  df-ltxr 7995  df-inn 8918  df-2 8976  df-3 8977  df-ndx 12459  df-slot 12460  df-base 12462  df-sets 12463  df-plusg 12543  df-mulr 12544  df-0g 12697  df-mgm 12729  df-sgrp 12762  df-mnd 12772  df-mgp 13084  df-srg 13100  df-dvdsr 13211
This theorem is referenced by:  dvdsrd  13216  dvdsrex  13220  dvdsrpropdg  13269  dvdsrzring  13384
  Copyright terms: Public domain W3C validator