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

Theorem respreima 5844
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 5459 . . 3  |-  ( Fun 
F  <->  F  Fn  dom  F )
2 elin 3551 . . . . . . . . 9  |-  ( x  e.  ( B  i^i  dom 
F )  <->  ( x  e.  B  /\  x  e.  dom  F ) )
3 ancom 450 . . . . . . . . 9  |-  ( ( x  e.  B  /\  x  e.  dom  F )  <-> 
( x  e.  dom  F  /\  x  e.  B
) )
42, 3bitri 249 . . . . . . . 8  |-  ( x  e.  ( B  i^i  dom 
F )  <->  ( x  e.  dom  F  /\  x  e.  B ) )
54anbi1i 695 . . . . . . 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 5716 . . . . . . . . . 10  |-  ( x  e.  B  ->  (
( F  |`  B ) `
 x )  =  ( F `  x
) )
76eleq1d 2509 . . . . . . . . 9  |-  ( x  e.  B  ->  (
( ( F  |`  B ) `  x
)  e.  A  <->  ( F `  x )  e.  A
) )
87adantl 466 . . . . . . . 8  |-  ( ( x  e.  dom  F  /\  x  e.  B
)  ->  ( (
( F  |`  B ) `
 x )  e.  A  <->  ( F `  x )  e.  A
) )
98pm5.32i 637 . . . . . . 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 249 . . . . . 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 796 . . . . 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 261 . . . 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 5520 . . . . . . . 8  |-  ( F  Fn  dom  F  ->  Fun  F )
15 funres 5469 . . . . . . . 8  |-  ( Fun 
F  ->  Fun  ( F  |`  B ) )
1614, 15syl 16 . . . . . . 7  |-  ( F  Fn  dom  F  ->  Fun  ( F  |`  B ) )
17 dmres 5143 . . . . . . 7  |-  dom  ( F  |`  B )  =  ( B  i^i  dom  F )
1816, 17jctir 538 . . . . . 6  |-  ( F  Fn  dom  F  -> 
( Fun  ( F  |`  B )  /\  dom  ( F  |`  B )  =  ( B  i^i  dom 
F ) ) )
19 df-fn 5433 . . . . . 6  |-  ( ( F  |`  B )  Fn  ( B  i^i  dom  F )  <->  ( Fun  ( F  |`  B )  /\  dom  ( F  |`  B )  =  ( B  i^i  dom 
F ) ) )
2018, 19sylibr 212 . . . . 5  |-  ( F  Fn  dom  F  -> 
( F  |`  B )  Fn  ( B  i^i  dom 
F ) )
21 elpreima 5835 . . . . 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 3551 . . . . 5  |-  ( x  e.  ( ( `' F " A )  i^i  B )  <->  ( x  e.  ( `' F " A )  /\  x  e.  B ) )
24 elpreima 5835 . . . . . 6  |-  ( F  Fn  dom  F  -> 
( x  e.  ( `' F " A )  <-> 
( x  e.  dom  F  /\  ( F `  x )  e.  A
) ) )
2524anbi1d 704 . . . . 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 257 . . . 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 285 . . 3  |-  ( F  Fn  dom  F  -> 
( x  e.  ( `' ( F  |`  B ) " A
)  <->  x  e.  (
( `' F " A )  i^i  B
) ) )
281, 27sylbi 195 . 2  |-  ( Fun 
F  ->  ( x  e.  ( `' ( F  |`  B ) " A
)  <->  x  e.  (
( `' F " A )  i^i  B
) ) )
2928eqrdv 2441 1  |-  ( Fun 
F  ->  ( `' ( F  |`  B )
" A )  =  ( ( `' F " A )  i^i  B
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369    e. wcel 1756    i^i cin 3339   `'ccnv 4851   dom cdm 4852    |` cres 4854   "cima 4855   Fun wfun 5424    Fn wfn 5425   ` cfv 5430
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-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4425  ax-nul 4433  ax-pr 4543
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 2577  df-ne 2620  df-ral 2732  df-rex 2733  df-rab 2736  df-v 2986  df-sbc 3199  df-dif 3343  df-un 3345  df-in 3347  df-ss 3354  df-nul 3650  df-if 3804  df-sn 3890  df-pr 3892  df-op 3896  df-uni 4104  df-br 4305  df-opab 4363  df-id 4648  df-xp 4858  df-rel 4859  df-cnv 4860  df-co 4861  df-dm 4862  df-rn 4863  df-res 4864  df-ima 4865  df-iota 5393  df-fun 5432  df-fn 5433  df-fv 5438
This theorem is referenced by:  paste  18910  restmetu  20174  eulerpartlemt  26766
  Copyright terms: Public domain W3C validator