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

Theorem axpowndlem4 9460
 Description: Lemma for the Axiom of Power Sets with no distinct variable conditions. (Contributed by NM, 4-Jan-2002.) (Proof shortened by Mario Carneiro, 10-Dec-2016.)
Assertion
Ref Expression
axpowndlem4 (¬ ∀𝑦 𝑦 = 𝑥 → (¬ ∀𝑦 𝑦 = 𝑧 → (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))

Proof of Theorem axpowndlem4
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 axpowndlem3 9459 . . . . 5 𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
21ax-gen 1762 . . . 4 𝑤𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
3 nfnae 2351 . . . . . 6 𝑦 ¬ ∀𝑦 𝑦 = 𝑥
4 nfnae 2351 . . . . . 6 𝑦 ¬ ∀𝑦 𝑦 = 𝑧
53, 4nfan 1868 . . . . 5 𝑦(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
6 nfcvf 2817 . . . . . . . . 9 (¬ ∀𝑦 𝑦 = 𝑥𝑦𝑥)
76adantr 480 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑥)
8 nfcvd 2794 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑤)
97, 8nfeqd 2801 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥 = 𝑤)
109nfnd 1825 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 ¬ 𝑥 = 𝑤)
11 nfnae 2351 . . . . . . . 8 𝑥 ¬ ∀𝑦 𝑦 = 𝑥
12 nfnae 2351 . . . . . . . 8 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
1311, 12nfan 1868 . . . . . . 7 𝑥(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
14 nfv 1883 . . . . . . . 8 𝑤(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
15 nfnae 2351 . . . . . . . . . . . . 13 𝑧 ¬ ∀𝑦 𝑦 = 𝑥
16 nfnae 2351 . . . . . . . . . . . . 13 𝑧 ¬ ∀𝑦 𝑦 = 𝑧
1715, 16nfan 1868 . . . . . . . . . . . 12 𝑧(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
187, 8nfeld 2802 . . . . . . . . . . . 12 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥𝑤)
1917, 18nfexd 2203 . . . . . . . . . . 11 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑧 𝑥𝑤)
20 nfcvf 2817 . . . . . . . . . . . . . 14 (¬ ∀𝑦 𝑦 = 𝑧𝑦𝑧)
2120adantl 481 . . . . . . . . . . . . 13 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑧)
227, 21nfeld 2802 . . . . . . . . . . . 12 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥𝑧)
2314, 22nfald 2201 . . . . . . . . . . 11 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑤 𝑥𝑧)
2419, 23nfimd 1863 . . . . . . . . . 10 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧))
2513, 24nfald 2201 . . . . . . . . 9 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧))
268, 7nfeld 2802 . . . . . . . . 9 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑤𝑥)
2725, 26nfimd 1863 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
2814, 27nfald 2201 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
2913, 28nfexd 2203 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
3010, 29nfimd 1863 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)))
31 equequ2 1999 . . . . . . . . 9 (𝑤 = 𝑦 → (𝑥 = 𝑤𝑥 = 𝑦))
3231notbid 307 . . . . . . . 8 (𝑤 = 𝑦 → (¬ 𝑥 = 𝑤 ↔ ¬ 𝑥 = 𝑦))
3332adantl 481 . . . . . . 7 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (¬ 𝑥 = 𝑤 ↔ ¬ 𝑥 = 𝑦))
34 nfcvd 2794 . . . . . . . . . . . . . . 15 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑥𝑤)
35 nfcvf2 2818 . . . . . . . . . . . . . . . 16 (¬ ∀𝑦 𝑦 = 𝑥𝑥𝑦)
3635adantr 480 . . . . . . . . . . . . . . 15 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑥𝑦)
3734, 36nfeqd 2801 . . . . . . . . . . . . . 14 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑥 𝑤 = 𝑦)
3813, 37nfan1 2106 . . . . . . . . . . . . 13 𝑥((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦)
39 nfcvd 2794 . . . . . . . . . . . . . . . . 17 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑧𝑤)
40 nfcvf2 2818 . . . . . . . . . . . . . . . . . 18 (¬ ∀𝑦 𝑦 = 𝑧𝑧𝑦)
4140adantl 481 . . . . . . . . . . . . . . . . 17 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑧𝑦)
4239, 41nfeqd 2801 . . . . . . . . . . . . . . . 16 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑧 𝑤 = 𝑦)
4317, 42nfan1 2106 . . . . . . . . . . . . . . 15 𝑧((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦)
44 elequ2 2044 . . . . . . . . . . . . . . . 16 (𝑤 = 𝑦 → (𝑥𝑤𝑥𝑦))
4544adantl 481 . . . . . . . . . . . . . . 15 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (𝑥𝑤𝑥𝑦))
4643, 45exbid 2129 . . . . . . . . . . . . . 14 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∃𝑧 𝑥𝑤 ↔ ∃𝑧 𝑥𝑦))
47 biidd 252 . . . . . . . . . . . . . . . . 17 (𝑤 = 𝑦 → (𝑥𝑧𝑥𝑧))
4847a1i 11 . . . . . . . . . . . . . . . 16 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑤 = 𝑦 → (𝑥𝑧𝑥𝑧)))
495, 22, 48cbvald 2313 . . . . . . . . . . . . . . 15 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑤 𝑥𝑧 ↔ ∀𝑦 𝑥𝑧))
5049adantr 480 . . . . . . . . . . . . . 14 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∀𝑤 𝑥𝑧 ↔ ∀𝑦 𝑥𝑧))
5146, 50imbi12d 333 . . . . . . . . . . . . 13 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → ((∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5238, 51albid 2128 . . . . . . . . . . . 12 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
53 elequ1 2037 . . . . . . . . . . . . 13 (𝑤 = 𝑦 → (𝑤𝑥𝑦𝑥))
5453adantl 481 . . . . . . . . . . . 12 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (𝑤𝑥𝑦𝑥))
5552, 54imbi12d 333 . . . . . . . . . . 11 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → ((∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5655ex 449 . . . . . . . . . 10 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑤 = 𝑦 → ((∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
575, 27, 56cbvald 2313 . . . . . . . . 9 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5813, 57exbid 2129 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5958adantr 480 . . . . . . 7 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
6033, 59imbi12d 333 . . . . . 6 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → ((¬ 𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)) ↔ (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
6160ex 449 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑤 = 𝑦 → ((¬ 𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)) ↔ (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))))
625, 30, 61cbvald 2313 . . . 4 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑤𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)) ↔ ∀𝑦𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
632, 62mpbii 223 . . 3 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ∀𝑦𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
646319.21bi 2097 . 2 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
6564ex 449 1 (¬ ∀𝑦 𝑦 = 𝑥 → (¬ ∀𝑦 𝑦 = 𝑧 → (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 196   ∧ wa 383  ∀wal 1521  ∃wex 1744  Ⅎwnfc 2780 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-reg 8538 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rex 2947  df-v 3233  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-pw 4193  df-sn 4211  df-pr 4213 This theorem is referenced by:  axpownd  9461
 Copyright terms: Public domain W3C validator