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

Theorem zfcndrep 10370
Description: Axiom of Replacement ax-rep 5209, 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 2147 . . . . . 6 𝑦𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦)
2 nfv 1917 . . . . . . . 8 𝑦 𝑧𝑤
3 nfv 1917 . . . . . . . . . 10 𝑦 𝑤𝑥
4 nfa1 2148 . . . . . . . . . 10 𝑦𝑦𝑦𝜑
53, 4nfan 1902 . . . . . . . . 9 𝑦(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)
65nfex 2318 . . . . . . . 8 𝑦𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)
72, 6nfbi 1906 . . . . . . 7 𝑦(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑))
87nfal 2317 . . . . . 6 𝑦𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑))
91, 8nfim 1899 . . . . 5 𝑦(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
109nfex 2318 . . . 4 𝑦𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
11 elequ2 2121 . . . . . . . . . 10 (𝑦 = 𝑥 → (𝑤𝑦𝑤𝑥))
1211anbi1d 630 . . . . . . . . 9 (𝑦 = 𝑥 → ((𝑤𝑦 ∧ ∀𝑦𝑦𝜑) ↔ (𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
1312exbidv 1924 . . . . . . . 8 (𝑦 = 𝑥 → (∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑) ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
1413bibi2d 343 . . . . . . 7 (𝑦 = 𝑥 → ((𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)) ↔ (𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑))))
1514albidv 1923 . . . . . 6 (𝑦 = 𝑥 → (∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)) ↔ ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑))))
1615imbi2d 341 . . . . 5 (𝑦 = 𝑥 → ((∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))) ↔ (∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))))
1716exbidv 1924 . . . 4 (𝑦 = 𝑥 → (∃𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))) ↔ ∃𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))))
18 axrepnd 10350 . . . . 5 𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑)))
19 19.3v 1985 . . . . . . . . 9 (∀𝑦 𝑧𝑤𝑧𝑤)
20 19.3v 1985 . . . . . . . . . . 11 (∀𝑧 𝑤𝑦𝑤𝑦)
2120anbi1i 624 . . . . . . . . . 10 ((∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑) ↔ (𝑤𝑦 ∧ ∀𝑦𝑦𝜑))
2221exbii 1850 . . . . . . . . 9 (∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑) ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))
2319, 22bibi12i 340 . . . . . . . 8 ((∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑)) ↔ (𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)))
2423albii 1822 . . . . . . 7 (∀𝑧(∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑)) ↔ ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)))
2524imbi2i 336 . . . . . 6 ((∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑))) ↔ (∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))))
2625exbii 1850 . . . . 5 (∃𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(∀𝑦 𝑧𝑤 ↔ ∃𝑤(∀𝑧 𝑤𝑦 ∧ ∀𝑦𝑦𝜑))) ↔ ∃𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑))))
2718, 26mpbi 229 . . . 4 𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑦 ∧ ∀𝑦𝑦𝜑)))
2810, 17, 27chvar 2395 . . 3 𝑤(∃𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
292819.35i 1881 . 2 (∀𝑤𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∃𝑤𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)))
30 nfv 1917 . . . . 5 𝑤 𝑧𝑦
31 nfe1 2147 . . . . 5 𝑤𝑤(𝑤𝑥 ∧ ∀𝑦𝜑)
3230, 31nfbi 1906 . . . 4 𝑤(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))
3332nfal 2317 . . 3 𝑤𝑧(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))
34 elequ2 2121 . . . . 5 (𝑤 = 𝑦 → (𝑧𝑤𝑧𝑦))
35 nfa1 2148 . . . . . . . . 9 𝑦𝑦𝜑
363519.3 2195 . . . . . . . 8 (∀𝑦𝑦𝜑 ↔ ∀𝑦𝜑)
3736anbi2i 623 . . . . . . 7 ((𝑤𝑥 ∧ ∀𝑦𝑦𝜑) ↔ (𝑤𝑥 ∧ ∀𝑦𝜑))
3837exbii 1850 . . . . . 6 (∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑) ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))
3938a1i 11 . . . . 5 (𝑤 = 𝑦 → (∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑) ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑)))
4034, 39bibi12d 346 . . . 4 (𝑤 = 𝑦 → ((𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)) ↔ (𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))))
4140albidv 1923 . . 3 (𝑤 = 𝑦 → (∀𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)) ↔ ∀𝑧(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑))))
428, 33, 41cbvexv1 2339 . 2 (∃𝑤𝑧(𝑧𝑤 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝑦𝜑)) ↔ ∃𝑦𝑧(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑)))
4329, 42sylib 217 1 (∀𝑤𝑦𝑧(∀𝑦𝜑𝑧 = 𝑦) → ∃𝑦𝑧(𝑧𝑦 ↔ ∃𝑤(𝑤𝑥 ∧ ∀𝑦𝜑)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wex 1782  wcel 2106
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-13 2372  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-reg 9351
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-v 3434  df-dif 3890  df-un 3892  df-nul 4257  df-sn 4562  df-pr 4564
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator