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

Theorem axpowndlem4 10101
Description: Lemma for the Axiom of Power Sets with no distinct variable conditions. Usage of this theorem is discouraged because it depends on ax-13 2371. (Contributed by NM, 4-Jan-2002.) (Proof shortened by Mario Carneiro, 10-Dec-2016.) (New usage is discouraged.)
Assertion
Ref Expression
axpowndlem4 (¬ ∀𝑦 𝑦 = 𝑥 → (¬ ∀𝑦 𝑦 = 𝑧 → (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))

Proof of Theorem axpowndlem4
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 axpowndlem3 10100 . . . . 5 𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
21ax-gen 1802 . . . 4 𝑤𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
3 nfnae 2433 . . . . . 6 𝑦 ¬ ∀𝑦 𝑦 = 𝑥
4 nfnae 2433 . . . . . 6 𝑦 ¬ ∀𝑦 𝑦 = 𝑧
53, 4nfan 1905 . . . . 5 𝑦(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
6 nfcvf 2928 . . . . . . . . 9 (¬ ∀𝑦 𝑦 = 𝑥𝑦𝑥)
76adantr 484 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑥)
8 nfcvd 2900 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑤)
97, 8nfeqd 2909 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥 = 𝑤)
109nfnd 1864 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 ¬ 𝑥 = 𝑤)
11 nfnae 2433 . . . . . . . 8 𝑥 ¬ ∀𝑦 𝑦 = 𝑥
12 nfnae 2433 . . . . . . . 8 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
1311, 12nfan 1905 . . . . . . 7 𝑥(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
14 nfv 1920 . . . . . . . 8 𝑤(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
15 nfnae 2433 . . . . . . . . . . . . 13 𝑧 ¬ ∀𝑦 𝑦 = 𝑥
16 nfnae 2433 . . . . . . . . . . . . 13 𝑧 ¬ ∀𝑦 𝑦 = 𝑧
1715, 16nfan 1905 . . . . . . . . . . . 12 𝑧(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
187, 8nfeld 2910 . . . . . . . . . . . 12 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥𝑤)
1917, 18nfexd 2330 . . . . . . . . . . 11 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑧 𝑥𝑤)
20 nfcvf 2928 . . . . . . . . . . . . . 14 (¬ ∀𝑦 𝑦 = 𝑧𝑦𝑧)
2120adantl 485 . . . . . . . . . . . . 13 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑧)
227, 21nfeld 2910 . . . . . . . . . . . 12 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥𝑧)
2314, 22nfald 2329 . . . . . . . . . . 11 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑤 𝑥𝑧)
2419, 23nfimd 1900 . . . . . . . . . 10 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧))
2513, 24nfald 2329 . . . . . . . . 9 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧))
268, 7nfeld 2910 . . . . . . . . 9 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑤𝑥)
2725, 26nfimd 1900 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
2814, 27nfald 2329 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
2913, 28nfexd 2330 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
3010, 29nfimd 1900 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)))
31 equequ2 2037 . . . . . . . . 9 (𝑤 = 𝑦 → (𝑥 = 𝑤𝑥 = 𝑦))
3231notbid 321 . . . . . . . 8 (𝑤 = 𝑦 → (¬ 𝑥 = 𝑤 ↔ ¬ 𝑥 = 𝑦))
3332adantl 485 . . . . . . 7 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (¬ 𝑥 = 𝑤 ↔ ¬ 𝑥 = 𝑦))
34 nfcvd 2900 . . . . . . . . . . . . . . 15 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑥𝑤)
35 nfcvf2 2929 . . . . . . . . . . . . . . . 16 (¬ ∀𝑦 𝑦 = 𝑥𝑥𝑦)
3635adantr 484 . . . . . . . . . . . . . . 15 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑥𝑦)
3734, 36nfeqd 2909 . . . . . . . . . . . . . 14 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑥 𝑤 = 𝑦)
3813, 37nfan1 2201 . . . . . . . . . . . . 13 𝑥((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦)
39 nfcvd 2900 . . . . . . . . . . . . . . . . 17 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑧𝑤)
40 nfcvf2 2929 . . . . . . . . . . . . . . . . . 18 (¬ ∀𝑦 𝑦 = 𝑧𝑧𝑦)
4140adantl 485 . . . . . . . . . . . . . . . . 17 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑧𝑦)
4239, 41nfeqd 2909 . . . . . . . . . . . . . . . 16 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑧 𝑤 = 𝑦)
4317, 42nfan1 2201 . . . . . . . . . . . . . . 15 𝑧((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦)
44 elequ2 2128 . . . . . . . . . . . . . . . 16 (𝑤 = 𝑦 → (𝑥𝑤𝑥𝑦))
4544adantl 485 . . . . . . . . . . . . . . 15 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (𝑥𝑤𝑥𝑦))
4643, 45exbid 2224 . . . . . . . . . . . . . 14 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∃𝑧 𝑥𝑤 ↔ ∃𝑧 𝑥𝑦))
47 biidd 265 . . . . . . . . . . . . . . . . 17 (𝑤 = 𝑦 → (𝑥𝑧𝑥𝑧))
4847a1i 11 . . . . . . . . . . . . . . . 16 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑤 = 𝑦 → (𝑥𝑧𝑥𝑧)))
495, 22, 48cbvald 2406 . . . . . . . . . . . . . . 15 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑤 𝑥𝑧 ↔ ∀𝑦 𝑥𝑧))
5049adantr 484 . . . . . . . . . . . . . 14 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∀𝑤 𝑥𝑧 ↔ ∀𝑦 𝑥𝑧))
5146, 50imbi12d 348 . . . . . . . . . . . . 13 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → ((∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5238, 51albid 2223 . . . . . . . . . . . 12 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
53 elequ1 2120 . . . . . . . . . . . . 13 (𝑤 = 𝑦 → (𝑤𝑥𝑦𝑥))
5453adantl 485 . . . . . . . . . . . 12 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (𝑤𝑥𝑦𝑥))
5552, 54imbi12d 348 . . . . . . . . . . 11 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → ((∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5655ex 416 . . . . . . . . . 10 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑤 = 𝑦 → ((∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
575, 27, 56cbvald 2406 . . . . . . . . 9 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5813, 57exbid 2224 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5958adantr 484 . . . . . . 7 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
6033, 59imbi12d 348 . . . . . 6 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → ((¬ 𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)) ↔ (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
6160ex 416 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑤 = 𝑦 → ((¬ 𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)) ↔ (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))))
625, 30, 61cbvald 2406 . . . 4 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑤𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)) ↔ ∀𝑦𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
632, 62mpbii 236 . . 3 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ∀𝑦𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
646319.21bi 2189 . 2 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
6564ex 416 1 (¬ ∀𝑦 𝑦 = 𝑥 → (¬ ∀𝑦 𝑦 = 𝑧 → (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wal 1540  wex 1786  wnfc 2879
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1916  ax-6 1974  ax-7 2019  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2161  ax-12 2178  ax-13 2371  ax-ext 2710  ax-sep 5168  ax-nul 5175  ax-pow 5233  ax-pr 5297  ax-reg 9130
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2074  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ral 3058  df-rex 3059  df-v 3400  df-dif 3847  df-un 3849  df-in 3851  df-ss 3861  df-nul 4213  df-pw 4491  df-sn 4518  df-pr 4520
This theorem is referenced by:  axpownd  10102
  Copyright terms: Public domain W3C validator