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

Theorem fimadmfoALT 6699
Description: Alternate proof of fimadmfo 6697, based on fores 6698. A function is a function onto the image of its domain. (Contributed by AV, 1-Dec-2022.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
fimadmfoALT (𝐹:𝐴𝐵𝐹:𝐴onto→(𝐹𝐴))

Proof of Theorem fimadmfoALT
StepHypRef Expression
1 fdm 6609 . . 3 (𝐹:𝐴𝐵 → dom 𝐹 = 𝐴)
2 frel 6605 . . . . 5 (𝐹:𝐴𝐵 → Rel 𝐹)
3 resdm 5936 . . . . . 6 (Rel 𝐹 → (𝐹 ↾ dom 𝐹) = 𝐹)
43eqcomd 2744 . . . . 5 (Rel 𝐹𝐹 = (𝐹 ↾ dom 𝐹))
52, 4syl 17 . . . 4 (𝐹:𝐴𝐵𝐹 = (𝐹 ↾ dom 𝐹))
6 reseq2 5886 . . . 4 (dom 𝐹 = 𝐴 → (𝐹 ↾ dom 𝐹) = (𝐹𝐴))
75, 6sylan9eq 2798 . . 3 ((𝐹:𝐴𝐵 ∧ dom 𝐹 = 𝐴) → 𝐹 = (𝐹𝐴))
81, 7mpdan 684 . 2 (𝐹:𝐴𝐵𝐹 = (𝐹𝐴))
9 ffun 6603 . . . . . 6 (𝐹:𝐴𝐵 → Fun 𝐹)
10 eqimss2 3978 . . . . . . 7 (dom 𝐹 = 𝐴𝐴 ⊆ dom 𝐹)
111, 10syl 17 . . . . . 6 (𝐹:𝐴𝐵𝐴 ⊆ dom 𝐹)
129, 11jca 512 . . . . 5 (𝐹:𝐴𝐵 → (Fun 𝐹𝐴 ⊆ dom 𝐹))
1312adantr 481 . . . 4 ((𝐹:𝐴𝐵𝐹 = (𝐹𝐴)) → (Fun 𝐹𝐴 ⊆ dom 𝐹))
14 fores 6698 . . . 4 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴):𝐴onto→(𝐹𝐴))
1513, 14syl 17 . . 3 ((𝐹:𝐴𝐵𝐹 = (𝐹𝐴)) → (𝐹𝐴):𝐴onto→(𝐹𝐴))
16 foeq1 6684 . . . 4 (𝐹 = (𝐹𝐴) → (𝐹:𝐴onto→(𝐹𝐴) ↔ (𝐹𝐴):𝐴onto→(𝐹𝐴)))
1716adantl 482 . . 3 ((𝐹:𝐴𝐵𝐹 = (𝐹𝐴)) → (𝐹:𝐴onto→(𝐹𝐴) ↔ (𝐹𝐴):𝐴onto→(𝐹𝐴)))
1815, 17mpbird 256 . 2 ((𝐹:𝐴𝐵𝐹 = (𝐹𝐴)) → 𝐹:𝐴onto→(𝐹𝐴))
198, 18mpdan 684 1 (𝐹:𝐴𝐵𝐹:𝐴onto→(𝐹𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wss 3887  dom cdm 5589  cres 5591  cima 5592  Rel wrel 5594  Fun wfun 6427  wf 6429  ontowfo 6431
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-fun 6435  df-fn 6436  df-f 6437  df-fo 6439
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator