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

Theorem rescnvimafod 7050
Description: The restriction of a function to a preimage of a class is a function onto the intersection of this class and the range of the function. (Contributed by AV, 13-Sep-2024.) (Revised by AV, 29-Sep-2024.)
Hypotheses
Ref Expression
rescnvimafod.f (𝜑𝐹 Fn 𝐴)
rescnvimafod.e (𝜑𝐸 = (ran 𝐹𝐵))
rescnvimafod.d (𝜑𝐷 = (𝐹𝐵))
Assertion
Ref Expression
rescnvimafod (𝜑 → (𝐹𝐷):𝐷onto𝐸)

Proof of Theorem rescnvimafod
StepHypRef Expression
1 rescnvimafod.f . . 3 (𝜑𝐹 Fn 𝐴)
2 cnvimass 6068 . . . . 5 (𝐹𝐵) ⊆ dom 𝐹
32a1i 11 . . . 4 (𝜑 → (𝐹𝐵) ⊆ dom 𝐹)
4 rescnvimafod.d . . . 4 (𝜑𝐷 = (𝐹𝐵))
51fndmd 6622 . . . . 5 (𝜑 → dom 𝐹 = 𝐴)
65eqcomd 2767 . . . 4 (𝜑𝐴 = dom 𝐹)
73, 4, 63sstr4d 3991 . . 3 (𝜑𝐷𝐴)
81, 7fnssresd 6641 . 2 (𝜑 → (𝐹𝐷) Fn 𝐷)
9 df-ima 5658 . . . 4 (𝐹𝐷) = ran (𝐹𝐷)
104imaeq2d 6046 . . . . 5 (𝜑 → (𝐹𝐷) = (𝐹 “ (𝐹𝐵)))
11 fnfun 6617 . . . . . 6 (𝐹 Fn 𝐴 → Fun 𝐹)
12 funimacnv 6598 . . . . . 6 (Fun 𝐹 → (𝐹 “ (𝐹𝐵)) = (𝐵 ∩ ran 𝐹))
131, 11, 123syl 18 . . . . 5 (𝜑 → (𝐹 “ (𝐹𝐵)) = (𝐵 ∩ ran 𝐹))
14 incom 4161 . . . . . 6 (𝐵 ∩ ran 𝐹) = (ran 𝐹𝐵)
1514a1i 11 . . . . 5 (𝜑 → (𝐵 ∩ ran 𝐹) = (ran 𝐹𝐵))
1610, 13, 153eqtrd 2800 . . . 4 (𝜑 → (𝐹𝐷) = (ran 𝐹𝐵))
179, 16eqtr3id 2810 . . 3 (𝜑 → ran (𝐹𝐷) = (ran 𝐹𝐵))
18 rescnvimafod.e . . 3 (𝜑𝐸 = (ran 𝐹𝐵))
1917, 18eqtr4d 2799 . 2 (𝜑 → ran (𝐹𝐷) = 𝐸)
20 df-fo 6523 . 2 ((𝐹𝐷):𝐷onto𝐸 ↔ ((𝐹𝐷) Fn 𝐷 ∧ ran (𝐹𝐷) = 𝐸))
218, 19, 20sylanbrc 592 1 (𝜑 → (𝐹𝐷):𝐷onto𝐸)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1559  cin 3903  wss 3904  ccnv 5644  dom cdm 5645  ran crn 5646  cres 5647  cima 5648  Fun wfun 6511   Fn wfn 6512  ontowfo 6515
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-12 2211  ax-ext 2733  ax-sep 5245  ax-pr 5389
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3076  df-rex 3086  df-rab 3414  df-v 3455  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4480  df-sn 4582  df-pr 4584  df-op 4588  df-br 5100  df-opab 5162  df-id 5540  df-xp 5651  df-rel 5652  df-cnv 5653  df-co 5654  df-dm 5655  df-rn 5656  df-res 5657  df-ima 5658  df-fun 6519  df-fn 6520  df-fo 6523
This theorem is referenced by:  fresfo  47606  fcoreslem3  47623  3f1oss1  47633
  Copyright terms: Public domain W3C validator