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

Theorem dvdsrval 15427
Description: Value of the divides relation. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
dvdsr.1  |-  B  =  ( Base `  R
)
dvdsr.2  |-  .||  =  (
||r `  R )
dvdsr.3  |-  .x.  =  ( .r `  R )
Assertion
Ref Expression
dvdsrval  |-  .||  =  { <. 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
Allowed substitution hint:    .|| ( z)

Proof of Theorem dvdsrval
Dummy variable  r is distinct from all other variables.
StepHypRef Expression
1 dvdsr.2 . . 3  |-  .||  =  (
||r `  R )
2 fveq2 5525 . . . . . . . . 9  |-  ( r  =  R  ->  ( Base `  r )  =  ( Base `  R
) )
3 dvdsr.1 . . . . . . . . 9  |-  B  =  ( Base `  R
)
42, 3syl6eqr 2333 . . . . . . . 8  |-  ( r  =  R  ->  ( Base `  r )  =  B )
54eleq2d 2350 . . . . . . 7  |-  ( r  =  R  ->  (
x  e.  ( Base `  r )  <->  x  e.  B ) )
64rexeqdv 2743 . . . . . . 7  |-  ( r  =  R  ->  ( E. z  e.  ( Base `  r ) ( z ( .r `  r ) x )  =  y  <->  E. z  e.  B  ( z
( .r `  r
) x )  =  y ) )
75, 6anbi12d 691 . . . . . 6  |-  ( r  =  R  ->  (
( x  e.  (
Base `  r )  /\  E. z  e.  (
Base `  r )
( z ( .r
`  r ) x )  =  y )  <-> 
( x  e.  B  /\  E. z  e.  B  ( z ( .r
`  r ) x )  =  y ) ) )
8 fveq2 5525 . . . . . . . . . . 11  |-  ( r  =  R  ->  ( .r `  r )  =  ( .r `  R
) )
9 dvdsr.3 . . . . . . . . . . 11  |-  .x.  =  ( .r `  R )
108, 9syl6eqr 2333 . . . . . . . . . 10  |-  ( r  =  R  ->  ( .r `  r )  = 
.x.  )
1110oveqd 5875 . . . . . . . . 9  |-  ( r  =  R  ->  (
z ( .r `  r ) x )  =  ( z  .x.  x ) )
1211eqeq1d 2291 . . . . . . . 8  |-  ( r  =  R  ->  (
( z ( .r
`  r ) x )  =  y  <->  ( z  .x.  x )  =  y ) )
1312rexbidv 2564 . . . . . . 7  |-  ( r  =  R  ->  ( E. z  e.  B  ( z ( .r
`  r ) x )  =  y  <->  E. z  e.  B  ( z  .x.  x )  =  y ) )
1413anbi2d 684 . . . . . 6  |-  ( r  =  R  ->  (
( x  e.  B  /\  E. z  e.  B  ( z ( .r
`  r ) x )  =  y )  <-> 
( x  e.  B  /\  E. z  e.  B  ( z  .x.  x
)  =  y ) ) )
157, 14bitrd 244 . . . . 5  |-  ( r  =  R  ->  (
( x  e.  (
Base `  r )  /\  E. z  e.  (
Base `  r )
( z ( .r
`  r ) x )  =  y )  <-> 
( x  e.  B  /\  E. z  e.  B  ( z  .x.  x
)  =  y ) ) )
1615opabbidv 4082 . . . 4  |-  ( r  =  R  ->  { <. x ,  y >.  |  ( x  e.  ( Base `  r )  /\  E. z  e.  ( Base `  r ) ( z ( .r `  r
) x )  =  y ) }  =  { <. x ,  y
>.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) } )
17 df-dvdsr 15423 . . . 4  |-  ||r  =  (
r  e.  _V  |->  {
<. x ,  y >.  |  ( x  e.  ( Base `  r
)  /\  E. z  e.  ( Base `  r
) ( z ( .r `  r ) x )  =  y ) } )
18 fvex 5539 . . . . . 6  |-  ( Base `  R )  e.  _V
193, 18eqeltri 2353 . . . . 5  |-  B  e. 
_V
20 eqcom 2285 . . . . . . . . 9  |-  ( ( z  .x.  x )  =  y  <->  y  =  ( z  .x.  x
) )
2120rexbii 2568 . . . . . . . 8  |-  ( E. z  e.  B  ( z  .x.  x )  =  y  <->  E. z  e.  B  y  =  ( z  .x.  x
) )
2221abbii 2395 . . . . . . 7  |-  { y  |  E. z  e.  B  ( z  .x.  x )  =  y }  =  { y  |  E. z  e.  B  y  =  ( z  .x.  x ) }
2319abrexex 5763 . . . . . . 7  |-  { y  |  E. z  e.  B  y  =  ( z  .x.  x ) }  e.  _V
2422, 23eqeltri 2353 . . . . . 6  |-  { y  |  E. z  e.  B  ( z  .x.  x )  =  y }  e.  _V
2524a1i 10 . . . . 5  |-  ( x  e.  B  ->  { y  |  E. z  e.  B  ( z  .x.  x )  =  y }  e.  _V )
2619, 25opabex3 5769 . . . 4  |-  { <. x ,  y >.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) }  e.  _V
2716, 17, 26fvmpt 5602 . . 3  |-  ( R  e.  _V  ->  ( ||r `  R )  =  { <. x ,  y >.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) } )
281, 27syl5eq 2327 . 2  |-  ( R  e.  _V  ->  .||  =  { <. x ,  y >.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) } )
29 fvprc 5519 . . . 4  |-  ( -.  R  e.  _V  ->  (
||r `  R )  =  (/) )
301, 29syl5eq 2327 . . 3  |-  ( -.  R  e.  _V  ->  .||  =  (/) )
31 opabn0 4295 . . . . 5  |-  ( {
<. x ,  y >.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) }  =/=  (/)  <->  E. x E. y ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) )
32 n0i 3460 . . . . . . . 8  |-  ( x  e.  B  ->  -.  B  =  (/) )
33 fvprc 5519 . . . . . . . . 9  |-  ( -.  R  e.  _V  ->  (
Base `  R )  =  (/) )
343, 33syl5eq 2327 . . . . . . . 8  |-  ( -.  R  e.  _V  ->  B  =  (/) )
3532, 34nsyl2 119 . . . . . . 7  |-  ( x  e.  B  ->  R  e.  _V )
3635adantr 451 . . . . . 6  |-  ( ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y )  ->  R  e.  _V )
3736exlimivv 1667 . . . . 5  |-  ( E. x E. y ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y )  ->  R  e.  _V )
3831, 37sylbi 187 . . . 4  |-  ( {
<. x ,  y >.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) }  =/=  (/)  ->  R  e.  _V )
3938necon1bi 2489 . . 3  |-  ( -.  R  e.  _V  ->  {
<. x ,  y >.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) }  =  (/) )
4030, 39eqtr4d 2318 . 2  |-  ( -.  R  e.  _V  ->  .||  =  { <. x ,  y
>.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) } )
4128, 40pm2.61i 156 1  |-  .||  =  { <. x ,  y >.  |  ( x  e.  B  /\  E. z  e.  B  ( z  .x.  x )  =  y ) }
Colors of variables: wff set class
Syntax hints:   -. wn 3    /\ wa 358   E.wex 1528    = wceq 1623    e. wcel 1684   {cab 2269    =/= wne 2446   E.wrex 2544   _Vcvv 2788   (/)c0 3455   {copab 4076   ` cfv 5255  (class class class)co 5858   Basecbs 13148   .rcmulr 13209   ||rcdsr 15420
This theorem is referenced by:  dvdsr  15428  dvdsrpropd  15478  dvdsrz  16440
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-dvdsr 15423
  Copyright terms: Public domain W3C validator