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

Theorem elrnmptg 5954
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 5950 . . 3 ran 𝐹 = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵}
32eleq2i 2859 . 2 (𝐶 ∈ ran 𝐹 ↔ 𝐶 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵})
4 r19.29 3132 . . . . 5 ((∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 ∧ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵) → ∃𝑥 ∈ 𝐴 (𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵))
5 eleq1 2855 . . . . . . . 8 (𝐶 = 𝐵 → (𝐶 ∈ 𝑉 ↔ 𝐵 ∈ 𝑉))
65biimparc 485 . . . . . . 7 ((𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵) → 𝐶 ∈ 𝑉)
76elexd 3476 . . . . . 6 ((𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵) → 𝐶 ∈ V)
87rexlimivw 3166 . . . . 5 (∃𝑥 ∈ 𝐴 (𝐵 ∈ 𝑉 ∧ 𝐶 = 𝐵) → 𝐶 ∈ V)
94, 8syl 18 . . . 4 ((∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 ∧ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵) → 𝐶 ∈ V)
109ex 418 . . 3 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 → (∃𝑥 ∈ 𝐴 𝐶 = 𝐵 → 𝐶 ∈ V))
11 eqeq1 2770 . . . . 5 (𝑦 = 𝐶 → (𝑦 = 𝐵 ↔ 𝐶 = 𝐵))
1211rexbidv 3193 . . . 4 (𝑦 = 𝐶 → (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝐶 = 𝐵))
1312elab3g 3641 . . 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 1572   ∈ wcel 2150  {cab 2744  ∀wral 3083  ∃wrex 3093  Vcvv 3453   ↦ cmpt 5191  ran crn 5658
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 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-pr 5397
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 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-br 5108  df-opab 5173  df-mpt 5192  df-cnv 5665  df-dm 5667  df-rn 5668
This theorem is used by:  elrnmpti  5955  iunrnmptss  33260
  Copyright terms: Public domain W3C validator