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

Theorem eldmrexrnb 7113
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 6563 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 6563 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 7112 . . 3 (Fun 𝐹 → (𝑌 ∈ dom 𝐹 → ∃𝑥 ∈ ran 𝐹 𝑥 = (𝐹‘𝑌)))
21adantr 486 . 2 ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → (𝑌 ∈ dom 𝐹 → ∃𝑥 ∈ ran 𝐹 𝑥 = (𝐹‘𝑌)))
3 eleq1 2852 . . . . 5 (𝑥 = (𝐹‘𝑌) → (𝑥 ∈ ran 𝐹 ↔ (𝐹‘𝑌) ∈ ran 𝐹))
4 elnelne2 3077 . . . . . . . . 9 (((𝐹‘𝑌) ∈ ran 𝐹 ∧ ∅ ∉ ran 𝐹) → (𝐹‘𝑌) ≠ ∅)
5 n0 4303 . . . . . . . . . 10 ((𝐹‘𝑌) ≠ ∅ ↔ ∃𝑦 𝑦 ∈ (𝐹‘𝑌))
6 elfvdm 6939 . . . . . . . . . . 11 (𝑦 ∈ (𝐹‘𝑌) → 𝑌 ∈ dom 𝐹)
76exlimiv 1965 . . . . . . . . . 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 3165 . 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 1570  ∃wex 1812   ∈ wcel 2147   ≠ wne 2959   ∉ wnel 3065  ∃wrex 3090  ∅c0 4281  dom cdm 5655  ran crn 5656  Fun wfun 6549  ‘cfv 6555
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-iota 6509  df-fun 6557  df-fn 6558  df-fv 6563
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator