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

Theorem funimaexg 6504
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 5954 . . . . 5 (𝑤 = 𝐵 → (𝐴𝑤) = (𝐴𝐵))
21eleq1d 2823 . . . 4 (𝑤 = 𝐵 → ((𝐴𝑤) ∈ V ↔ (𝐴𝐵) ∈ V))
32imbi2d 340 . . 3 (𝑤 = 𝐵 → ((Fun 𝐴 → (𝐴𝑤) ∈ V) ↔ (Fun 𝐴 → (𝐴𝐵) ∈ V)))
4 dffun5 6431 . . . 4 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥𝑧𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 = 𝑧)))
5 nfv 1918 . . . . . 6 𝑧𝑥, 𝑦⟩ ∈ 𝐴
65axrep4 5210 . . . . 5 (∀𝑥𝑧𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 = 𝑧) → ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
7 isset 3435 . . . . . 6 ((𝐴𝑤) ∈ V ↔ ∃𝑧 𝑧 = (𝐴𝑤))
8 dfima3 5961 . . . . . . . . 9 (𝐴𝑤) = {𝑦 ∣ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)}
98eqeq2i 2751 . . . . . . . 8 (𝑧 = (𝐴𝑤) ↔ 𝑧 = {𝑦 ∣ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)})
10 abeq2 2871 . . . . . . . 8 (𝑧 = {𝑦 ∣ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)} ↔ ∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
119, 10bitri 274 . . . . . . 7 (𝑧 = (𝐴𝑤) ↔ ∀𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
1211exbii 1851 . . . . . 6 (∃𝑧 𝑧 = (𝐴𝑤) ↔ ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
137, 12bitri 274 . . . . 5 ((𝐴𝑤) ∈ V ↔ ∃𝑧𝑦(𝑦𝑧 ↔ ∃𝑥(𝑥𝑤 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
146, 13sylibr 233 . . . 4 (∀𝑥𝑧𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴𝑦 = 𝑧) → (𝐴𝑤) ∈ V)
154, 14simplbiim 504 . . 3 (Fun 𝐴 → (𝐴𝑤) ∈ V)
163, 15vtoclg 3495 . 2 (𝐵𝐶 → (Fun 𝐴 → (𝐴𝐵) ∈ V))
1716impcom 407 1 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) ∈ V)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  {cab 2715  Vcvv 3422  cop 4564  cima 5583  Rel wrel 5585  Fun wfun 6412
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-fun 6420
This theorem is referenced by:  funimaex  6505  resfunexg  7073  resfunexgALT  7764  fnexALT  7767  wdomimag  9276  carduniima  9783  dfac12lem2  9831  ttukeylem3  10198  nnexALT  11905  seqex  13651  fbasrn  22943  elfm3  23009  naddcllem  33758  bdayimaon  33823  nosupno  33833  noinfno  33848  noeta2  33906  etasslt2  33935  scutbdaybnd2lim  33938  madeval  33963  oldval  33965  fundcmpsurinjlem3  44740  fundcmpsurbijinjpreimafv  44747  fundcmpsurbijinj  44750  fundcmpsurinjALT  44752
  Copyright terms: Public domain W3C validator