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

Theorem eldmrexrnb 7128
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 6578 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 6578 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 7127 . . 3 (Fun 𝐹 → (𝑌 ∈ dom 𝐹 → ∃𝑥 ∈ ran 𝐹 𝑥 = (𝐹‘𝑌)))
21adantr 486 . 2 ((Fun 𝐹 ∧ ∅ ∉ ran 𝐹) → (𝑌 ∈ dom 𝐹 → ∃𝑥 ∈ ran 𝐹 𝑥 = (𝐹‘𝑌)))
3 eleq1 2858 . . . . 5 (𝑥 = (𝐹‘𝑌) → (𝑥 ∈ ran 𝐹 ↔ (𝐹‘𝑌) ∈ ran 𝐹))
4 elnelne2 3083 . . . . . . . . 9 (((𝐹‘𝑌) ∈ ran 𝐹 ∧ ∅ ∉ ran 𝐹) → (𝐹‘𝑌) ≠ ∅)
5 n0 4305 . . . . . . . . . 10 ((𝐹‘𝑌) ≠ ∅ ↔ ∃𝑦 𝑦 ∈ (𝐹‘𝑌))
6 elfvdm 6954 . . . . . . . . . . 11 (𝑦 ∈ (𝐹‘𝑌) → 𝑌 ∈ dom 𝐹)
76exlimiv 1967 . . . . . . . . . 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 3171 . 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 1572  ∃wex 1814   ∈ wcel 2151   ≠ wne 2965   ∉ wnel 3071  ∃wrex 3096  ∅c0 4283  dom cdm 5661  ran crn 5662  Fun wfun 6564  ‘cfv 6570
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-iota 6524  df-fun 6572  df-fn 6573  df-fv 6578
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator