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

Theorem fnasrn 7180
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 7179 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = ∪ 𝑥 ∈ 𝐴 {⟨𝑥, 𝐵⟩}
3 eqid 2763 . . . . 5 (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩)
43rnmpt 5951 . . . 4 ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝐵⟩}
5 velsn 4600 . . . . . 6 (𝑦 ∈ {⟨𝑥, 𝐵⟩} ↔ 𝑦 = ⟨𝑥, 𝐵⟩)
65rexbii 3113 . . . . 5 (∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩} ↔ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝐵⟩)
76abbii 2830 . . . 4 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}} = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝐵⟩}
84, 7eqtr4i 2789 . . 3 ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}}
9 df-iun 4958 . . 3 ∪ 𝑥 ∈ 𝐴 {⟨𝑥, 𝐵⟩} = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}}
108, 9eqtr4i 2789 . 2 ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = ∪ 𝑥 ∈ 𝐴 {⟨𝑥, 𝐵⟩}
112, 10eqtr4i 2789 1 (𝑥 ∈ 𝐴 ↦ 𝐵) = ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570   ∈ wcel 2147  {cab 2741  ∃wrex 3090  Vcvv 3454  {csn 4588  ⟨cop 4840  ∪ ciun 4956   ↦ cmpt 5192  ran crn 5659
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573
This theorem is used by:  idref  7181  resfunexg  7252  gruf  10935
  Copyright terms: Public domain W3C validator