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

Theorem fnasrn 6552
Description: A function expressed as the range of another function. (Contributed by Mario Carneiro, 22-Jun-2013.) (Proof shortened by Mario Carneiro, 31-Aug-2015.)
Hypothesis
Ref Expression
dfmpt.1 𝐵 ∈ V
Assertion
Ref Expression
fnasrn (𝑥𝐴𝐵) = ran (𝑥𝐴 ↦ ⟨𝑥, 𝐵⟩)

Proof of Theorem fnasrn
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 dfmpt.1 . . 3 𝐵 ∈ V
21dfmpt 6551 . 2 (𝑥𝐴𝐵) = 𝑥𝐴 {⟨𝑥, 𝐵⟩}
3 eqid 2769 . . . . 5 (𝑥𝐴 ↦ ⟨𝑥, 𝐵⟩) = (𝑥𝐴 ↦ ⟨𝑥, 𝐵⟩)
43rnmpt 5508 . . . 4 ran (𝑥𝐴 ↦ ⟨𝑥, 𝐵⟩) = {𝑦 ∣ ∃𝑥𝐴 𝑦 = ⟨𝑥, 𝐵⟩}
5 velsn 4329 . . . . . 6 (𝑦 ∈ {⟨𝑥, 𝐵⟩} ↔ 𝑦 = ⟨𝑥, 𝐵⟩)
65rexbii 3187 . . . . 5 (∃𝑥𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩} ↔ ∃𝑥𝐴 𝑦 = ⟨𝑥, 𝐵⟩)
76abbii 2886 . . . 4 {𝑦 ∣ ∃𝑥𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}} = {𝑦 ∣ ∃𝑥𝐴 𝑦 = ⟨𝑥, 𝐵⟩}
84, 7eqtr4i 2794 . . 3 ran (𝑥𝐴 ↦ ⟨𝑥, 𝐵⟩) = {𝑦 ∣ ∃𝑥𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}}
9 df-iun 4653 . . 3 𝑥𝐴 {⟨𝑥, 𝐵⟩} = {𝑦 ∣ ∃𝑥𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}}
108, 9eqtr4i 2794 . 2 ran (𝑥𝐴 ↦ ⟨𝑥, 𝐵⟩) = 𝑥𝐴 {⟨𝑥, 𝐵⟩}
112, 10eqtr4i 2794 1 (𝑥𝐴𝐵) = ran (𝑥𝐴 ↦ ⟨𝑥, 𝐵⟩)
Colors of variables: wff setvar class
Syntax hints:   = wceq 1629  wcel 2143  {cab 2755  wrex 3060  Vcvv 3348  {csn 4313  cop 4319   ciun 4651  cmpt 4860  ran crn 5249
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1868  ax-4 1883  ax-5 1989  ax-6 2055  ax-7 2091  ax-9 2152  ax-10 2172  ax-11 2188  ax-12 2201  ax-13 2406  ax-ext 2749  ax-sep 4911  ax-nul 4919  ax-pr 5033
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1071  df-tru 1632  df-ex 1851  df-nf 1856  df-sb 2048  df-eu 2620  df-mo 2621  df-clab 2756  df-cleq 2762  df-clel 2765  df-nfc 2900  df-ne 2942  df-ral 3064  df-rex 3065  df-reu 3066  df-rab 3068  df-v 3350  df-sbc 3585  df-csb 3680  df-dif 3723  df-un 3725  df-in 3727  df-ss 3734  df-nul 4061  df-if 4223  df-sn 4314  df-pr 4316  df-op 4320  df-iun 4653  df-br 4784  df-opab 4844  df-mpt 4861  df-id 5156  df-xp 5254  df-rel 5255  df-cnv 5256  df-co 5257  df-dm 5258  df-rn 5259  df-fun 6032  df-fn 6033  df-f 6034  df-f1 6035  df-fo 6036  df-f1o 6037
This theorem is referenced by:  resfunexg  6621  idref  6640  gruf  9833
  Copyright terms: Public domain W3C validator