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

Theorem fimadmfoALT 6601
Description: Alternate proof of fimadmfo 6599, based on fores 6600. 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 6522 . . 3 (𝐹:𝐴𝐵 → dom 𝐹 = 𝐴)
2 frel 6519 . . . . 5 (𝐹:𝐴𝐵 → Rel 𝐹)
3 resdm 5897 . . . . . 6 (Rel 𝐹 → (𝐹 ↾ dom 𝐹) = 𝐹)
43eqcomd 2827 . . . . 5 (Rel 𝐹𝐹 = (𝐹 ↾ dom 𝐹))
52, 4syl 17 . . . 4 (𝐹:𝐴𝐵𝐹 = (𝐹 ↾ dom 𝐹))
6 reseq2 5848 . . . 4 (dom 𝐹 = 𝐴 → (𝐹 ↾ dom 𝐹) = (𝐹𝐴))
75, 6sylan9eq 2876 . . 3 ((𝐹:𝐴𝐵 ∧ dom 𝐹 = 𝐴) → 𝐹 = (𝐹𝐴))
81, 7mpdan 685 . 2 (𝐹:𝐴𝐵𝐹 = (𝐹𝐴))
9 ffun 6517 . . . . . 6 (𝐹:𝐴𝐵 → Fun 𝐹)
10 eqimss2 4024 . . . . . . 7 (dom 𝐹 = 𝐴𝐴 ⊆ dom 𝐹)
111, 10syl 17 . . . . . 6 (𝐹:𝐴𝐵𝐴 ⊆ dom 𝐹)
129, 11jca 514 . . . . 5 (𝐹:𝐴𝐵 → (Fun 𝐹𝐴 ⊆ dom 𝐹))
1312adantr 483 . . . 4 ((𝐹:𝐴𝐵𝐹 = (𝐹𝐴)) → (Fun 𝐹𝐴 ⊆ dom 𝐹))
14 fores 6600 . . . 4 ((Fun 𝐹𝐴 ⊆ dom 𝐹) → (𝐹𝐴):𝐴onto→(𝐹𝐴))
1513, 14syl 17 . . 3 ((𝐹:𝐴𝐵𝐹 = (𝐹𝐴)) → (𝐹𝐴):𝐴onto→(𝐹𝐴))
16 foeq1 6586 . . . 4 (𝐹 = (𝐹𝐴) → (𝐹:𝐴onto→(𝐹𝐴) ↔ (𝐹𝐴):𝐴onto→(𝐹𝐴)))
1716adantl 484 . . 3 ((𝐹:𝐴𝐵𝐹 = (𝐹𝐴)) → (𝐹:𝐴onto→(𝐹𝐴) ↔ (𝐹𝐴):𝐴onto→(𝐹𝐴)))
1815, 17mpbird 259 . 2 ((𝐹:𝐴𝐵𝐹 = (𝐹𝐴)) → 𝐹:𝐴onto→(𝐹𝐴))
198, 18mpdan 685 1 (𝐹:𝐴𝐵𝐹:𝐴onto→(𝐹𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wss 3936  dom cdm 5555  cres 5557  cima 5558  Rel wrel 5560  Fun wfun 6349  wf 6351  ontowfo 6353
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-br 5067  df-opab 5129  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-fun 6357  df-fn 6358  df-f 6359  df-fo 6361
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator