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

Theorem eldmrexrnb 7092
Description: For any element in the domain of a function, there is an element in the range of the function which is the value of the function at that element. Because of the definition df-fv 6546 of the value of a function, the theorem is only valid in general if the empty set is not contained in the range of the function (the implication "to the right" is always valid). Indeed, with the definition df-fv 6546 of the value of a function, (𝐹‘𝑌) = ∅ may mean that the value of 𝐹 at 𝑌 is the empty set or that 𝐹 is not defined at 𝑌. (Contributed by Alexander van der Vekens, 17-Dec-2017.)
Assertion
Ref Expression
eldmrexrnb ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → (𝑌 ∈ dom 𝐹 ↔ ∃𝑥 ∈ ran 𝐹 𝑥 = (𝐹‘𝑌)))
Distinct variable groups:   𝑥,𝐹   𝑥,𝑌

Proof of Theorem eldmrexrnb
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 eldmrexrn 7091 . . 3 (Fun 𝐹 → (𝑌 ∈ dom 𝐹 → ∃𝑥 ∈ ran 𝐹 𝑥 = (𝐹‘𝑌)))
21adantr 486 . 2 ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → (𝑌 ∈ dom 𝐹 → ∃𝑥 ∈ ran 𝐹 𝑥 = (𝐹‘𝑌)))
3 eleq1 2848 . . . . 5 (𝑥 = (𝐹‘𝑌) → (𝑥 ∈ ran 𝐹 ↔ (𝐹‘𝑌) ∈ ran 𝐹))
4 elnelne2 3073 . . . . . . . . 9 (((𝐹‘𝑌) ∈ ran 𝐹 ∧ ∅ ∉ ran 𝐹) → (𝐹‘𝑌) ≠ ∅)
5 n0 4299 . . . . . . . . . 10 ((𝐹‘𝑌) ≠ ∅ ↔ ∃𝑦 𝑦 ∈ (𝐹‘𝑌))
6 elfvdm 6919 . . . . . . . . . . 11 (𝑦 ∈ (𝐹‘𝑌) → 𝑌 ∈ dom 𝐹)
76exlimiv 1962 . . . . . . . . . 10 (∃𝑦 𝑦 ∈ (𝐹‘𝑌) → 𝑌 ∈ dom 𝐹)
85, 7sylbi 220 . . . . . . . . 9 ((𝐹‘𝑌) ≠ ∅ → 𝑌 ∈ dom 𝐹)
94, 8syl 18 . . . . . . . 8 (((𝐹‘𝑌) ∈ ran 𝐹 ∧ ∅ ∉ ran 𝐹) → 𝑌 ∈ dom 𝐹)
109expcom 419 . . . . . . 7 (∅ ∉ ran 𝐹 → ((𝐹‘𝑌) ∈ ran 𝐹 → 𝑌 ∈ dom 𝐹))
1110adantl 487 . . . . . 6 ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → ((𝐹‘𝑌) ∈ ran 𝐹 → 𝑌 ∈ dom 𝐹))
1211com12 33 . . . . 5 ((𝐹‘𝑌) ∈ ran 𝐹 → ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → 𝑌 ∈ dom 𝐹))
133, 12biimtrdi 256 . . . 4 (𝑥 = (𝐹‘𝑌) → (𝑥 ∈ ran 𝐹 → ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → 𝑌 ∈ dom 𝐹)))
1413com13 89 . . 3 ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → (𝑥 ∈ ran 𝐹 → (𝑥 = (𝐹‘𝑌) → 𝑌 ∈ dom 𝐹)))
1514rexlimdv 3161 . 2 ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → (∃𝑥 ∈ ran 𝐹 𝑥 = (𝐹‘𝑌) → 𝑌 ∈ dom 𝐹))
162, 15impbid 215 1 ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → (𝑌 ∈ dom 𝐹 ↔ ∃𝑥 ∈ ran 𝐹 𝑥 = (𝐹‘𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144   ≠ wne 2955   ∉ wnel 3061  ∃wrex 3086  ∅c0 4278  dom cdm 5650  ran crn 5651  Fun wfun 6532  ‘cfv 6538
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-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
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-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-iota 6494  df-fun 6540  df-fn 6541  df-fv 6546
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator