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

Theorem elrnmptg 5943
Description: Membership in the range of a function. (Contributed by NM, 27-Aug-2007.) (Revised by Mario Carneiro, 31-Aug-2015.)
Hypothesis
Ref Expression
rnmpt.1 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)
Assertion
Ref Expression
elrnmptg (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 → (𝐶 ∈ ran 𝐹 ↔ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵))
Distinct variable group:   𝑥,𝐶
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝐹(𝑥)   𝑉(𝑥)

Proof of Theorem elrnmptg
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 rnmpt.1 . . . 4 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)
21rnmpt 5939 . . 3 ran 𝐹 = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵}
32eleq2i 2853 . 2 (𝐶 ∈ ran 𝐹 ↔ 𝐶 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵})
4 r19.29 3126 . . . . 5 ((∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 ∧ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵) → ∃𝑥 ∈ 𝐴 (𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵))
5 eleq1 2849 . . . . . . . 8 (𝐶 = 𝐵 → (𝐶 ∈ 𝑉 ↔ 𝐵 ∈ 𝑉))
65biimparc 485 . . . . . . 7 ((𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵) → 𝐶 ∈ 𝑉)
76elexd 3474 . . . . . 6 ((𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵) → 𝐶 ∈ V)
87rexlimivw 3160 . . . . 5 (∃𝑥 ∈ 𝐴 (𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵) → 𝐶 ∈ V)
94, 8syl 18 . . . 4 ((∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 ∧ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵) → 𝐶 ∈ V)
109ex 418 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 → (∃𝑥 ∈ 𝐴 𝐶 = 𝐵 → 𝐶 ∈ V))
11 eqeq1 2765 . . . . 5 (𝑦 = 𝐶 → (𝑦 = 𝐵 ↔ 𝐶 = 𝐵))
1211rexbidv 3187 . . . 4 (𝑦 = 𝐶 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵))
1312elab3g 3639 . . 3 ((∃𝑥 ∈ 𝐴 𝐶 = 𝐵 → 𝐶 ∈ V) → (𝐶 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ↔ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵))
1410, 13syl 18 . 2 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 → (𝐶 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵} ↔ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵))
153, 14bitrid 286 1 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 → (𝐶 ∈ ran 𝐹 ↔ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {cab 2739  ∀wral 3077  ∃wrex 3087  Vcvv 3451   ↦ cmpt 5186  ran crn 5652
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-mpt 5187  df-cnv 5659  df-dm 5661  df-rn 5662
This theorem is used by:  elrnmpti  5944  iunrnmptss  33159
  Copyright terms: Public domain W3C validator