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

Theorem elrnrexdm 7094
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 2761 . . . . . 6 (𝑌 ∈ ran 𝐹 → 𝑌 = 𝑌)
21ancli 558 . . . . 5 (𝑌 ∈ ran 𝐹 → (𝑌 ∈ ran 𝐹 ∧ 𝑌 = 𝑌))
32adantl 487 . . . 4 ((Fun 𝐹 ∧ 𝑌 ∈ ran 𝐹) → (𝑌 ∈ ran 𝐹 ∧ 𝑌 = 𝑌))
4 eqeq2 2772 . . . . 5 (𝑦 = 𝑌 → (𝑌 = 𝑦 ↔ 𝑌 = 𝑌))
54rspcev 3576 . . . 4 ((𝑌 ∈ ran 𝐹 ∧ 𝑌 = 𝑌) → ∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦)
63, 5syl 18 . . 3 ((Fun 𝐹 ∧ 𝑌 ∈ ran 𝐹) → ∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦)
76ex 418 . 2 (Fun 𝐹 → (𝑌 ∈ ran 𝐹 → ∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦))
8 funfn 6575 . . 3 (Fun 𝐹 ↔ 𝐹 Fn dom 𝐹)
9 eqeq2 2772 . . . 4 (𝑦 = (𝐹‘𝑥) → (𝑌 = 𝑦 ↔ 𝑌 = (𝐹‘𝑥)))
109rexrn 7092 . . 3 (𝐹 Fn dom 𝐹 → (∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦 ↔ ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹‘𝑥)))
118, 10sylbi 220 . 2 (Fun 𝐹 → (∃𝑦 ∈ ran 𝐹 𝑌 = 𝑦 ↔ ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹‘𝑥)))
127, 11sylibd 242 1 (Fun 𝐹 → (𝑌 ∈ ran 𝐹 → ∃𝑥 ∈ dom 𝐹 𝑌 = (𝐹‘𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∃wrex 3086  dom cdm 5651  ran crn 5652  Fun wfun 6537   Fn wfn 6538  ‘cfv 6543
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-iota 6497  df-fun 6545  df-fn 6546  df-fv 6551
This theorem is used by:  toprntopon  23252  wlkiswwlksupgr2  30475  loop1cycl  30753  acwer1prc  35828  bj-ccinftydisj  38271  gneispace  45271  tmachlem-agreefin  48094
  Copyright terms: Public domain W3C validator