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

Theorem fmpox 6168
Description: Functionality, domain and codomain of a class given by the maps-to notation, where  B ( x ) is not constant but depends on  x. (Contributed by NM, 29-Dec-2014.)
Hypothesis
Ref Expression
fmpox.1  |-  F  =  ( x  e.  A ,  y  e.  B  |->  C )
Assertion
Ref Expression
fmpox  |-  ( A. x  e.  A  A. y  e.  B  C  e.  D  <->  F : U_ x  e.  A  ( {
x }  X.  B
) --> D )
Distinct variable groups:    x, y, A   
y, B    x, D, y
Allowed substitution hints:    B( x)    C( x, y)    F( x, y)

Proof of Theorem fmpox
Dummy variables  v  w  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 2729 . . . . . . . 8  |-  z  e. 
_V
2 vex 2729 . . . . . . . 8  |-  w  e. 
_V
31, 2op1std 6116 . . . . . . 7  |-  ( v  =  <. z ,  w >.  ->  ( 1st `  v
)  =  z )
43csbeq1d 3052 . . . . . 6  |-  ( v  =  <. z ,  w >.  ->  [_ ( 1st `  v
)  /  x ]_ [_ ( 2nd `  v
)  /  y ]_ C  =  [_ z  /  x ]_ [_ ( 2nd `  v )  /  y ]_ C )
51, 2op2ndd 6117 . . . . . . . 8  |-  ( v  =  <. z ,  w >.  ->  ( 2nd `  v
)  =  w )
65csbeq1d 3052 . . . . . . 7  |-  ( v  =  <. z ,  w >.  ->  [_ ( 2nd `  v
)  /  y ]_ C  =  [_ w  / 
y ]_ C )
76csbeq2dv 3071 . . . . . 6  |-  ( v  =  <. z ,  w >.  ->  [_ z  /  x ]_ [_ ( 2nd `  v
)  /  y ]_ C  =  [_ z  /  x ]_ [_ w  / 
y ]_ C )
84, 7eqtrd 2198 . . . . 5  |-  ( v  =  <. z ,  w >.  ->  [_ ( 1st `  v
)  /  x ]_ [_ ( 2nd `  v
)  /  y ]_ C  =  [_ z  /  x ]_ [_ w  / 
y ]_ C )
98eleq1d 2235 . . . 4  |-  ( v  =  <. z ,  w >.  ->  ( [_ ( 1st `  v )  /  x ]_ [_ ( 2nd `  v )  /  y ]_ C  e.  D  <->  [_ z  /  x ]_ [_ w  /  y ]_ C  e.  D )
)
109raliunxp 4745 . . 3  |-  ( A. v  e.  U_  z  e.  A  ( { z }  X.  [_ z  /  x ]_ B )
[_ ( 1st `  v
)  /  x ]_ [_ ( 2nd `  v
)  /  y ]_ C  e.  D  <->  A. z  e.  A  A. w  e.  [_  z  /  x ]_ B [_ z  /  x ]_ [_ w  / 
y ]_ C  e.  D
)
11 nfv 1516 . . . . . . 7  |-  F/ z ( ( x  e.  A  /\  y  e.  B )  /\  v  =  C )
12 nfv 1516 . . . . . . 7  |-  F/ w
( ( x  e.  A  /\  y  e.  B )  /\  v  =  C )
13 nfv 1516 . . . . . . . . 9  |-  F/ x  z  e.  A
14 nfcsb1v 3078 . . . . . . . . . 10  |-  F/_ x [_ z  /  x ]_ B
1514nfcri 2302 . . . . . . . . 9  |-  F/ x  w  e.  [_ z  /  x ]_ B
1613, 15nfan 1553 . . . . . . . 8  |-  F/ x
( z  e.  A  /\  w  e.  [_ z  /  x ]_ B )
17 nfcsb1v 3078 . . . . . . . . 9  |-  F/_ x [_ z  /  x ]_ [_ w  /  y ]_ C
1817nfeq2 2320 . . . . . . . 8  |-  F/ x  v  =  [_ z  /  x ]_ [_ w  / 
y ]_ C
1916, 18nfan 1553 . . . . . . 7  |-  F/ x
( ( z  e.  A  /\  w  e. 
[_ z  /  x ]_ B )  /\  v  =  [_ z  /  x ]_ [_ w  /  y ]_ C )
20 nfv 1516 . . . . . . . 8  |-  F/ y ( z  e.  A  /\  w  e.  [_ z  /  x ]_ B )
21 nfcv 2308 . . . . . . . . . 10  |-  F/_ y
z
22 nfcsb1v 3078 . . . . . . . . . 10  |-  F/_ y [_ w  /  y ]_ C
2321, 22nfcsb 3082 . . . . . . . . 9  |-  F/_ y [_ z  /  x ]_ [_ w  /  y ]_ C
2423nfeq2 2320 . . . . . . . 8  |-  F/ y  v  =  [_ z  /  x ]_ [_ w  /  y ]_ C
2520, 24nfan 1553 . . . . . . 7  |-  F/ y ( ( z  e.  A  /\  w  e. 
[_ z  /  x ]_ B )  /\  v  =  [_ z  /  x ]_ [_ w  /  y ]_ C )
26 eleq1 2229 . . . . . . . . . 10  |-  ( x  =  z  ->  (
x  e.  A  <->  z  e.  A ) )
2726adantr 274 . . . . . . . . 9  |-  ( ( x  =  z  /\  y  =  w )  ->  ( x  e.  A  <->  z  e.  A ) )
28 eleq1 2229 . . . . . . . . . 10  |-  ( y  =  w  ->  (
y  e.  B  <->  w  e.  B ) )
29 csbeq1a 3054 . . . . . . . . . . 11  |-  ( x  =  z  ->  B  =  [_ z  /  x ]_ B )
3029eleq2d 2236 . . . . . . . . . 10  |-  ( x  =  z  ->  (
w  e.  B  <->  w  e.  [_ z  /  x ]_ B ) )
3128, 30sylan9bbr 459 . . . . . . . . 9  |-  ( ( x  =  z  /\  y  =  w )  ->  ( y  e.  B  <->  w  e.  [_ z  /  x ]_ B ) )
3227, 31anbi12d 465 . . . . . . . 8  |-  ( ( x  =  z  /\  y  =  w )  ->  ( ( x  e.  A  /\  y  e.  B )  <->  ( z  e.  A  /\  w  e.  [_ z  /  x ]_ B ) ) )
33 csbeq1a 3054 . . . . . . . . . 10  |-  ( y  =  w  ->  C  =  [_ w  /  y ]_ C )
34 csbeq1a 3054 . . . . . . . . . 10  |-  ( x  =  z  ->  [_ w  /  y ]_ C  =  [_ z  /  x ]_ [_ w  /  y ]_ C )
3533, 34sylan9eqr 2221 . . . . . . . . 9  |-  ( ( x  =  z  /\  y  =  w )  ->  C  =  [_ z  /  x ]_ [_ w  /  y ]_ C
)
3635eqeq2d 2177 . . . . . . . 8  |-  ( ( x  =  z  /\  y  =  w )  ->  ( v  =  C  <-> 
v  =  [_ z  /  x ]_ [_ w  /  y ]_ C
) )
3732, 36anbi12d 465 . . . . . . 7  |-  ( ( x  =  z  /\  y  =  w )  ->  ( ( ( x  e.  A  /\  y  e.  B )  /\  v  =  C )  <->  ( (
z  e.  A  /\  w  e.  [_ z  /  x ]_ B )  /\  v  =  [_ z  /  x ]_ [_ w  / 
y ]_ C ) ) )
3811, 12, 19, 25, 37cbvoprab12 5916 . . . . . 6  |-  { <. <.
x ,  y >. ,  v >.  |  ( ( x  e.  A  /\  y  e.  B
)  /\  v  =  C ) }  =  { <. <. z ,  w >. ,  v >.  |  ( ( z  e.  A  /\  w  e.  [_ z  /  x ]_ B )  /\  v  =  [_ z  /  x ]_ [_ w  /  y ]_ C
) }
39 df-mpo 5847 . . . . . 6  |-  ( x  e.  A ,  y  e.  B  |->  C )  =  { <. <. x ,  y >. ,  v
>.  |  ( (
x  e.  A  /\  y  e.  B )  /\  v  =  C
) }
40 df-mpo 5847 . . . . . 6  |-  ( z  e.  A ,  w  e.  [_ z  /  x ]_ B  |->  [_ z  /  x ]_ [_ w  /  y ]_ C
)  =  { <. <.
z ,  w >. ,  v >.  |  (
( z  e.  A  /\  w  e.  [_ z  /  x ]_ B )  /\  v  =  [_ z  /  x ]_ [_ w  /  y ]_ C
) }
4138, 39, 403eqtr4i 2196 . . . . 5  |-  ( x  e.  A ,  y  e.  B  |->  C )  =  ( z  e.  A ,  w  e. 
[_ z  /  x ]_ B  |->  [_ z  /  x ]_ [_ w  /  y ]_ C
)
42 fmpox.1 . . . . 5  |-  F  =  ( x  e.  A ,  y  e.  B  |->  C )
438mpomptx 5933 . . . . 5  |-  ( v  e.  U_ z  e.  A  ( { z }  X.  [_ z  /  x ]_ B ) 
|->  [_ ( 1st `  v
)  /  x ]_ [_ ( 2nd `  v
)  /  y ]_ C )  =  ( z  e.  A ,  w  e.  [_ z  /  x ]_ B  |->  [_ z  /  x ]_ [_ w  /  y ]_ C
)
4441, 42, 433eqtr4i 2196 . . . 4  |-  F  =  ( v  e.  U_ z  e.  A  ( { z }  X.  [_ z  /  x ]_ B )  |->  [_ ( 1st `  v )  /  x ]_ [_ ( 2nd `  v )  /  y ]_ C )
4544fmpt 5635 . . 3  |-  ( A. v  e.  U_  z  e.  A  ( { z }  X.  [_ z  /  x ]_ B )
[_ ( 1st `  v
)  /  x ]_ [_ ( 2nd `  v
)  /  y ]_ C  e.  D  <->  F : U_ z  e.  A  ( { z }  X.  [_ z  /  x ]_ B ) --> D )
4610, 45bitr3i 185 . 2  |-  ( A. z  e.  A  A. w  e.  [_  z  /  x ]_ B [_ z  /  x ]_ [_ w  /  y ]_ C  e.  D  <->  F : U_ z  e.  A  ( {
z }  X.  [_ z  /  x ]_ B
) --> D )
47 nfv 1516 . . 3  |-  F/ z A. y  e.  B  C  e.  D
4817nfel1 2319 . . . 4  |-  F/ x [_ z  /  x ]_ [_ w  /  y ]_ C  e.  D
4914, 48nfralxy 2504 . . 3  |-  F/ x A. w  e.  [_  z  /  x ]_ B [_ z  /  x ]_ [_ w  /  y ]_ C  e.  D
50 nfv 1516 . . . . 5  |-  F/ w  C  e.  D
5122nfel1 2319 . . . . 5  |-  F/ y
[_ w  /  y ]_ C  e.  D
5233eleq1d 2235 . . . . 5  |-  ( y  =  w  ->  ( C  e.  D  <->  [_ w  / 
y ]_ C  e.  D
) )
5350, 51, 52cbvral 2688 . . . 4  |-  ( A. y  e.  B  C  e.  D  <->  A. w  e.  B  [_ w  /  y ]_ C  e.  D )
5434eleq1d 2235 . . . . 5  |-  ( x  =  z  ->  ( [_ w  /  y ]_ C  e.  D  <->  [_ z  /  x ]_ [_ w  /  y ]_ C  e.  D )
)
5529, 54raleqbidv 2673 . . . 4  |-  ( x  =  z  ->  ( A. w  e.  B  [_ w  /  y ]_ C  e.  D  <->  A. w  e.  [_  z  /  x ]_ B [_ z  /  x ]_ [_ w  / 
y ]_ C  e.  D
) )
5653, 55syl5bb 191 . . 3  |-  ( x  =  z  ->  ( A. y  e.  B  C  e.  D  <->  A. w  e.  [_  z  /  x ]_ B [_ z  /  x ]_ [_ w  / 
y ]_ C  e.  D
) )
5747, 49, 56cbvral 2688 . 2  |-  ( A. x  e.  A  A. y  e.  B  C  e.  D  <->  A. z  e.  A  A. w  e.  [_  z  /  x ]_ B [_ z  /  x ]_ [_ w  /  y ]_ C  e.  D )
58 nfcv 2308 . . . 4  |-  F/_ z
( { x }  X.  B )
59 nfcv 2308 . . . . 5  |-  F/_ x { z }
6059, 14nfxp 4631 . . . 4  |-  F/_ x
( { z }  X.  [_ z  /  x ]_ B )
61 sneq 3587 . . . . 5  |-  ( x  =  z  ->  { x }  =  { z } )
6261, 29xpeq12d 4629 . . . 4  |-  ( x  =  z  ->  ( { x }  X.  B )  =  ( { z }  X.  [_ z  /  x ]_ B ) )
6358, 60, 62cbviun 3903 . . 3  |-  U_ x  e.  A  ( {
x }  X.  B
)  =  U_ z  e.  A  ( {
z }  X.  [_ z  /  x ]_ B
)
6463feq2i 5331 . 2  |-  ( F : U_ x  e.  A  ( { x }  X.  B ) --> D  <-> 
F : U_ z  e.  A  ( {
z }  X.  [_ z  /  x ]_ B
) --> D )
6546, 57, 643bitr4i 211 1  |-  ( A. x  e.  A  A. y  e.  B  C  e.  D  <->  F : U_ x  e.  A  ( {
x }  X.  B
) --> D )
Colors of variables: wff set class
Syntax hints:    /\ wa 103    <-> wb 104    = wceq 1343    e. wcel 2136   A.wral 2444   [_csb 3045   {csn 3576   <.cop 3579   U_ciun 3866    |-> cmpt 4043    X. cxp 4602   -->wf 5184   ` cfv 5188   {coprab 5843    e. cmpo 5844   1stc1st 6106   2ndc2nd 6107
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-fv 5196  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109
This theorem is referenced by:  fmpo  6169
  Copyright terms: Public domain W3C validator