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

Theorem fnasrn 7148
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 7147 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = ∪ 𝑥 ∈ 𝐴 {⟨𝑥, 𝐵⟩}
3 eqid 2761 . . . . 5 (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩)
43rnmpt 5939 . . . 4 ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝐵⟩}
5 velsn 4600 . . . . . 6 (𝑦 ∈ {⟨𝑥, 𝐵⟩} ↔ 𝑦 = ⟨𝑥, 𝐵⟩)
65rexbii 3110 . . . . 5 (∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩} ↔ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝐵⟩)
76abbii 2828 . . . 4 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}} = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝐵⟩}
84, 7eqtr4i 2787 . . 3 ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}}
9 df-iun 4953 . . 3 ∪ 𝑥 ∈ 𝐴 {⟨𝑥, 𝐵⟩} = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}}
108, 9eqtr4i 2787 . 2 ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = ∪ 𝑥 ∈ 𝐴 {⟨𝑥, 𝐵⟩}
112, 10eqtr4i 2787 1 (𝑥 ∈ 𝐴 ↦ 𝐵) = ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570   ∈ wcel 2145  {cab 2739  ∃wrex 3087  Vcvv 3451  {csn 4584  ⟨cop 4590  ∪ ciun 4951   ↦ cmpt 5186  ran crn 5652
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545
This theorem is used by:  idref  7149  resfunexg  7221  gruf  10896
  Copyright terms: Public domain W3C validator