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

Theorem rescnvimafod 7075
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 6089 . . . . 5 (𝐹𝐵) ⊆ dom 𝐹
32a1i 11 . . . 4 (𝜑 → (𝐹𝐵) ⊆ dom 𝐹)
4 rescnvimafod.d . . . 4 (𝜑𝐷 = (𝐹𝐵))
51fndmd 6647 . . . . 5 (𝜑 → dom 𝐹 = 𝐴)
65eqcomd 2772 . . . 4 (𝜑𝐴 = dom 𝐹)
73, 4, 63sstr4d 3995 . . 3 (𝜑𝐷𝐴)
81, 7fnssresd 6666 . 2 (𝜑 → (𝐹𝐷) Fn 𝐷)
9 df-ima 5679 . . . 4 (𝐹𝐷) = ran (𝐹𝐷)
104imaeq2d 6067 . . . . 5 (𝜑 → (𝐹𝐷) = (𝐹 “ (𝐹𝐵)))
11 fnfun 6642 . . . . . 6 (𝐹 Fn 𝐴 → Fun 𝐹)
12 funimacnv 6624 . . . . . 6 (Fun 𝐹 → (𝐹 “ (𝐹𝐵)) = (𝐵 ∩ ran 𝐹))
131, 11, 123syl 19 . . . . 5 (𝜑 → (𝐹 “ (𝐹𝐵)) = (𝐵 ∩ ran 𝐹))
14 incom 4165 . . . . . 6 (𝐵 ∩ ran 𝐹) = (ran 𝐹𝐵)
1514a1i 11 . . . . 5 (𝜑 → (𝐵 ∩ ran 𝐹) = (ran 𝐹𝐵))
1610, 13, 153eqtrd 2805 . . . 4 (𝜑 → (𝐹𝐷) = (ran 𝐹𝐵))
179, 16eqtr3id 2815 . . 3 (𝜑 → ran (𝐹𝐷) = (ran 𝐹𝐵))
18 rescnvimafod.e . . 3 (𝜑𝐸 = (ran 𝐹𝐵))
1917, 18eqtr4d 2804 . 2 (𝜑 → ran (𝐹𝐷) = 𝐸)
20 df-fo 6549 . 2 ((𝐹𝐷):𝐷onto𝐸 ↔ ((𝐹𝐷) Fn 𝐷 ∧ ran (𝐹𝐷) = 𝐸))
218, 19, 20sylanbrc 595 1 (𝜑 → (𝐹𝐷):𝐷onto𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4   = wceq 1570  cin 3907  wss 3908  ccnv 5665  dom cdm 5666  ran crn 5667  cres 5668  cima 5669  Fun wfun 6537   Fn wfn 6538  ontowfo 6541
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-pr 5409
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-ral 3083  df-rex 3093  df-rab 3420  df-v 3460  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4493  df-sn 4595  df-pr 4597  df-op 4601  df-br 5115  df-opab 5179  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-fun 6545  df-fn 6546  df-fo 6549
This theorem is used by:  fresfo  47826  fcoreslem3  47843  3f1oss1  47853
  Copyright terms: Public domain W3C validator