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

Theorem zfcndrep 10301
Description: Axiom of Replacement ax-rep 5205, reproved from conditionless ZFC axioms. Usage of this theorem is discouraged because it depends on ax-13 2372. (Contributed by NM, 15-Aug-2003.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
zfcndrep (∀𝑤𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∃𝑦𝑧(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑)))
Distinct variable group:   𝑥,𝑦,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem zfcndrep
StepHypRef Expression
1 nfe1 2149 . . . . . 6 𝑦𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦)
2 nfv 1918 . . . . . . . 8 𝑦 𝑧𝑤
3 nfv 1918 . . . . . . . . . 10 𝑦 𝑤𝑥
4 nfa1 2150 . . . . . . . . . 10 𝑦𝑦𝑦𝜑
53, 4nfan 1903 . . . . . . . . 9 𝑦(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)
65nfex 2322 . . . . . . . 8 𝑦𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)
72, 6nfbi 1907 . . . . . . 7 𝑦(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑))
87nfal 2321 . . . . . 6 𝑦𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑))
91, 8nfim 1900 . . . . 5 𝑦(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
109nfex 2322 . . . 4 𝑦𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
11 elequ2 2123 . . . . . . . . . 10 (𝑦 = 𝑥 → (𝑤𝑦𝑤𝑥))
1211anbi1d 629 . . . . . . . . 9 (𝑦 = 𝑥 → ((𝑤𝑦 ∧ ∀𝑦𝑦𝜑) ↔ (𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
1312exbidv 1925 . . . . . . . 8 (𝑦 = 𝑥 → (∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑) ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
1413bibi2d 342 . . . . . . 7 (𝑦 = 𝑥 → ((𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)) ↔ (𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑))))
1514albidv 1924 . . . . . 6 (𝑦 = 𝑥 → (∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)) ↔ ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑))))
1615imbi2d 340 . . . . 5 (𝑦 = 𝑥 → ((∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))) ↔ (∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))))
1716exbidv 1925 . . . 4 (𝑦 = 𝑥 → (∃𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))) ↔ ∃𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))))
18 axrepnd 10281 . . . . 5 𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑)))
19 19.3v 1986 . . . . . . . . 9 (∀𝑦 𝑧𝑤𝑧𝑤)
20 19.3v 1986 . . . . . . . . . . 11 (∀𝑧 𝑤𝑦𝑤𝑦)
2120anbi1i 623 . . . . . . . . . 10 ((∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑) ↔ (𝑤𝑦 ∧ ∀𝑦𝑦𝜑))
2221exbii 1851 . . . . . . . . 9 (∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑) ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))
2319, 22bibi12i 339 . . . . . . . 8 ((∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑)) ↔ (𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)))
2423albii 1823 . . . . . . 7 (∀𝑧(∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑)) ↔ ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)))
2524imbi2i 335 . . . . . 6 ((∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑))) ↔ (∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))))
2625exbii 1851 . . . . 5 (∃𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑))) ↔ ∃𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))))
2718, 26mpbi 229 . . . 4 𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)))
2810, 17, 27chvar 2395 . . 3 𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
292819.35i 1882 . 2 (∀𝑤𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∃𝑤𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
30 nfv 1918 . . . . 5 𝑤 𝑧𝑦
31 nfe1 2149 . . . . 5 𝑤𝑤(𝑤𝑥 ∧ ∀𝑦𝜑)
3230, 31nfbi 1907 . . . 4 𝑤(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))
3332nfal 2321 . . 3 𝑤𝑧(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))
34 elequ2 2123 . . . . 5 (𝑤 = 𝑦 → (𝑧𝑤𝑧𝑦))
35 nfa1 2150 . . . . . . . . 9 𝑦𝑦𝜑
363519.3 2198 . . . . . . . 8 (∀𝑦𝑦𝜑 ↔ ∀𝑦𝜑)
3736anbi2i 622 . . . . . . 7 ((𝑤𝑥 ∧ ∀𝑦𝑦𝜑) ↔ (𝑤𝑥 ∧ ∀𝑦𝜑))
3837exbii 1851 . . . . . 6 (∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑) ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))
3938a1i 11 . . . . 5 (𝑤 = 𝑦 → (∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑) ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑)))
4034, 39bibi12d 345 . . . 4 (𝑤 = 𝑦 → ((𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)) ↔ (𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))))
4140albidv 1924 . . 3 (𝑤 = 𝑦 → (∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)) ↔ ∀𝑧(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))))
428, 33, 41cbvexv1 2341 . 2 (∃𝑤𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)) ↔ ∃𝑦𝑧(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑)))
4329, 42sylib 217 1 (∀𝑤𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∃𝑦𝑧(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108
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-13 2372  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-reg 9281
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-sn 4559  df-pr 4561
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator