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

Theorem elrnmptg 5831
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 5827 . . 3 ran 𝐹 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}
32eleq2i 2904 . 2 (𝐶 ∈ ran 𝐹𝐶 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
4 r19.29 3254 . . . . 5 ((∀𝑥𝐴 𝐵𝑉 ∧ ∃𝑥𝐴 𝐶 = 𝐵) → ∃𝑥𝐴 (𝐵𝑉𝐶 = 𝐵))
5 eleq1 2900 . . . . . . . 8 (𝐶 = 𝐵 → (𝐶𝑉𝐵𝑉))
65biimparc 482 . . . . . . 7 ((𝐵𝑉𝐶 = 𝐵) → 𝐶𝑉)
76elexd 3514 . . . . . 6 ((𝐵𝑉𝐶 = 𝐵) → 𝐶 ∈ V)
87rexlimivw 3282 . . . . 5 (∃𝑥𝐴 (𝐵𝑉𝐶 = 𝐵) → 𝐶 ∈ V)
94, 8syl 17 . . . 4 ((∀𝑥𝐴 𝐵𝑉 ∧ ∃𝑥𝐴 𝐶 = 𝐵) → 𝐶 ∈ V)
109ex 415 . . 3 (∀𝑥𝐴 𝐵𝑉 → (∃𝑥𝐴 𝐶 = 𝐵𝐶 ∈ V))
11 eqeq1 2825 . . . . 5 (𝑦 = 𝐶 → (𝑦 = 𝐵𝐶 = 𝐵))
1211rexbidv 3297 . . . 4 (𝑦 = 𝐶 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑥𝐴 𝐶 = 𝐵))
1312elab3g 3673 . . 3 ((∃𝑥𝐴 𝐶 = 𝐵𝐶 ∈ V) → (𝐶 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑥𝐴 𝐶 = 𝐵))
1410, 13syl 17 . 2 (∀𝑥𝐴 𝐵𝑉 → (𝐶 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑥𝐴 𝐶 = 𝐵))
153, 14syl5bb 285 1 (∀𝑥𝐴 𝐵𝑉 → (𝐶 ∈ ran 𝐹 ↔ ∃𝑥𝐴 𝐶 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  {cab 2799  wral 3138  wrex 3139  Vcvv 3494  cmpt 5146  ran crn 5556
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-br 5067  df-opab 5129  df-mpt 5147  df-cnv 5563  df-dm 5565  df-rn 5566
This theorem is referenced by:  elrnmpti  5832  iunrnmptss  30317
  Copyright terms: Public domain W3C validator