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

Theorem elrnrexdm 6962
Description: For any element in the range of a function there is an element in the domain of the function for which the function value is the element of the range. (Contributed by Alexander van der Vekens, 8-Dec-2017.)
Assertion
Ref Expression
elrnrexdm (Fun 𝐹 → (𝑌 ∈ ran 𝐹 → ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹𝑥)))
Distinct variable groups:   𝑥,𝐹   𝑥,𝑌

Proof of Theorem elrnrexdm
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 eqidd 2741 . . . . . 6 (𝑌 ∈ ran 𝐹𝑌 = 𝑌)
21ancli 549 . . . . 5 (𝑌 ∈ ran 𝐹 → (𝑌 ∈ ran 𝐹𝑌 = 𝑌))
32adantl 482 . . . 4 ((Fun 𝐹𝑌 ∈ ran 𝐹) → (𝑌 ∈ ran 𝐹𝑌 = 𝑌))
4 eqeq2 2752 . . . . 5 (𝑦 = 𝑌 → (𝑌 = 𝑦𝑌 = 𝑌))
54rspcev 3561 . . . 4 ((𝑌 ∈ ran 𝐹𝑌 = 𝑌) → ∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦)
63, 5syl 17 . . 3 ((Fun 𝐹𝑌 ∈ ran 𝐹) → ∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦)
76ex 413 . 2 (Fun 𝐹 → (𝑌 ∈ ran 𝐹 → ∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦))
8 funfn 6462 . . 3 (Fun 𝐹𝐹 Fn dom 𝐹)
9 eqeq2 2752 . . . 4 (𝑦 = (𝐹𝑥) → (𝑌 = 𝑦𝑌 = (𝐹𝑥)))
109rexrn 6960 . . 3 (𝐹 Fn dom 𝐹 → (∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦 ↔ ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹𝑥)))
118, 10sylbi 216 . 2 (Fun 𝐹 → (∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦 ↔ ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹𝑥)))
127, 11sylibd 238 1 (Fun 𝐹 → (𝑌 ∈ ran 𝐹 → ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1542  wcel 2110  wrex 3067  dom cdm 5590  ran crn 5591  Fun wfun 6426   Fn wfn 6427  cfv 6432
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pr 5356
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-br 5080  df-opab 5142  df-mpt 5163  df-id 5490  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-iota 6390  df-fun 6434  df-fn 6435  df-fv 6440
This theorem is referenced by:  toprntopon  22072  wlkiswwlksupgr2  28238  loop1cycl  33095  bj-ccinftydisj  35380  gneispace  41714
  Copyright terms: Public domain W3C validator