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

Theorem respreima 5859
Description: The preimage of a restricted function. (Contributed by Jeff Madsen, 2-Sep-2009.)
Assertion
Ref Expression
respreima  |-  ( Fun 
F  ->  ( `' ( F  |`  B )
" A )  =  ( ( `' F " A )  i^i  B
) )

Proof of Theorem respreima
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 funfn 5482 . . 3  |-  ( Fun 
F  <->  F  Fn  dom  F )
2 elin 3530 . . . . . . . . 9  |-  ( x  e.  ( B  i^i  dom 
F )  <->  ( x  e.  B  /\  x  e.  dom  F ) )
3 ancom 438 . . . . . . . . 9  |-  ( ( x  e.  B  /\  x  e.  dom  F )  <-> 
( x  e.  dom  F  /\  x  e.  B
) )
42, 3bitri 241 . . . . . . . 8  |-  ( x  e.  ( B  i^i  dom 
F )  <->  ( x  e.  dom  F  /\  x  e.  B ) )
54anbi1i 677 . . . . . . 7  |-  ( ( x  e.  ( B  i^i  dom  F )  /\  ( ( F  |`  B ) `  x
)  e.  A )  <-> 
( ( x  e. 
dom  F  /\  x  e.  B )  /\  (
( F  |`  B ) `
 x )  e.  A ) )
6 fvres 5745 . . . . . . . . . 10  |-  ( x  e.  B  ->  (
( F  |`  B ) `
 x )  =  ( F `  x
) )
76eleq1d 2502 . . . . . . . . 9  |-  ( x  e.  B  ->  (
( ( F  |`  B ) `  x
)  e.  A  <->  ( F `  x )  e.  A
) )
87adantl 453 . . . . . . . 8  |-  ( ( x  e.  dom  F  /\  x  e.  B
)  ->  ( (
( F  |`  B ) `
 x )  e.  A  <->  ( F `  x )  e.  A
) )
98pm5.32i 619 . . . . . . 7  |-  ( ( ( x  e.  dom  F  /\  x  e.  B
)  /\  ( ( F  |`  B ) `  x )  e.  A
)  <->  ( ( x  e.  dom  F  /\  x  e.  B )  /\  ( F `  x
)  e.  A ) )
105, 9bitri 241 . . . . . 6  |-  ( ( x  e.  ( B  i^i  dom  F )  /\  ( ( F  |`  B ) `  x
)  e.  A )  <-> 
( ( x  e. 
dom  F  /\  x  e.  B )  /\  ( F `  x )  e.  A ) )
1110a1i 11 . . . . 5  |-  ( F  Fn  dom  F  -> 
( ( x  e.  ( B  i^i  dom  F )  /\  ( ( F  |`  B ) `  x )  e.  A
)  <->  ( ( x  e.  dom  F  /\  x  e.  B )  /\  ( F `  x
)  e.  A ) ) )
12 an32 774 . . . . 5  |-  ( ( ( x  e.  dom  F  /\  x  e.  B
)  /\  ( F `  x )  e.  A
)  <->  ( ( x  e.  dom  F  /\  ( F `  x )  e.  A )  /\  x  e.  B )
)
1311, 12syl6bb 253 . . . 4  |-  ( F  Fn  dom  F  -> 
( ( x  e.  ( B  i^i  dom  F )  /\  ( ( F  |`  B ) `  x )  e.  A
)  <->  ( ( x  e.  dom  F  /\  ( F `  x )  e.  A )  /\  x  e.  B )
) )
14 fnfun 5542 . . . . . . . 8  |-  ( F  Fn  dom  F  ->  Fun  F )
15 funres 5492 . . . . . . . 8  |-  ( Fun 
F  ->  Fun  ( F  |`  B ) )
1614, 15syl 16 . . . . . . 7  |-  ( F  Fn  dom  F  ->  Fun  ( F  |`  B ) )
17 dmres 5167 . . . . . . 7  |-  dom  ( F  |`  B )  =  ( B  i^i  dom  F )
1816, 17jctir 525 . . . . . 6  |-  ( F  Fn  dom  F  -> 
( Fun  ( F  |`  B )  /\  dom  ( F  |`  B )  =  ( B  i^i  dom 
F ) ) )
19 df-fn 5457 . . . . . 6  |-  ( ( F  |`  B )  Fn  ( B  i^i  dom  F )  <->  ( Fun  ( F  |`  B )  /\  dom  ( F  |`  B )  =  ( B  i^i  dom 
F ) ) )
2018, 19sylibr 204 . . . . 5  |-  ( F  Fn  dom  F  -> 
( F  |`  B )  Fn  ( B  i^i  dom 
F ) )
21 elpreima 5850 . . . . 5  |-  ( ( F  |`  B )  Fn  ( B  i^i  dom  F )  ->  ( x  e.  ( `' ( F  |`  B ) " A
)  <->  ( x  e.  ( B  i^i  dom  F )  /\  ( ( F  |`  B ) `  x )  e.  A
) ) )
2220, 21syl 16 . . . 4  |-  ( F  Fn  dom  F  -> 
( x  e.  ( `' ( F  |`  B ) " A
)  <->  ( x  e.  ( B  i^i  dom  F )  /\  ( ( F  |`  B ) `  x )  e.  A
) ) )
23 elin 3530 . . . . 5  |-  ( x  e.  ( ( `' F " A )  i^i  B )  <->  ( x  e.  ( `' F " A )  /\  x  e.  B ) )
24 elpreima 5850 . . . . . 6  |-  ( F  Fn  dom  F  -> 
( x  e.  ( `' F " A )  <-> 
( x  e.  dom  F  /\  ( F `  x )  e.  A
) ) )
2524anbi1d 686 . . . . 5  |-  ( F  Fn  dom  F  -> 
( ( x  e.  ( `' F " A )  /\  x  e.  B )  <->  ( (
x  e.  dom  F  /\  ( F `  x
)  e.  A )  /\  x  e.  B
) ) )
2623, 25syl5bb 249 . . . 4  |-  ( F  Fn  dom  F  -> 
( x  e.  ( ( `' F " A )  i^i  B
)  <->  ( ( x  e.  dom  F  /\  ( F `  x )  e.  A )  /\  x  e.  B )
) )
2713, 22, 263bitr4d 277 . . 3  |-  ( F  Fn  dom  F  -> 
( x  e.  ( `' ( F  |`  B ) " A
)  <->  x  e.  (
( `' F " A )  i^i  B
) ) )
281, 27sylbi 188 . 2  |-  ( Fun 
F  ->  ( x  e.  ( `' ( F  |`  B ) " A
)  <->  x  e.  (
( `' F " A )  i^i  B
) ) )
2928eqrdv 2434 1  |-  ( Fun 
F  ->  ( `' ( F  |`  B )
" A )  =  ( ( `' F " A )  i^i  B
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    = wceq 1652    e. wcel 1725    i^i cin 3319   `'ccnv 4877   dom cdm 4878    |` cres 4880   "cima 4881   Fun wfun 5448    Fn wfn 5449   ` cfv 5454
This theorem is referenced by:  paste  17358  restmetu  18617
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-sep 4330  ax-nul 4338  ax-pr 4403
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-ral 2710  df-rex 2711  df-rab 2714  df-v 2958  df-sbc 3162  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  df-br 4213  df-opab 4267  df-id 4498  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-res 4890  df-ima 4891  df-iota 5418  df-fun 5456  df-fn 5457  df-fv 5462
  Copyright terms: Public domain W3C validator