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

Theorem respreima 6827
 Description: The preimage of a restricted function. (Contributed by Jeff Madsen, 2-Sep-2009.)
Assertion
Ref Expression
respreima (Fun 𝐹 → ((𝐹𝐵) “ 𝐴) = ((𝐹𝐴) ∩ 𝐵))

Proof of Theorem respreima
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 funfn 6373 . . 3 (Fun 𝐹𝐹 Fn dom 𝐹)
2 elin 3935 . . . . . . . . 9 (𝑥 ∈ (𝐵 ∩ dom 𝐹) ↔ (𝑥𝐵𝑥 ∈ dom 𝐹))
32biancomi 466 . . . . . . . 8 (𝑥 ∈ (𝐵 ∩ dom 𝐹) ↔ (𝑥 ∈ dom 𝐹𝑥𝐵))
43anbi1i 626 . . . . . . 7 ((𝑥 ∈ (𝐵 ∩ dom 𝐹) ∧ ((𝐹𝐵)‘𝑥) ∈ 𝐴) ↔ ((𝑥 ∈ dom 𝐹𝑥𝐵) ∧ ((𝐹𝐵)‘𝑥) ∈ 𝐴))
5 fvres 6680 . . . . . . . . . 10 (𝑥𝐵 → ((𝐹𝐵)‘𝑥) = (𝐹𝑥))
65eleq1d 2900 . . . . . . . . 9 (𝑥𝐵 → (((𝐹𝐵)‘𝑥) ∈ 𝐴 ↔ (𝐹𝑥) ∈ 𝐴))
76adantl 485 . . . . . . . 8 ((𝑥 ∈ dom 𝐹𝑥𝐵) → (((𝐹𝐵)‘𝑥) ∈ 𝐴 ↔ (𝐹𝑥) ∈ 𝐴))
87pm5.32i 578 . . . . . . 7 (((𝑥 ∈ dom 𝐹𝑥𝐵) ∧ ((𝐹𝐵)‘𝑥) ∈ 𝐴) ↔ ((𝑥 ∈ dom 𝐹𝑥𝐵) ∧ (𝐹𝑥) ∈ 𝐴))
94, 8bitri 278 . . . . . 6 ((𝑥 ∈ (𝐵 ∩ dom 𝐹) ∧ ((𝐹𝐵)‘𝑥) ∈ 𝐴) ↔ ((𝑥 ∈ dom 𝐹𝑥𝐵) ∧ (𝐹𝑥) ∈ 𝐴))
109a1i 11 . . . . 5 (𝐹 Fn dom 𝐹 → ((𝑥 ∈ (𝐵 ∩ dom 𝐹) ∧ ((𝐹𝐵)‘𝑥) ∈ 𝐴) ↔ ((𝑥 ∈ dom 𝐹𝑥𝐵) ∧ (𝐹𝑥) ∈ 𝐴)))
11 an32 645 . . . . 5 (((𝑥 ∈ dom 𝐹𝑥𝐵) ∧ (𝐹𝑥) ∈ 𝐴) ↔ ((𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐴) ∧ 𝑥𝐵))
1210, 11syl6bb 290 . . . 4 (𝐹 Fn dom 𝐹 → ((𝑥 ∈ (𝐵 ∩ dom 𝐹) ∧ ((𝐹𝐵)‘𝑥) ∈ 𝐴) ↔ ((𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐴) ∧ 𝑥𝐵)))
13 fnfun 6441 . . . . . . 7 (𝐹 Fn dom 𝐹 → Fun 𝐹)
14 funres 6385 . . . . . . 7 (Fun 𝐹 → Fun (𝐹𝐵))
1513, 14syl 17 . . . . . 6 (𝐹 Fn dom 𝐹 → Fun (𝐹𝐵))
16 dmres 5862 . . . . . 6 dom (𝐹𝐵) = (𝐵 ∩ dom 𝐹)
17 df-fn 6346 . . . . . 6 ((𝐹𝐵) Fn (𝐵 ∩ dom 𝐹) ↔ (Fun (𝐹𝐵) ∧ dom (𝐹𝐵) = (𝐵 ∩ dom 𝐹)))
1815, 16, 17sylanblrc 593 . . . . 5 (𝐹 Fn dom 𝐹 → (𝐹𝐵) Fn (𝐵 ∩ dom 𝐹))
19 elpreima 6819 . . . . 5 ((𝐹𝐵) Fn (𝐵 ∩ dom 𝐹) → (𝑥 ∈ ((𝐹𝐵) “ 𝐴) ↔ (𝑥 ∈ (𝐵 ∩ dom 𝐹) ∧ ((𝐹𝐵)‘𝑥) ∈ 𝐴)))
2018, 19syl 17 . . . 4 (𝐹 Fn dom 𝐹 → (𝑥 ∈ ((𝐹𝐵) “ 𝐴) ↔ (𝑥 ∈ (𝐵 ∩ dom 𝐹) ∧ ((𝐹𝐵)‘𝑥) ∈ 𝐴)))
21 elin 3935 . . . . 5 (𝑥 ∈ ((𝐹𝐴) ∩ 𝐵) ↔ (𝑥 ∈ (𝐹𝐴) ∧ 𝑥𝐵))
22 elpreima 6819 . . . . . 6 (𝐹 Fn dom 𝐹 → (𝑥 ∈ (𝐹𝐴) ↔ (𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐴)))
2322anbi1d 632 . . . . 5 (𝐹 Fn dom 𝐹 → ((𝑥 ∈ (𝐹𝐴) ∧ 𝑥𝐵) ↔ ((𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐴) ∧ 𝑥𝐵)))
2421, 23syl5bb 286 . . . 4 (𝐹 Fn dom 𝐹 → (𝑥 ∈ ((𝐹𝐴) ∩ 𝐵) ↔ ((𝑥 ∈ dom 𝐹 ∧ (𝐹𝑥) ∈ 𝐴) ∧ 𝑥𝐵)))
2512, 20, 243bitr4d 314 . . 3 (𝐹 Fn dom 𝐹 → (𝑥 ∈ ((𝐹𝐵) “ 𝐴) ↔ 𝑥 ∈ ((𝐹𝐴) ∩ 𝐵)))
261, 25sylbi 220 . 2 (Fun 𝐹 → (𝑥 ∈ ((𝐹𝐵) “ 𝐴) ↔ 𝑥 ∈ ((𝐹𝐴) ∩ 𝐵)))
2726eqrdv 2822 1 (Fun 𝐹 → ((𝐹𝐵) “ 𝐴) = ((𝐹𝐴) ∩ 𝐵))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   = wceq 1538   ∈ wcel 2115   ∩ cin 3918  ◡ccnv 5541  dom cdm 5542   ↾ cres 5544   “ cima 5545  Fun wfun 6337   Fn wfn 6338  ‘cfv 6343 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-sep 5189  ax-nul 5196  ax-pr 5317 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ne 3015  df-ral 3138  df-rex 3139  df-rab 3142  df-v 3482  df-sbc 3759  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-nul 4277  df-if 4451  df-sn 4551  df-pr 4553  df-op 4557  df-uni 4825  df-br 5053  df-opab 5115  df-id 5447  df-xp 5548  df-rel 5549  df-cnv 5550  df-co 5551  df-dm 5552  df-rn 5553  df-res 5554  df-ima 5555  df-iota 6302  df-fun 6345  df-fn 6346  df-fv 6351 This theorem is referenced by:  paste  21902  restmetu  23180  eulerpartlemt  31686  smfres  43348
 Copyright terms: Public domain W3C validator