Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  brapply Unicode version

Theorem brapply 24477
Description: The binary relationship form of the Apply function. (Contributed by Scott Fenton, 12-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
Hypotheses
Ref Expression
brapply.1  |-  A  e. 
_V
brapply.2  |-  B  e. 
_V
brapply.3  |-  C  e. 
_V
Assertion
Ref Expression
brapply  |-  ( <. A ,  B >.Apply C  <-> 
C  =  ( A `
 B ) )

Proof of Theorem brapply
Dummy variables  a 
b  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 snex 4216 . . . 4  |-  { ( A " { B } ) }  e.  _V
21inex1 4155 . . 3  |-  ( { ( A " { B } ) }  i^i  Singletons )  e.  _V
3 unieq 3836 . . . . 5  |-  ( x  =  ( { ( A " { B } ) }  i^i  Singletons )  ->  U. x  =  U. ( { ( A " { B } ) }  i^i  Singletons ) )
43unieqd 3838 . . . 4  |-  ( x  =  ( { ( A " { B } ) }  i^i  Singletons )  ->  U. U. x  = 
U. U. ( { ( A " { B } ) }  i^i  Singletons ) )
54eqeq2d 2294 . . 3  |-  ( x  =  ( { ( A " { B } ) }  i^i  Singletons )  ->  ( C  = 
U. U. x  <->  C  =  U. U. ( { ( A " { B } ) }  i^i  Singletons ) ) )
62, 5ceqsexv 2823 . 2  |-  ( E. x ( x  =  ( { ( A
" { B }
) }  i^i  Singletons )  /\  C  =  U. U. x )  <-> 
C  =  U. U. ( { ( A " { B } ) }  i^i  Singletons ) )
7 df-apply 24414 . . . 4  |- Apply  =  ( ( Bigcup  o.  Bigcup )  o.  ( ( ( _V 
X.  _V )  \  ran  ( ( _V  (x)  _E  )(++) ( (  _E  |` 
Singletons )  (x)  _V )
) )  o.  (
(Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) ) )
87breqi 4029 . . 3  |-  ( <. A ,  B >.Apply C  <->  <. A ,  B >. ( ( Bigcup  o.  Bigcup )  o.  ( ( ( _V 
X.  _V )  \  ran  ( ( _V  (x)  _E  )(++) ( (  _E  |` 
Singletons )  (x)  _V )
) )  o.  (
(Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) ) ) C )
9 opex 4237 . . . 4  |-  <. A ,  B >.  e.  _V
10 brapply.3 . . . 4  |-  C  e. 
_V
119, 10brco 4852 . . 3  |-  ( <. A ,  B >. ( ( Bigcup  o.  Bigcup )  o.  ( ( ( _V 
X.  _V )  \  ran  ( ( _V  (x)  _E  )(++) ( (  _E  |` 
Singletons )  (x)  _V )
) )  o.  (
(Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) ) ) C  <->  E. x
( <. A ,  B >. ( ( ( _V 
X.  _V )  \  ran  ( ( _V  (x)  _E  )(++) ( (  _E  |` 
Singletons )  (x)  _V )
) )  o.  (
(Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) ) x  /\  x (
Bigcup  o.  Bigcup ) C ) )
12 vex 2791 . . . . . . 7  |-  x  e. 
_V
139, 12brco 4852 . . . . . 6  |-  ( <. A ,  B >. ( ( ( _V  X.  _V )  \  ran  (
( _V  (x)  _E  )(++) ( (  _E  |`  Singletons )  (x)  _V ) ) )  o.  ( (Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) ) x  <->  E. y
( <. A ,  B >. ( (Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) y  /\  y ( ( _V  X.  _V )  \  ran  ( ( _V  (x)  _E  )(++) ( (  _E  |`  Singletons )  (x)  _V ) ) ) x ) )
14 vex 2791 . . . . . . . . . 10  |-  y  e. 
_V
159, 14brco 4852 . . . . . . . . 9  |-  ( <. A ,  B >. ( (Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) y  <->  E. z ( <. A ,  B >.pprod (  _I  , Singleton ) z  /\  z (Singleton  o. Img ) y ) )
16 brapply.1 . . . . . . . . . . . . 13  |-  A  e. 
_V
17 brapply.2 . . . . . . . . . . . . 13  |-  B  e. 
_V
18 vex 2791 . . . . . . . . . . . . 13  |-  z  e. 
_V
1916, 17, 18brpprod3a 24426 . . . . . . . . . . . 12  |-  ( <. A ,  B >.pprod (  _I  , Singleton ) z  <->  E. a E. b ( z  = 
<. a ,  b >.  /\  A  _I  a  /\  BSingleton b ) )
20 3anrot 939 . . . . . . . . . . . . . 14  |-  ( ( z  =  <. a ,  b >.  /\  A  _I  a  /\  BSingleton b
)  <->  ( A  _I  a  /\  BSingleton b  /\  z  =  <. a ,  b
>. ) )
21 vex 2791 . . . . . . . . . . . . . . . . 17  |-  a  e. 
_V
2221ideq 4836 . . . . . . . . . . . . . . . 16  |-  ( A  _I  a  <->  A  =  a )
23 eqcom 2285 . . . . . . . . . . . . . . . 16  |-  ( A  =  a  <->  a  =  A )
2422, 23bitri 240 . . . . . . . . . . . . . . 15  |-  ( A  _I  a  <->  a  =  A )
25 vex 2791 . . . . . . . . . . . . . . . 16  |-  b  e. 
_V
2617, 25brsingle 24456 . . . . . . . . . . . . . . 15  |-  ( BSingleton
b  <->  b  =  { B } )
27 biid 227 . . . . . . . . . . . . . . 15  |-  ( z  =  <. a ,  b
>. 
<->  z  =  <. a ,  b >. )
2824, 26, 273anbi123i 1140 . . . . . . . . . . . . . 14  |-  ( ( A  _I  a  /\  BSingleton b  /\  z  = 
<. a ,  b >.
)  <->  ( a  =  A  /\  b  =  { B }  /\  z  =  <. a ,  b >. ) )
2920, 28bitri 240 . . . . . . . . . . . . 13  |-  ( ( z  =  <. a ,  b >.  /\  A  _I  a  /\  BSingleton b
)  <->  ( a  =  A  /\  b  =  { B }  /\  z  =  <. a ,  b >. ) )
30292exbii 1570 . . . . . . . . . . . 12  |-  ( E. a E. b ( z  =  <. a ,  b >.  /\  A  _I  a  /\  BSingleton b
)  <->  E. a E. b
( a  =  A  /\  b  =  { B }  /\  z  =  <. a ,  b
>. ) )
31 snex 4216 . . . . . . . . . . . . 13  |-  { B }  e.  _V
32 opeq1 3796 . . . . . . . . . . . . . 14  |-  ( a  =  A  ->  <. a ,  b >.  =  <. A ,  b >. )
3332eqeq2d 2294 . . . . . . . . . . . . 13  |-  ( a  =  A  ->  (
z  =  <. a ,  b >.  <->  z  =  <. A ,  b >.
) )
34 opeq2 3797 . . . . . . . . . . . . . 14  |-  ( b  =  { B }  -> 
<. A ,  b >.  =  <. A ,  { B } >. )
3534eqeq2d 2294 . . . . . . . . . . . . 13  |-  ( b  =  { B }  ->  ( z  =  <. A ,  b >.  <->  z  =  <. A ,  { B } >. ) )
3616, 31, 33, 35ceqsex2v 2825 . . . . . . . . . . . 12  |-  ( E. a E. b ( a  =  A  /\  b  =  { B }  /\  z  =  <. a ,  b >. )  <->  z  =  <. A ,  { B } >. )
3719, 30, 363bitri 262 . . . . . . . . . . 11  |-  ( <. A ,  B >.pprod (  _I  , Singleton ) z  <->  z  =  <. A ,  { B } >. )
3837anbi1i 676 . . . . . . . . . 10  |-  ( (
<. A ,  B >.pprod (  _I  , Singleton ) z  /\  z (Singleton  o. Img ) y
)  <->  ( z  = 
<. A ,  { B } >.  /\  z (Singleton  o. Img ) y ) )
3938exbii 1569 . . . . . . . . 9  |-  ( E. z ( <. A ,  B >.pprod (  _I  , Singleton ) z  /\  z (Singleton  o. Img ) y )  <->  E. z
( z  =  <. A ,  { B } >.  /\  z (Singleton  o. Img ) y ) )
40 opex 4237 . . . . . . . . . . 11  |-  <. A ,  { B } >.  e.  _V
41 breq1 4026 . . . . . . . . . . 11  |-  ( z  =  <. A ,  { B } >.  ->  ( z (Singleton  o. Img ) y  <->  <. A ,  { B } >. (Singleton  o. Img ) y ) )
4240, 41ceqsexv 2823 . . . . . . . . . 10  |-  ( E. z ( z  = 
<. A ,  { B } >.  /\  z (Singleton  o. Img ) y )  <->  <. A ,  { B } >. (Singleton  o. Img ) y )
4340, 14brco 4852 . . . . . . . . . 10  |-  ( <. A ,  { B } >. (Singleton  o. Img ) y  <->  E. x ( <. A ,  { B } >.Img x  /\  xSingleton y ) )
4416, 31, 12brimg 24476 . . . . . . . . . . . . 13  |-  ( <. A ,  { B } >.Img x  <->  x  =  ( A " { B } ) )
4512, 14brsingle 24456 . . . . . . . . . . . . 13  |-  ( xSingleton
y  <->  y  =  {
x } )
4644, 45anbi12i 678 . . . . . . . . . . . 12  |-  ( (
<. A ,  { B } >.Img x  /\  xSingleton y )  <->  ( x  =  ( A " { B } )  /\  y  =  { x } ) )
4746exbii 1569 . . . . . . . . . . 11  |-  ( E. x ( <. A ,  { B } >.Img x  /\  xSingleton y )  <->  E. x
( x  =  ( A " { B } )  /\  y  =  { x } ) )
48 imaexg 5026 . . . . . . . . . . . . 13  |-  ( A  e.  _V  ->  ( A " { B }
)  e.  _V )
4916, 48ax-mp 8 . . . . . . . . . . . 12  |-  ( A
" { B }
)  e.  _V
50 sneq 3651 . . . . . . . . . . . . 13  |-  ( x  =  ( A " { B } )  ->  { x }  =  { ( A " { B } ) } )
5150eqeq2d 2294 . . . . . . . . . . . 12  |-  ( x  =  ( A " { B } )  -> 
( y  =  {
x }  <->  y  =  { ( A " { B } ) } ) )
5249, 51ceqsexv 2823 . . . . . . . . . . 11  |-  ( E. x ( x  =  ( A " { B } )  /\  y  =  { x } )  <-> 
y  =  { ( A " { B } ) } )
5347, 52bitri 240 . . . . . . . . . 10  |-  ( E. x ( <. A ,  { B } >.Img x  /\  xSingleton y )  <->  y  =  { ( A " { B } ) } )
5442, 43, 533bitri 262 . . . . . . . . 9  |-  ( E. z ( z  = 
<. A ,  { B } >.  /\  z (Singleton  o. Img ) y )  <->  y  =  { ( A " { B } ) } )
5515, 39, 543bitri 262 . . . . . . . 8  |-  ( <. A ,  B >. ( (Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) y  <-> 
y  =  { ( A " { B } ) } )
56 eqid 2283 . . . . . . . . 9  |-  ( ( _V  X.  _V )  \  ran  ( ( _V 
(x)  _E  )(++) (
(  _E  |`  Singletons )  (x)  _V ) ) )  =  ( ( _V  X.  _V )  \  ran  (
( _V  (x)  _E  )(++) ( (  _E  |`  Singletons )  (x)  _V ) ) )
57 brxp 4720 . . . . . . . . . 10  |-  ( y ( _V  X.  _V ) x  <->  ( y  e. 
_V  /\  x  e.  _V ) )
5814, 12, 57mpbir2an 886 . . . . . . . . 9  |-  y ( _V  X.  _V )
x
59 epel 4308 . . . . . . . . . . 11  |-  ( z  _E  y  <->  z  e.  y )
6059anbi1i 676 . . . . . . . . . 10  |-  ( ( z  _E  y  /\  z  e.  Singletons )  <->  ( z  e.  y  /\  z  e. 
Singletons ) )
6114brres 4961 . . . . . . . . . 10  |-  ( z (  _E  |`  Singletons ) y  <->  ( z  _E  y  /\  z  e. 
Singletons ) )
62 elin 3358 . . . . . . . . . 10  |-  ( z  e.  ( y  i^i  Singletons
)  <->  ( z  e.  y  /\  z  e.  Singletons
) )
6360, 61, 623bitr4ri 269 . . . . . . . . 9  |-  ( z  e.  ( y  i^i  Singletons
)  <->  z (  _E  |` 
Singletons ) y )
6414, 12, 56, 58, 63brtxpsd3 24436 . . . . . . . 8  |-  ( y ( ( _V  X.  _V )  \  ran  (
( _V  (x)  _E  )(++) ( (  _E  |`  Singletons )  (x)  _V ) ) ) x  <-> 
x  =  ( y  i^i  Singletons ) )
6555, 64anbi12i 678 . . . . . . 7  |-  ( (
<. A ,  B >. ( (Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) y  /\  y ( ( _V  X.  _V )  \  ran  ( ( _V 
(x)  _E  )(++) (
(  _E  |`  Singletons )  (x)  _V ) ) ) x )  <->  ( y  =  { ( A " { B } ) }  /\  x  =  ( y  i^i  Singletons ) ) )
6665exbii 1569 . . . . . 6  |-  ( E. y ( <. A ,  B >. ( (Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) y  /\  y
( ( _V  X.  _V )  \  ran  (
( _V  (x)  _E  )(++) ( (  _E  |`  Singletons )  (x)  _V ) ) ) x )  <->  E. y ( y  =  { ( A
" { B }
) }  /\  x  =  ( y  i^i  Singletons
) ) )
67 ineq1 3363 . . . . . . . 8  |-  ( y  =  { ( A
" { B }
) }  ->  (
y  i^i  Singletons )  =  ( { ( A " { B } ) }  i^i  Singletons ) )
6867eqeq2d 2294 . . . . . . 7  |-  ( y  =  { ( A
" { B }
) }  ->  (
x  =  ( y  i^i  Singletons )  <->  x  =  ( { ( A " { B } ) }  i^i  Singletons ) ) )
691, 68ceqsexv 2823 . . . . . 6  |-  ( E. y ( y  =  { ( A " { B } ) }  /\  x  =  ( y  i^i  Singletons ) )  <->  x  =  ( { ( A " { B } ) }  i^i  Singletons ) )
7013, 66, 693bitri 262 . . . . 5  |-  ( <. A ,  B >. ( ( ( _V  X.  _V )  \  ran  (
( _V  (x)  _E  )(++) ( (  _E  |`  Singletons )  (x)  _V ) ) )  o.  ( (Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) ) x  <->  x  =  ( { ( A " { B } ) }  i^i  Singletons ) )
7112, 10brco 4852 . . . . . 6  |-  ( x ( Bigcup  o.  Bigcup ) C  <->  E. y ( x Bigcup y  /\  y Bigcup C ) )
7214brbigcup 24438 . . . . . . . . 9  |-  ( x
Bigcup y  <->  U. x  =  y )
73 eqcom 2285 . . . . . . . . 9  |-  ( U. x  =  y  <->  y  =  U. x )
7472, 73bitri 240 . . . . . . . 8  |-  ( x
Bigcup y  <->  y  =  U. x )
7510brbigcup 24438 . . . . . . . . 9  |-  ( y
Bigcup C  <->  U. y  =  C )
76 eqcom 2285 . . . . . . . . 9  |-  ( U. y  =  C  <->  C  =  U. y )
7775, 76bitri 240 . . . . . . . 8  |-  ( y
Bigcup C  <->  C  =  U. y )
7874, 77anbi12i 678 . . . . . . 7  |-  ( ( x Bigcup y  /\  y Bigcup C )  <->  ( y  =  U. x  /\  C  =  U. y ) )
7978exbii 1569 . . . . . 6  |-  ( E. y ( x Bigcup y  /\  y Bigcup C )  <->  E. y ( y  = 
U. x  /\  C  =  U. y ) )
8012uniex 4516 . . . . . . 7  |-  U. x  e.  _V
81 unieq 3836 . . . . . . . 8  |-  ( y  =  U. x  ->  U. y  =  U. U. x )
8281eqeq2d 2294 . . . . . . 7  |-  ( y  =  U. x  -> 
( C  =  U. y 
<->  C  =  U. U. x ) )
8380, 82ceqsexv 2823 . . . . . 6  |-  ( E. y ( y  = 
U. x  /\  C  =  U. y )  <->  C  =  U. U. x )
8471, 79, 833bitri 262 . . . . 5  |-  ( x ( Bigcup  o.  Bigcup ) C  <-> 
C  =  U. U. x )
8570, 84anbi12i 678 . . . 4  |-  ( (
<. A ,  B >. ( ( ( _V  X.  _V )  \  ran  (
( _V  (x)  _E  )(++) ( (  _E  |`  Singletons )  (x)  _V ) ) )  o.  ( (Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) ) x  /\  x
( Bigcup  o.  Bigcup ) C )  <->  ( x  =  ( { ( A
" { B }
) }  i^i  Singletons )  /\  C  =  U. U. x ) )
8685exbii 1569 . . 3  |-  ( E. x ( <. A ,  B >. ( ( ( _V  X.  _V )  \  ran  ( ( _V 
(x)  _E  )(++) (
(  _E  |`  Singletons )  (x)  _V ) ) )  o.  ( (Singleton  o. Img )  o. pprod (  _I  , Singleton ) ) ) x  /\  x
( Bigcup  o.  Bigcup ) C )  <->  E. x ( x  =  ( { ( A " { B } ) }  i^i  Singletons )  /\  C  =  U. U. x ) )
878, 11, 863bitri 262 . 2  |-  ( <. A ,  B >.Apply C  <->  E. x ( x  =  ( { ( A
" { B }
) }  i^i  Singletons )  /\  C  =  U. U. x ) )
88 dffv5 24463 . . 3  |-  ( A `
 B )  = 
U. U. ( { ( A " { B } ) }  i^i  Singletons )
8988eqeq2i 2293 . 2  |-  ( C  =  ( A `  B )  <->  C  =  U. U. ( { ( A " { B } ) }  i^i  Singletons ) )
906, 87, 893bitr4i 268 1  |-  ( <. A ,  B >.Apply C  <-> 
C  =  ( A `
 B ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 176    /\ wa 358    /\ w3a 934   E.wex 1528    = wceq 1623    e. wcel 1684   _Vcvv 2788    \ cdif 3149    i^i cin 3151   {csn 3640   <.cop 3643   U.cuni 3827   class class class wbr 4023    _E cep 4303    _I cid 4304    X. cxp 4687   ran crn 4690    |` cres 4691   "cima 4692    o. ccom 4693   ` cfv 5255  (++)csymdif 24361    (x) ctxp 24373  pprodcpprod 24374   Bigcupcbigcup 24377  Singletoncsingle 24381   Singletonscsingles 24382  Imgcimg 24385  Applycapply 24388
This theorem is referenced by:  dfrdg4  24488  tfrqfree  24489
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-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-rab 2552  df-v 2790  df-sbc 2992  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-br 4024  df-opab 4078  df-mpt 4079  df-eprel 4305  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-fo 5261  df-fv 5263  df-1st 6122  df-2nd 6123  df-symdif 24362  df-txp 24395  df-pprod 24396  df-bigcup 24399  df-singleton 24403  df-singles 24404  df-image 24405  df-cart 24406  df-img 24407  df-apply 24414
  Copyright terms: Public domain W3C validator