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

Theorem elrnmptg 5296
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 5292 . . 3 ran 𝐹 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}
32eleq2i 2680 . 2 (𝐶 ∈ ran 𝐹𝐶 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
4 r19.29 3054 . . . . 5 ((∀𝑥𝐴 𝐵𝑉 ∧ ∃𝑥𝐴 𝐶 = 𝐵) → ∃𝑥𝐴 (𝐵𝑉𝐶 = 𝐵))
5 eleq1 2676 . . . . . . . 8 (𝐶 = 𝐵 → (𝐶𝑉𝐵𝑉))
65biimparc 503 . . . . . . 7 ((𝐵𝑉𝐶 = 𝐵) → 𝐶𝑉)
76elexd 3187 . . . . . 6 ((𝐵𝑉𝐶 = 𝐵) → 𝐶 ∈ V)
87rexlimivw 3011 . . . . 5 (∃𝑥𝐴 (𝐵𝑉𝐶 = 𝐵) → 𝐶 ∈ V)
94, 8syl 17 . . . 4 ((∀𝑥𝐴 𝐵𝑉 ∧ ∃𝑥𝐴 𝐶 = 𝐵) → 𝐶 ∈ V)
109ex 449 . . 3 (∀𝑥𝐴 𝐵𝑉 → (∃𝑥𝐴 𝐶 = 𝐵𝐶 ∈ V))
11 eqeq1 2614 . . . . 5 (𝑦 = 𝐶 → (𝑦 = 𝐵𝐶 = 𝐵))
1211rexbidv 3034 . . . 4 (𝑦 = 𝐶 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑥𝐴 𝐶 = 𝐵))
1312elab3g 3326 . . 3 ((∃𝑥𝐴 𝐶 = 𝐵𝐶 ∈ V) → (𝐶 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑥𝐴 𝐶 = 𝐵))
1410, 13syl 17 . 2 (∀𝑥𝐴 𝐵𝑉 → (𝐶 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑥𝐴 𝐶 = 𝐵))
153, 14syl5bb 271 1 (∀𝑥𝐴 𝐵𝑉 → (𝐶 ∈ ran 𝐹 ↔ ∃𝑥𝐴 𝐶 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  {cab 2596  wral 2896  wrex 2897  Vcvv 3173  cmpt 4643  ran crn 5039
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-br 4584  df-opab 4644  df-mpt 4645  df-cnv 5046  df-dm 5048  df-rn 5049
This theorem is referenced by:  elrnmpti  5297
  Copyright terms: Public domain W3C validator