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

Theorem fnasrn 7156
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 7155 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = ∪ 𝑥 ∈ 𝐴 {⟨𝑥, 𝐵⟩}
3 eqid 2763 . . . . 5 (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩)
43rnmpt 5943 . . . 4 ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝐵⟩}
5 velsn 4599 . . . . . 6 (𝑦 ∈ {⟨𝑥, 𝐵⟩} ↔ 𝑦 = ⟨𝑥, 𝐵⟩)
65rexbii 3112 . . . . 5 (∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩} ↔ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝐵⟩)
76abbii 2830 . . . 4 {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}} = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = ⟨𝑥, 𝐵⟩}
84, 7eqtr4i 2789 . . 3 ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}}
9 df-iun 4955 . . 3 ∪ 𝑥 ∈ 𝐴 {⟨𝑥, 𝐵⟩} = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ {⟨𝑥, 𝐵⟩}}
108, 9eqtr4i 2789 . 2 ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩) = ∪ 𝑥 ∈ 𝐴 {⟨𝑥, 𝐵⟩}
112, 10eqtr4i 2789 1 (𝑥 ∈ 𝐴 ↦ 𝐵) = ran (𝑥 ∈ 𝐴 ↦ ⟨𝑥, 𝐵⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569   ∈ wcel 2146  {cab 2741  ∃wrex 3089  Vcvv 3453  {csn 4587  ⟨cop 4837  ∪ ciun 4953   ↦ cmpt 5188  ran crn 5655
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-pr 5394
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553
This theorem is used by:  idref  7157  resfunexg  7228  gruf  10906
  Copyright terms: Public domain W3C validator