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

Theorem funimaexg 6434
Description: Axiom of Replacement using abbreviations. Axiom 39(vi) of [Quine] p. 284. Compare Exercise 9 of [TakeutiZaring] p. 29. (Contributed by NM, 10-Sep-2006.)
Assertion
Ref Expression
funimaexg ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) ∈ V)

Proof of Theorem funimaexg
Dummy variables 𝑤 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 imaeq2 5919 . . . . 5 (𝑤 = 𝐵 → (𝐴𝑤) = (𝐴𝐵))
21eleq1d 2897 . . . 4 (𝑤 = 𝐵 → ((𝐴𝑤) ∈ V ↔ (𝐴𝐵) ∈ V))
32imbi2d 342 . . 3 (𝑤 = 𝐵 → ((Fun 𝐴 → (𝐴𝑤) ∈ V) ↔ (Fun 𝐴 → (𝐴𝐵) ∈ V)))
4 dffun5 6362 . . . 4 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥𝑧𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 = 𝑧)))
5 nfv 1906 . . . . . 6 𝑧𝑥, 𝑦⟩ ∈ 𝐴
65axrep4 5187 . . . . 5 (∀𝑥𝑧𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 = 𝑧) → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
7 isset 3507 . . . . . 6 ((𝐴𝑤) ∈ V ↔ ∃𝑧 𝑧 = (𝐴𝑤))
8 dfima3 5926 . . . . . . . . 9 (𝐴𝑤) = {𝑦 ∣ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)}
98eqeq2i 2834 . . . . . . . 8 (𝑧 = (𝐴𝑤) ↔ 𝑧 = {𝑦 ∣ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)})
10 abeq2 2945 . . . . . . . 8 (𝑧 = {𝑦 ∣ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)} ↔ ∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
119, 10bitri 276 . . . . . . 7 (𝑧 = (𝐴𝑤) ↔ ∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
1211exbii 1839 . . . . . 6 (∃𝑧 𝑧 = (𝐴𝑤) ↔ ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
137, 12bitri 276 . . . . 5 ((𝐴𝑤) ∈ V ↔ ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
146, 13sylibr 235 . . . 4 (∀𝑥𝑧𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 = 𝑧) → (𝐴𝑤) ∈ V)
154, 14simplbiim 505 . . 3 (Fun 𝐴 → (𝐴𝑤) ∈ V)
163, 15vtoclg 3568 . 2 (𝐵𝐶 → (Fun 𝐴 → (𝐴𝐵) ∈ V))
1716impcom 408 1 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) ∈ V)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wal 1526   = wceq 1528  wex 1771  wcel 2105  {cab 2799  Vcvv 3495  cop 4565  cima 5552  Rel wrel 5554  Fun wfun 6343
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pr 5321
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  df-br 5059  df-opab 5121  df-id 5454  df-xp 5555  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-fun 6351
This theorem is referenced by:  funimaex  6435  resfunexg  6970  resfunexgALT  7640  fnexALT  7643  wdomimag  9040  carduniima  9511  dfac12lem2  9559  ttukeylem3  9922  nnexALT  11629  seqex  13361  fbasrn  22422  elfm3  22488  bdayimaon  33095  nosupno  33101  madeval  33187
  Copyright terms: Public domain W3C validator