Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  xppreima Structured version   Unicode version

Theorem xppreima 25964
Description: The preimage of a Cartesian product is the intersection of the preimages of each component function. (Contributed by Thierry Arnoux, 6-Jun-2017.)
Assertion
Ref Expression
xppreima  |-  ( ( Fun  F  /\  ran  F 
C_  ( _V  X.  _V ) )  ->  ( `' F " ( Y  X.  Z ) )  =  ( ( `' ( 1st  o.  F
) " Y )  i^i  ( `' ( 2nd  o.  F )
" Z ) ) )

Proof of Theorem xppreima
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 funfn 5447 . . . . 5  |-  ( Fun 
F  <->  F  Fn  dom  F )
2 fncnvima2 5825 . . . . 5  |-  ( F  Fn  dom  F  -> 
( `' F "
( Y  X.  Z
) )  =  {
x  e.  dom  F  |  ( F `  x )  e.  ( Y  X.  Z ) } )
31, 2sylbi 195 . . . 4  |-  ( Fun 
F  ->  ( `' F " ( Y  X.  Z ) )  =  { x  e.  dom  F  |  ( F `  x )  e.  ( Y  X.  Z ) } )
43adantr 465 . . 3  |-  ( ( Fun  F  /\  ran  F 
C_  ( _V  X.  _V ) )  ->  ( `' F " ( Y  X.  Z ) )  =  { x  e. 
dom  F  |  ( F `  x )  e.  ( Y  X.  Z
) } )
5 fvco 5767 . . . . . . . . . 10  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( 1st  o.  F ) `  x
)  =  ( 1st `  ( F `  x
) ) )
6 fvco 5767 . . . . . . . . . 10  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( 2nd  o.  F ) `  x
)  =  ( 2nd `  ( F `  x
) ) )
75, 6opeq12d 4067 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  <. ( ( 1st  o.  F ) `  x
) ,  ( ( 2nd  o.  F ) `
 x ) >.  =  <. ( 1st `  ( F `  x )
) ,  ( 2nd `  ( F `  x
) ) >. )
87eqeq2d 2454 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( F `  x )  =  <. ( ( 1st  o.  F
) `  x ) ,  ( ( 2nd 
o.  F ) `  x ) >.  <->  ( F `  x )  =  <. ( 1st `  ( F `
 x ) ) ,  ( 2nd `  ( F `  x )
) >. ) )
95eleq1d 2509 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( 1st 
o.  F ) `  x )  e.  Y  <->  ( 1st `  ( F `
 x ) )  e.  Y ) )
106eleq1d 2509 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( 2nd 
o.  F ) `  x )  e.  Z  <->  ( 2nd `  ( F `
 x ) )  e.  Z ) )
119, 10anbi12d 710 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( ( 1st  o.  F ) `
 x )  e.  Y  /\  ( ( 2nd  o.  F ) `
 x )  e.  Z )  <->  ( ( 1st `  ( F `  x ) )  e.  Y  /\  ( 2nd `  ( F `  x
) )  e.  Z
) ) )
128, 11anbi12d 710 . . . . . . 7  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( F `
 x )  = 
<. ( ( 1st  o.  F ) `  x
) ,  ( ( 2nd  o.  F ) `
 x ) >.  /\  ( ( ( 1st 
o.  F ) `  x )  e.  Y  /\  ( ( 2nd  o.  F ) `  x
)  e.  Z ) )  <->  ( ( F `
 x )  = 
<. ( 1st `  ( F `  x )
) ,  ( 2nd `  ( F `  x
) ) >.  /\  (
( 1st `  ( F `  x )
)  e.  Y  /\  ( 2nd `  ( F `
 x ) )  e.  Z ) ) ) )
13 elxp6 6608 . . . . . . 7  |-  ( ( F `  x )  e.  ( Y  X.  Z )  <->  ( ( F `  x )  =  <. ( 1st `  ( F `  x )
) ,  ( 2nd `  ( F `  x
) ) >.  /\  (
( 1st `  ( F `  x )
)  e.  Y  /\  ( 2nd `  ( F `
 x ) )  e.  Z ) ) )
1412, 13syl6rbbr 264 . . . . . 6  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( F `  x )  e.  ( Y  X.  Z )  <-> 
( ( F `  x )  =  <. ( ( 1st  o.  F
) `  x ) ,  ( ( 2nd 
o.  F ) `  x ) >.  /\  (
( ( 1st  o.  F ) `  x
)  e.  Y  /\  ( ( 2nd  o.  F ) `  x
)  e.  Z ) ) ) )
1514adantlr 714 . . . . 5  |-  ( ( ( Fun  F  /\  ran  F  C_  ( _V  X.  _V ) )  /\  x  e.  dom  F )  ->  ( ( F `
 x )  e.  ( Y  X.  Z
)  <->  ( ( F `
 x )  = 
<. ( ( 1st  o.  F ) `  x
) ,  ( ( 2nd  o.  F ) `
 x ) >.  /\  ( ( ( 1st 
o.  F ) `  x )  e.  Y  /\  ( ( 2nd  o.  F ) `  x
)  e.  Z ) ) ) )
16 opfv 25963 . . . . . 6  |-  ( ( ( Fun  F  /\  ran  F  C_  ( _V  X.  _V ) )  /\  x  e.  dom  F )  ->  ( F `  x )  =  <. ( ( 1st  o.  F
) `  x ) ,  ( ( 2nd 
o.  F ) `  x ) >. )
1716biantrurd 508 . . . . 5  |-  ( ( ( Fun  F  /\  ran  F  C_  ( _V  X.  _V ) )  /\  x  e.  dom  F )  ->  ( ( ( ( 1st  o.  F
) `  x )  e.  Y  /\  (
( 2nd  o.  F
) `  x )  e.  Z )  <->  ( ( F `  x )  =  <. ( ( 1st 
o.  F ) `  x ) ,  ( ( 2nd  o.  F
) `  x ) >.  /\  ( ( ( 1st  o.  F ) `
 x )  e.  Y  /\  ( ( 2nd  o.  F ) `
 x )  e.  Z ) ) ) )
18 fo1st 6596 . . . . . . . . . . 11  |-  1st : _V -onto-> _V
19 fofun 5621 . . . . . . . . . . 11  |-  ( 1st
: _V -onto-> _V  ->  Fun 
1st )
2018, 19ax-mp 5 . . . . . . . . . 10  |-  Fun  1st
21 funco 5456 . . . . . . . . . 10  |-  ( ( Fun  1st  /\  Fun  F
)  ->  Fun  ( 1st 
o.  F ) )
2220, 21mpan 670 . . . . . . . . 9  |-  ( Fun 
F  ->  Fun  ( 1st 
o.  F ) )
2322adantr 465 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  Fun  ( 1st  o.  F
) )
24 ssv 3376 . . . . . . . . . . . 12  |-  ( F
" dom  F )  C_ 
_V
25 fof 5620 . . . . . . . . . . . . 13  |-  ( 1st
: _V -onto-> _V  ->  1st
: _V --> _V )
26 fdm 5563 . . . . . . . . . . . . 13  |-  ( 1st
: _V --> _V  ->  dom 
1st  =  _V )
2718, 25, 26mp2b 10 . . . . . . . . . . . 12  |-  dom  1st  =  _V
2824, 27sseqtr4i 3389 . . . . . . . . . . 11  |-  ( F
" dom  F )  C_ 
dom  1st
29 ssid 3375 . . . . . . . . . . . 12  |-  dom  F  C_ 
dom  F
30 funimass3 5819 . . . . . . . . . . . 12  |-  ( ( Fun  F  /\  dom  F 
C_  dom  F )  ->  ( ( F " dom  F )  C_  dom  1st  <->  dom 
F  C_  ( `' F " dom  1st )
) )
3129, 30mpan2 671 . . . . . . . . . . 11  |-  ( Fun 
F  ->  ( ( F " dom  F ) 
C_  dom  1st  <->  dom  F  C_  ( `' F " dom  1st ) ) )
3228, 31mpbii 211 . . . . . . . . . 10  |-  ( Fun 
F  ->  dom  F  C_  ( `' F " dom  1st ) )
3332sselda 3356 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  x  e.  ( `' F " dom  1st )
)
34 dmco 5346 . . . . . . . . 9  |-  dom  ( 1st  o.  F )  =  ( `' F " dom  1st )
3533, 34syl6eleqr 2534 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  x  e.  dom  ( 1st 
o.  F ) )
36 fvimacnv 5818 . . . . . . . 8  |-  ( ( Fun  ( 1st  o.  F )  /\  x  e.  dom  ( 1st  o.  F ) )  -> 
( ( ( 1st 
o.  F ) `  x )  e.  Y  <->  x  e.  ( `' ( 1st  o.  F )
" Y ) ) )
3723, 35, 36syl2anc 661 . . . . . . 7  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( 1st 
o.  F ) `  x )  e.  Y  <->  x  e.  ( `' ( 1st  o.  F )
" Y ) ) )
38 fo2nd 6597 . . . . . . . . . . 11  |-  2nd : _V -onto-> _V
39 fofun 5621 . . . . . . . . . . 11  |-  ( 2nd
: _V -onto-> _V  ->  Fun 
2nd )
4038, 39ax-mp 5 . . . . . . . . . 10  |-  Fun  2nd
41 funco 5456 . . . . . . . . . 10  |-  ( ( Fun  2nd  /\  Fun  F
)  ->  Fun  ( 2nd 
o.  F ) )
4240, 41mpan 670 . . . . . . . . 9  |-  ( Fun 
F  ->  Fun  ( 2nd 
o.  F ) )
4342adantr 465 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  Fun  ( 2nd  o.  F
) )
44 fof 5620 . . . . . . . . . . . . 13  |-  ( 2nd
: _V -onto-> _V  ->  2nd
: _V --> _V )
45 fdm 5563 . . . . . . . . . . . . 13  |-  ( 2nd
: _V --> _V  ->  dom 
2nd  =  _V )
4638, 44, 45mp2b 10 . . . . . . . . . . . 12  |-  dom  2nd  =  _V
4724, 46sseqtr4i 3389 . . . . . . . . . . 11  |-  ( F
" dom  F )  C_ 
dom  2nd
48 funimass3 5819 . . . . . . . . . . . 12  |-  ( ( Fun  F  /\  dom  F 
C_  dom  F )  ->  ( ( F " dom  F )  C_  dom  2nd  <->  dom 
F  C_  ( `' F " dom  2nd )
) )
4929, 48mpan2 671 . . . . . . . . . . 11  |-  ( Fun 
F  ->  ( ( F " dom  F ) 
C_  dom  2nd  <->  dom  F  C_  ( `' F " dom  2nd ) ) )
5047, 49mpbii 211 . . . . . . . . . 10  |-  ( Fun 
F  ->  dom  F  C_  ( `' F " dom  2nd ) )
5150sselda 3356 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  x  e.  ( `' F " dom  2nd )
)
52 dmco 5346 . . . . . . . . 9  |-  dom  ( 2nd  o.  F )  =  ( `' F " dom  2nd )
5351, 52syl6eleqr 2534 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  x  e.  dom  ( 2nd 
o.  F ) )
54 fvimacnv 5818 . . . . . . . 8  |-  ( ( Fun  ( 2nd  o.  F )  /\  x  e.  dom  ( 2nd  o.  F ) )  -> 
( ( ( 2nd 
o.  F ) `  x )  e.  Z  <->  x  e.  ( `' ( 2nd  o.  F )
" Z ) ) )
5543, 53, 54syl2anc 661 . . . . . . 7  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( 2nd 
o.  F ) `  x )  e.  Z  <->  x  e.  ( `' ( 2nd  o.  F )
" Z ) ) )
5637, 55anbi12d 710 . . . . . 6  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( ( 1st  o.  F ) `
 x )  e.  Y  /\  ( ( 2nd  o.  F ) `
 x )  e.  Z )  <->  ( x  e.  ( `' ( 1st 
o.  F ) " Y )  /\  x  e.  ( `' ( 2nd 
o.  F ) " Z ) ) ) )
5756adantlr 714 . . . . 5  |-  ( ( ( Fun  F  /\  ran  F  C_  ( _V  X.  _V ) )  /\  x  e.  dom  F )  ->  ( ( ( ( 1st  o.  F
) `  x )  e.  Y  /\  (
( 2nd  o.  F
) `  x )  e.  Z )  <->  ( x  e.  ( `' ( 1st 
o.  F ) " Y )  /\  x  e.  ( `' ( 2nd 
o.  F ) " Z ) ) ) )
5815, 17, 573bitr2d 281 . . . 4  |-  ( ( ( Fun  F  /\  ran  F  C_  ( _V  X.  _V ) )  /\  x  e.  dom  F )  ->  ( ( F `
 x )  e.  ( Y  X.  Z
)  <->  ( x  e.  ( `' ( 1st 
o.  F ) " Y )  /\  x  e.  ( `' ( 2nd 
o.  F ) " Z ) ) ) )
5958rabbidva 2963 . . 3  |-  ( ( Fun  F  /\  ran  F 
C_  ( _V  X.  _V ) )  ->  { x  e.  dom  F  |  ( F `  x )  e.  ( Y  X.  Z ) }  =  { x  e.  dom  F  |  ( x  e.  ( `' ( 1st 
o.  F ) " Y )  /\  x  e.  ( `' ( 2nd 
o.  F ) " Z ) ) } )
604, 59eqtrd 2475 . 2  |-  ( ( Fun  F  /\  ran  F 
C_  ( _V  X.  _V ) )  ->  ( `' F " ( Y  X.  Z ) )  =  { x  e. 
dom  F  |  (
x  e.  ( `' ( 1st  o.  F
) " Y )  /\  x  e.  ( `' ( 2nd  o.  F ) " Z
) ) } )
61 dfin5 3336 . . . 4  |-  ( dom 
F  i^i  ( `' ( 1st  o.  F )
" Y ) )  =  { x  e. 
dom  F  |  x  e.  ( `' ( 1st 
o.  F ) " Y ) }
62 dfin5 3336 . . . 4  |-  ( dom 
F  i^i  ( `' ( 2nd  o.  F )
" Z ) )  =  { x  e. 
dom  F  |  x  e.  ( `' ( 2nd 
o.  F ) " Z ) }
6361, 62ineq12i 3550 . . 3  |-  ( ( dom  F  i^i  ( `' ( 1st  o.  F ) " Y
) )  i^i  ( dom  F  i^i  ( `' ( 2nd  o.  F
) " Z ) ) )  =  ( { x  e.  dom  F  |  x  e.  ( `' ( 1st  o.  F ) " Y
) }  i^i  {
x  e.  dom  F  |  x  e.  ( `' ( 2nd  o.  F ) " Z
) } )
64 cnvimass 5189 . . . . . 6  |-  ( `' ( 1st  o.  F
) " Y ) 
C_  dom  ( 1st  o.  F )
65 dmcoss 5099 . . . . . 6  |-  dom  ( 1st  o.  F )  C_  dom  F
6664, 65sstri 3365 . . . . 5  |-  ( `' ( 1st  o.  F
) " Y ) 
C_  dom  F
67 dfss1 3555 . . . . 5  |-  ( ( `' ( 1st  o.  F ) " Y
)  C_  dom  F  <->  ( dom  F  i^i  ( `' ( 1st  o.  F )
" Y ) )  =  ( `' ( 1st  o.  F )
" Y ) )
6866, 67mpbi 208 . . . 4  |-  ( dom 
F  i^i  ( `' ( 1st  o.  F )
" Y ) )  =  ( `' ( 1st  o.  F )
" Y )
69 cnvimass 5189 . . . . . 6  |-  ( `' ( 2nd  o.  F
) " Z ) 
C_  dom  ( 2nd  o.  F )
70 dmcoss 5099 . . . . . 6  |-  dom  ( 2nd  o.  F )  C_  dom  F
7169, 70sstri 3365 . . . . 5  |-  ( `' ( 2nd  o.  F
) " Z ) 
C_  dom  F
72 dfss1 3555 . . . . 5  |-  ( ( `' ( 2nd  o.  F ) " Z
)  C_  dom  F  <->  ( dom  F  i^i  ( `' ( 2nd  o.  F )
" Z ) )  =  ( `' ( 2nd  o.  F )
" Z ) )
7371, 72mpbi 208 . . . 4  |-  ( dom 
F  i^i  ( `' ( 2nd  o.  F )
" Z ) )  =  ( `' ( 2nd  o.  F )
" Z )
7468, 73ineq12i 3550 . . 3  |-  ( ( dom  F  i^i  ( `' ( 1st  o.  F ) " Y
) )  i^i  ( dom  F  i^i  ( `' ( 2nd  o.  F
) " Z ) ) )  =  ( ( `' ( 1st 
o.  F ) " Y )  i^i  ( `' ( 2nd  o.  F ) " Z
) )
75 inrab 3622 . . 3  |-  ( { x  e.  dom  F  |  x  e.  ( `' ( 1st  o.  F ) " Y
) }  i^i  {
x  e.  dom  F  |  x  e.  ( `' ( 2nd  o.  F ) " Z
) } )  =  { x  e.  dom  F  |  ( x  e.  ( `' ( 1st 
o.  F ) " Y )  /\  x  e.  ( `' ( 2nd 
o.  F ) " Z ) ) }
7663, 74, 753eqtr3ri 2472 . 2  |-  { x  e.  dom  F  |  ( x  e.  ( `' ( 1st  o.  F
) " Y )  /\  x  e.  ( `' ( 2nd  o.  F ) " Z
) ) }  =  ( ( `' ( 1st  o.  F )
" Y )  i^i  ( `' ( 2nd 
o.  F ) " Z ) )
7760, 76syl6eq 2491 1  |-  ( ( Fun  F  /\  ran  F 
C_  ( _V  X.  _V ) )  ->  ( `' F " ( Y  X.  Z ) )  =  ( ( `' ( 1st  o.  F
) " Y )  i^i  ( `' ( 2nd  o.  F )
" Z ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369    e. wcel 1756   {crab 2719   _Vcvv 2972    i^i cin 3327    C_ wss 3328   <.cop 3883    X. cxp 4838   `'ccnv 4839   dom cdm 4840   ran crn 4841   "cima 4843    o. ccom 4844   Fun wfun 5412    Fn wfn 5413   -->wf 5414   -onto->wfo 5416   ` cfv 5418   1stc1st 6575   2ndc2nd 6576
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4413  ax-nul 4421  ax-pow 4470  ax-pr 4531  ax-un 6372
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2568  df-ne 2608  df-ral 2720  df-rex 2721  df-rab 2724  df-v 2974  df-sbc 3187  df-dif 3331  df-un 3333  df-in 3335  df-ss 3342  df-nul 3638  df-if 3792  df-sn 3878  df-pr 3880  df-op 3884  df-uni 4092  df-br 4293  df-opab 4351  df-mpt 4352  df-id 4636  df-xp 4846  df-rel 4847  df-cnv 4848  df-co 4849  df-dm 4850  df-rn 4851  df-res 4852  df-ima 4853  df-iota 5381  df-fun 5420  df-fn 5421  df-f 5422  df-fo 5424  df-fv 5426  df-1st 6577  df-2nd 6578
This theorem is referenced by:  xppreima2  25965
  Copyright terms: Public domain W3C validator