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

Theorem elrnrexdm 6847
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 2819 . . . . . 6 (𝑌 ∈ ran 𝐹𝑌 = 𝑌)
21ancli 549 . . . . 5 (𝑌 ∈ ran 𝐹 → (𝑌 ∈ ran 𝐹𝑌 = 𝑌))
32adantl 482 . . . 4 ((Fun 𝐹𝑌 ∈ ran 𝐹) → (𝑌 ∈ ran 𝐹𝑌 = 𝑌))
4 eqeq2 2830 . . . . 5 (𝑦 = 𝑌 → (𝑌 = 𝑦𝑌 = 𝑌))
54rspcev 3620 . . . 4 ((𝑌 ∈ ran 𝐹𝑌 = 𝑌) → ∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦)
63, 5syl 17 . . 3 ((Fun 𝐹𝑌 ∈ ran 𝐹) → ∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦)
76ex 413 . 2 (Fun 𝐹 → (𝑌 ∈ ran 𝐹 → ∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦))
8 funfn 6378 . . 3 (Fun 𝐹𝐹 Fn dom 𝐹)
9 eqeq2 2830 . . . 4 (𝑦 = (𝐹𝑥) → (𝑌 = 𝑦𝑌 = (𝐹𝑥)))
109rexrn 6845 . . 3 (𝐹 Fn dom 𝐹 → (∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦 ↔ ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹𝑥)))
118, 10sylbi 218 . 2 (Fun 𝐹 → (∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦 ↔ ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹𝑥)))
127, 11sylibd 240 1 (Fun 𝐹 → (𝑌 ∈ ran 𝐹 → ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1528  wcel 2105  wrex 3136  dom cdm 5548  ran crn 5549  Fun wfun 6342   Fn wfn 6343  cfv 6348
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-iota 6307  df-fun 6350  df-fn 6351  df-fv 6356
This theorem is referenced by:  toprntopon  21461  wlkiswwlksupgr2  27582  loop1cycl  32281  bj-ccinftydisj  34387  gneispace  40362
  Copyright terms: Public domain W3C validator