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

Theorem resdif 5636
Description: The restriction of a one-to-one onto function to a difference maps onto the difference of the images. (Contributed by Paul Chapman, 11-Apr-2009.)
Assertion
Ref Expression
resdif  |-  ( ( Fun  `' F  /\  ( F  |`  A ) : A -onto-> C  /\  ( F  |`  B ) : B -onto-> D )  ->  ( F  |`  ( A  \  B ) ) : ( A 
\  B ) -1-1-onto-> ( C 
\  D ) )

Proof of Theorem resdif
StepHypRef Expression
1 fofun 5594 . . . . . 6  |-  ( ( F  |`  A ) : A -onto-> C  ->  Fun  ( F  |`  A ) )
2 difss 3417 . . . . . . 7  |-  ( A 
\  B )  C_  A
3 fof 5593 . . . . . . . 8  |-  ( ( F  |`  A ) : A -onto-> C  ->  ( F  |`  A ) : A --> C )
4 fdm 5535 . . . . . . . 8  |-  ( ( F  |`  A ) : A --> C  ->  dom  ( F  |`  A )  =  A )
53, 4syl 16 . . . . . . 7  |-  ( ( F  |`  A ) : A -onto-> C  ->  dom  ( F  |`  A )  =  A )
62, 5syl5sseqr 3340 . . . . . 6  |-  ( ( F  |`  A ) : A -onto-> C  ->  ( A 
\  B )  C_  dom  ( F  |`  A ) )
7 fores 5602 . . . . . 6  |-  ( ( Fun  ( F  |`  A )  /\  ( A  \  B )  C_  dom  ( F  |`  A ) )  ->  ( ( F  |`  A )  |`  ( A  \  B ) ) : ( A 
\  B ) -onto-> ( ( F  |`  A )
" ( A  \  B ) ) )
81, 6, 7syl2anc 643 . . . . 5  |-  ( ( F  |`  A ) : A -onto-> C  ->  ( ( F  |`  A )  |`  ( A  \  B
) ) : ( A  \  B )
-onto-> ( ( F  |`  A ) " ( A  \  B ) ) )
9 resres 5099 . . . . . . . 8  |-  ( ( F  |`  A )  |`  ( A  \  B
) )  =  ( F  |`  ( A  i^i  ( A  \  B
) ) )
10 indif 3526 . . . . . . . . 9  |-  ( A  i^i  ( A  \  B ) )  =  ( A  \  B
)
1110reseq2i 5083 . . . . . . . 8  |-  ( F  |`  ( A  i^i  ( A  \  B ) ) )  =  ( F  |`  ( A  \  B
) )
129, 11eqtri 2407 . . . . . . 7  |-  ( ( F  |`  A )  |`  ( A  \  B
) )  =  ( F  |`  ( A  \  B ) )
13 foeq1 5589 . . . . . . 7  |-  ( ( ( F  |`  A )  |`  ( A  \  B
) )  =  ( F  |`  ( A  \  B ) )  -> 
( ( ( F  |`  A )  |`  ( A  \  B ) ) : ( A  \  B ) -onto-> ( ( F  |`  A ) " ( A  \  B ) )  <->  ( F  |`  ( A  \  B
) ) : ( A  \  B )
-onto-> ( ( F  |`  A ) " ( A  \  B ) ) ) )
1412, 13ax-mp 8 . . . . . 6  |-  ( ( ( F  |`  A )  |`  ( A  \  B
) ) : ( A  \  B )
-onto-> ( ( F  |`  A ) " ( A  \  B ) )  <-> 
( F  |`  ( A  \  B ) ) : ( A  \  B ) -onto-> ( ( F  |`  A ) " ( A  \  B ) ) )
1512rneqi 5036 . . . . . . . 8  |-  ran  (
( F  |`  A )  |`  ( A  \  B
) )  =  ran  ( F  |`  ( A 
\  B ) )
16 df-ima 4831 . . . . . . . 8  |-  ( ( F  |`  A ) " ( A  \  B ) )  =  ran  ( ( F  |`  A )  |`  ( A  \  B ) )
17 df-ima 4831 . . . . . . . 8  |-  ( F
" ( A  \  B ) )  =  ran  ( F  |`  ( A  \  B ) )
1815, 16, 173eqtr4i 2417 . . . . . . 7  |-  ( ( F  |`  A ) " ( A  \  B ) )  =  ( F " ( A  \  B ) )
19 foeq3 5591 . . . . . . 7  |-  ( ( ( F  |`  A )
" ( A  \  B ) )  =  ( F " ( A  \  B ) )  ->  ( ( F  |`  ( A  \  B
) ) : ( A  \  B )
-onto-> ( ( F  |`  A ) " ( A  \  B ) )  <-> 
( F  |`  ( A  \  B ) ) : ( A  \  B ) -onto-> ( F
" ( A  \  B ) ) ) )
2018, 19ax-mp 8 . . . . . 6  |-  ( ( F  |`  ( A  \  B ) ) : ( A  \  B
) -onto-> ( ( F  |`  A ) " ( A  \  B ) )  <-> 
( F  |`  ( A  \  B ) ) : ( A  \  B ) -onto-> ( F
" ( A  \  B ) ) )
2114, 20bitri 241 . . . . 5  |-  ( ( ( F  |`  A )  |`  ( A  \  B
) ) : ( A  \  B )
-onto-> ( ( F  |`  A ) " ( A  \  B ) )  <-> 
( F  |`  ( A  \  B ) ) : ( A  \  B ) -onto-> ( F
" ( A  \  B ) ) )
228, 21sylib 189 . . . 4  |-  ( ( F  |`  A ) : A -onto-> C  ->  ( F  |`  ( A  \  B
) ) : ( A  \  B )
-onto-> ( F " ( A  \  B ) ) )
23 funres11 5461 . . . 4  |-  ( Fun  `' F  ->  Fun  `' ( F  |`  ( A 
\  B ) ) )
24 dff1o3 5620 . . . . 5  |-  ( ( F  |`  ( A  \  B ) ) : ( A  \  B
)
-1-1-onto-> ( F " ( A 
\  B ) )  <-> 
( ( F  |`  ( A  \  B ) ) : ( A 
\  B ) -onto-> ( F " ( A 
\  B ) )  /\  Fun  `' ( F  |`  ( A  \  B ) ) ) )
2524biimpri 198 . . . 4  |-  ( ( ( F  |`  ( A  \  B ) ) : ( A  \  B ) -onto-> ( F
" ( A  \  B ) )  /\  Fun  `' ( F  |`  ( A  \  B ) ) )  ->  ( F  |`  ( A  \  B ) ) : ( A  \  B
)
-1-1-onto-> ( F " ( A 
\  B ) ) )
2622, 23, 25syl2anr 465 . . 3  |-  ( ( Fun  `' F  /\  ( F  |`  A ) : A -onto-> C )  ->  ( F  |`  ( A  \  B ) ) : ( A 
\  B ) -1-1-onto-> ( F
" ( A  \  B ) ) )
27263adant3 977 . 2  |-  ( ( Fun  `' F  /\  ( F  |`  A ) : A -onto-> C  /\  ( F  |`  B ) : B -onto-> D )  ->  ( F  |`  ( A  \  B ) ) : ( A 
\  B ) -1-1-onto-> ( F
" ( A  \  B ) ) )
28 df-ima 4831 . . . . . . 7  |-  ( F
" A )  =  ran  ( F  |`  A )
29 forn 5596 . . . . . . 7  |-  ( ( F  |`  A ) : A -onto-> C  ->  ran  ( F  |`  A )  =  C )
3028, 29syl5eq 2431 . . . . . 6  |-  ( ( F  |`  A ) : A -onto-> C  ->  ( F
" A )  =  C )
31 df-ima 4831 . . . . . . 7  |-  ( F
" B )  =  ran  ( F  |`  B )
32 forn 5596 . . . . . . 7  |-  ( ( F  |`  B ) : B -onto-> D  ->  ran  ( F  |`  B )  =  D )
3331, 32syl5eq 2431 . . . . . 6  |-  ( ( F  |`  B ) : B -onto-> D  ->  ( F
" B )  =  D )
3430, 33anim12i 550 . . . . 5  |-  ( ( ( F  |`  A ) : A -onto-> C  /\  ( F  |`  B ) : B -onto-> D )  ->  ( ( F
" A )  =  C  /\  ( F
" B )  =  D ) )
35 imadif 5468 . . . . . 6  |-  ( Fun  `' F  ->  ( F
" ( A  \  B ) )  =  ( ( F " A )  \  ( F " B ) ) )
36 difeq12 3403 . . . . . 6  |-  ( ( ( F " A
)  =  C  /\  ( F " B )  =  D )  -> 
( ( F " A )  \  ( F " B ) )  =  ( C  \  D ) )
3735, 36sylan9eq 2439 . . . . 5  |-  ( ( Fun  `' F  /\  ( ( F " A )  =  C  /\  ( F " B )  =  D ) )  ->  ( F " ( A  \  B ) )  =  ( C  \  D
) )
3834, 37sylan2 461 . . . 4  |-  ( ( Fun  `' F  /\  ( ( F  |`  A ) : A -onto-> C  /\  ( F  |`  B ) : B -onto-> D ) )  -> 
( F " ( A  \  B ) )  =  ( C  \  D ) )
39383impb 1149 . . 3  |-  ( ( Fun  `' F  /\  ( F  |`  A ) : A -onto-> C  /\  ( F  |`  B ) : B -onto-> D )  ->  ( F "
( A  \  B
) )  =  ( C  \  D ) )
40 f1oeq3 5607 . . 3  |-  ( ( F " ( A 
\  B ) )  =  ( C  \  D )  ->  (
( F  |`  ( A  \  B ) ) : ( A  \  B ) -1-1-onto-> ( F " ( A  \  B ) )  <-> 
( F  |`  ( A  \  B ) ) : ( A  \  B ) -1-1-onto-> ( C  \  D
) ) )
4139, 40syl 16 . 2  |-  ( ( Fun  `' F  /\  ( F  |`  A ) : A -onto-> C  /\  ( F  |`  B ) : B -onto-> D )  ->  ( ( F  |`  ( A  \  B
) ) : ( A  \  B ) -1-1-onto-> ( F " ( A 
\  B ) )  <-> 
( F  |`  ( A  \  B ) ) : ( A  \  B ) -1-1-onto-> ( C  \  D
) ) )
4227, 41mpbid 202 1  |-  ( ( Fun  `' F  /\  ( F  |`  A ) : A -onto-> C  /\  ( F  |`  B ) : B -onto-> D )  ->  ( F  |`  ( A  \  B ) ) : ( A 
\  B ) -1-1-onto-> ( C 
\  D ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1649    \ cdif 3260    i^i cin 3262    C_ wss 3263   `'ccnv 4817   dom cdm 4818   ran crn 4819    |` cres 4820   "cima 4821   Fun wfun 5388   -->wf 5390   -onto->wfo 5392   -1-1-onto->wf1o 5393
This theorem is referenced by:  resin  5637  canthp1lem2  8461  subfacp1lem3  24647  subfacp1lem5  24649
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2368  ax-sep 4271  ax-nul 4279  ax-pr 4344
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-ral 2654  df-rex 2655  df-rab 2658  df-v 2901  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-nul 3572  df-if 3683  df-sn 3763  df-pr 3764  df-op 3766  df-br 4154  df-opab 4208  df-id 4439  df-xp 4824  df-rel 4825  df-cnv 4826  df-co 4827  df-dm 4828  df-rn 4829  df-res 4830  df-ima 4831  df-fun 5396  df-fn 5397  df-f 5398  df-f1 5399  df-fo 5400  df-f1o 5401
  Copyright terms: Public domain W3C validator