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

Theorem elrnmptg 5942
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 5938 . . 3 ran 𝐹 = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵}
32eleq2i 2852 . 2 (𝐶 ∈ ran 𝐹 ↔ 𝐶 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵})
4 r19.29 3125 . . . . 5 ((∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 ∧ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵) → ∃𝑥 ∈ 𝐴 (𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵))
5 eleq1 2848 . . . . . . . 8 (𝐶 = 𝐵 → (𝐶 ∈ 𝑉 ↔ 𝐵 ∈ 𝑉))
65biimparc 485 . . . . . . 7 ((𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵) → 𝐶 ∈ 𝑉)
76elexd 3473 . . . . . 6 ((𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵) → 𝐶 ∈ V)
87rexlimivw 3159 . . . . 5 (∃𝑥 ∈ 𝐴 (𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵) → 𝐶 ∈ V)
94, 8syl 18 . . . 4 ((∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 ∧ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵) → 𝐶 ∈ V)
109ex 418 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 → (∃𝑥 ∈ 𝐴 𝐶 = 𝐵 → 𝐶 ∈ V))
11 eqeq1 2764 . . . . 5 (𝑦 = 𝐶 → (𝑦 = 𝐵 ↔ 𝐶 = 𝐵))
1211rexbidv 3186 . . . 4 (𝑦 = 𝐶 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵))
1312elab3g 3638 . . 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 1569   ∈ wcel 2144  {cab 2738  ∀wral 3076  ∃wrex 3086  Vcvv 3450   ↦ cmpt 5185  ran crn 5651
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-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-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  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-br 5103  df-opab 5167  df-mpt 5186  df-cnv 5658  df-dm 5660  df-rn 5661
This theorem is used by:  elrnmpti  5943  iunrnmptss  33201
  Copyright terms: Public domain W3C validator