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

Theorem xppreima 28194
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 5573 . . . . 5  |-  ( Fun 
F  <->  F  Fn  dom  F )
2 fncnvima2 5963 . . . . 5  |-  ( F  Fn  dom  F  -> 
( `' F "
( Y  X.  Z
) )  =  {
x  e.  dom  F  |  ( F `  x )  e.  ( Y  X.  Z ) } )
31, 2sylbi 198 . . . 4  |-  ( Fun 
F  ->  ( `' F " ( Y  X.  Z ) )  =  { x  e.  dom  F  |  ( F `  x )  e.  ( Y  X.  Z ) } )
43adantr 466 . . 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 5901 . . . . . . . . . 10  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( 1st  o.  F ) `  x
)  =  ( 1st `  ( F `  x
) ) )
6 fvco 5901 . . . . . . . . . 10  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( 2nd  o.  F ) `  x
)  =  ( 2nd `  ( F `  x
) ) )
75, 6opeq12d 4138 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  <. ( ( 1st  o.  F ) `  x
) ,  ( ( 2nd  o.  F ) `
 x ) >.  =  <. ( 1st `  ( F `  x )
) ,  ( 2nd `  ( F `  x
) ) >. )
87eqeq2d 2438 . . . . . . . 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 2490 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( 1st 
o.  F ) `  x )  e.  Y  <->  ( 1st `  ( F `
 x ) )  e.  Y ) )
106eleq1d 2490 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( 2nd 
o.  F ) `  x )  e.  Z  <->  ( 2nd `  ( F `
 x ) )  e.  Z ) )
119, 10anbi12d 715 . . . . . . . 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 715 . . . . . . 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 6783 . . . . . . 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 267 . . . . . 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 719 . . . . 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 28193 . . . . . 6  |-  ( ( ( Fun  F  /\  ran  F  C_  ( _V  X.  _V ) )  /\  x  e.  dom  F )  ->  ( F `  x )  =  <. ( ( 1st  o.  F
) `  x ) ,  ( ( 2nd 
o.  F ) `  x ) >. )
1716biantrurd 510 . . . . 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 6771 . . . . . . . . . . 11  |-  1st : _V -onto-> _V
19 fofun 5754 . . . . . . . . . . 11  |-  ( 1st
: _V -onto-> _V  ->  Fun 
1st )
2018, 19ax-mp 5 . . . . . . . . . 10  |-  Fun  1st
21 funco 5582 . . . . . . . . . 10  |-  ( ( Fun  1st  /\  Fun  F
)  ->  Fun  ( 1st 
o.  F ) )
2220, 21mpan 674 . . . . . . . . 9  |-  ( Fun 
F  ->  Fun  ( 1st 
o.  F ) )
2322adantr 466 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  Fun  ( 1st  o.  F
) )
24 ssv 3427 . . . . . . . . . . . 12  |-  ( F
" dom  F )  C_ 
_V
25 fof 5753 . . . . . . . . . . . . 13  |-  ( 1st
: _V -onto-> _V  ->  1st
: _V --> _V )
26 fdm 5693 . . . . . . . . . . . . 13  |-  ( 1st
: _V --> _V  ->  dom 
1st  =  _V )
2718, 25, 26mp2b 10 . . . . . . . . . . . 12  |-  dom  1st  =  _V
2824, 27sseqtr4i 3440 . . . . . . . . . . 11  |-  ( F
" dom  F )  C_ 
dom  1st
29 ssid 3426 . . . . . . . . . . . 12  |-  dom  F  C_ 
dom  F
30 funimass3 5957 . . . . . . . . . . . 12  |-  ( ( Fun  F  /\  dom  F 
C_  dom  F )  ->  ( ( F " dom  F )  C_  dom  1st  <->  dom 
F  C_  ( `' F " dom  1st )
) )
3129, 30mpan2 675 . . . . . . . . . . 11  |-  ( Fun 
F  ->  ( ( F " dom  F ) 
C_  dom  1st  <->  dom  F  C_  ( `' F " dom  1st ) ) )
3228, 31mpbii 214 . . . . . . . . . 10  |-  ( Fun 
F  ->  dom  F  C_  ( `' F " dom  1st ) )
3332sselda 3407 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  x  e.  ( `' F " dom  1st )
)
34 dmco 5305 . . . . . . . . 9  |-  dom  ( 1st  o.  F )  =  ( `' F " dom  1st )
3533, 34syl6eleqr 2517 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  x  e.  dom  ( 1st 
o.  F ) )
36 fvimacnv 5956 . . . . . . . 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 665 . . . . . . 7  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( 1st 
o.  F ) `  x )  e.  Y  <->  x  e.  ( `' ( 1st  o.  F )
" Y ) ) )
38 fo2nd 6772 . . . . . . . . . . 11  |-  2nd : _V -onto-> _V
39 fofun 5754 . . . . . . . . . . 11  |-  ( 2nd
: _V -onto-> _V  ->  Fun 
2nd )
4038, 39ax-mp 5 . . . . . . . . . 10  |-  Fun  2nd
41 funco 5582 . . . . . . . . . 10  |-  ( ( Fun  2nd  /\  Fun  F
)  ->  Fun  ( 2nd 
o.  F ) )
4240, 41mpan 674 . . . . . . . . 9  |-  ( Fun 
F  ->  Fun  ( 2nd 
o.  F ) )
4342adantr 466 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  Fun  ( 2nd  o.  F
) )
44 fof 5753 . . . . . . . . . . . . 13  |-  ( 2nd
: _V -onto-> _V  ->  2nd
: _V --> _V )
45 fdm 5693 . . . . . . . . . . . . 13  |-  ( 2nd
: _V --> _V  ->  dom 
2nd  =  _V )
4638, 44, 45mp2b 10 . . . . . . . . . . . 12  |-  dom  2nd  =  _V
4724, 46sseqtr4i 3440 . . . . . . . . . . 11  |-  ( F
" dom  F )  C_ 
dom  2nd
48 funimass3 5957 . . . . . . . . . . . 12  |-  ( ( Fun  F  /\  dom  F 
C_  dom  F )  ->  ( ( F " dom  F )  C_  dom  2nd  <->  dom 
F  C_  ( `' F " dom  2nd )
) )
4929, 48mpan2 675 . . . . . . . . . . 11  |-  ( Fun 
F  ->  ( ( F " dom  F ) 
C_  dom  2nd  <->  dom  F  C_  ( `' F " dom  2nd ) ) )
5047, 49mpbii 214 . . . . . . . . . 10  |-  ( Fun 
F  ->  dom  F  C_  ( `' F " dom  2nd ) )
5150sselda 3407 . . . . . . . . 9  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  x  e.  ( `' F " dom  2nd )
)
52 dmco 5305 . . . . . . . . 9  |-  dom  ( 2nd  o.  F )  =  ( `' F " dom  2nd )
5351, 52syl6eleqr 2517 . . . . . . . 8  |-  ( ( Fun  F  /\  x  e.  dom  F )  ->  x  e.  dom  ( 2nd 
o.  F ) )
54 fvimacnv 5956 . . . . . . . 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 665 . . . . . . 7  |-  ( ( Fun  F  /\  x  e.  dom  F )  -> 
( ( ( 2nd 
o.  F ) `  x )  e.  Z  <->  x  e.  ( `' ( 2nd  o.  F )
" Z ) ) )
5637, 55anbi12d 715 . . . . . 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 719 . . . . 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 284 . . . 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 3012 . . 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 2462 . 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 3387 . . . 4  |-  ( dom 
F  i^i  ( `' ( 1st  o.  F )
" Y ) )  =  { x  e. 
dom  F  |  x  e.  ( `' ( 1st 
o.  F ) " Y ) }
62 dfin5 3387 . . . 4  |-  ( dom 
F  i^i  ( `' ( 2nd  o.  F )
" Z ) )  =  { x  e. 
dom  F  |  x  e.  ( `' ( 2nd 
o.  F ) " Z ) }
6361, 62ineq12i 3605 . . 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 5150 . . . . . 6  |-  ( `' ( 1st  o.  F
) " Y ) 
C_  dom  ( 1st  o.  F )
65 dmcoss 5056 . . . . . 6  |-  dom  ( 1st  o.  F )  C_  dom  F
6664, 65sstri 3416 . . . . 5  |-  ( `' ( 1st  o.  F
) " Y ) 
C_  dom  F
67 dfss1 3610 . . . . 5  |-  ( ( `' ( 1st  o.  F ) " Y
)  C_  dom  F  <->  ( dom  F  i^i  ( `' ( 1st  o.  F )
" Y ) )  =  ( `' ( 1st  o.  F )
" Y ) )
6866, 67mpbi 211 . . . 4  |-  ( dom 
F  i^i  ( `' ( 1st  o.  F )
" Y ) )  =  ( `' ( 1st  o.  F )
" Y )
69 cnvimass 5150 . . . . . 6  |-  ( `' ( 2nd  o.  F
) " Z ) 
C_  dom  ( 2nd  o.  F )
70 dmcoss 5056 . . . . . 6  |-  dom  ( 2nd  o.  F )  C_  dom  F
7169, 70sstri 3416 . . . . 5  |-  ( `' ( 2nd  o.  F
) " Z ) 
C_  dom  F
72 dfss1 3610 . . . . 5  |-  ( ( `' ( 2nd  o.  F ) " Z
)  C_  dom  F  <->  ( dom  F  i^i  ( `' ( 2nd  o.  F )
" Z ) )  =  ( `' ( 2nd  o.  F )
" Z ) )
7371, 72mpbi 211 . . . 4  |-  ( dom 
F  i^i  ( `' ( 2nd  o.  F )
" Z ) )  =  ( `' ( 2nd  o.  F )
" Z )
7468, 73ineq12i 3605 . . 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 3688 . . 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 2459 . 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 2478 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 187    /\ wa 370    = wceq 1437    e. wcel 1872   {crab 2718   _Vcvv 3022    i^i cin 3378    C_ wss 3379   <.cop 3947    X. cxp 4794   `'ccnv 4795   dom cdm 4796   ran crn 4797   "cima 4799    o. ccom 4800   Fun wfun 5538    Fn wfn 5539   -->wf 5540   -onto->wfo 5542   ` cfv 5544   1stc1st 6749   2ndc2nd 6750
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1663  ax-4 1676  ax-5 1752  ax-6 1798  ax-7 1843  ax-8 1874  ax-9 1876  ax-10 1891  ax-11 1896  ax-12 1909  ax-13 2063  ax-ext 2408  ax-sep 4489  ax-nul 4498  ax-pow 4545  ax-pr 4603  ax-un 6541
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3an 984  df-tru 1440  df-ex 1658  df-nf 1662  df-sb 1791  df-eu 2280  df-mo 2281  df-clab 2415  df-cleq 2421  df-clel 2424  df-nfc 2558  df-ne 2601  df-ral 2719  df-rex 2720  df-rab 2723  df-v 3024  df-sbc 3243  df-dif 3382  df-un 3384  df-in 3386  df-ss 3393  df-nul 3705  df-if 3855  df-sn 3942  df-pr 3944  df-op 3948  df-uni 4163  df-br 4367  df-opab 4426  df-mpt 4427  df-id 4711  df-xp 4802  df-rel 4803  df-cnv 4804  df-co 4805  df-dm 4806  df-rn 4807  df-res 4808  df-ima 4809  df-iota 5508  df-fun 5546  df-fn 5547  df-f 5548  df-fo 5550  df-fv 5552  df-1st 6751  df-2nd 6752
This theorem is referenced by:  xppreima2  28195
  Copyright terms: Public domain W3C validator