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

Theorem axpowndlem4 10287
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 2372. (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 10286 . . . . 5 𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
21ax-gen 1799 . . . 4 𝑤𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
3 nfnae 2434 . . . . . 6 𝑦 ¬ ∀𝑦 𝑦 = 𝑥
4 nfnae 2434 . . . . . 6 𝑦 ¬ ∀𝑦 𝑦 = 𝑧
53, 4nfan 1903 . . . . 5 𝑦(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
6 nfcvf 2935 . . . . . . . . 9 (¬ ∀𝑦 𝑦 = 𝑥𝑦𝑥)
76adantr 480 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑥)
8 nfcvd 2907 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑤)
97, 8nfeqd 2916 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥 = 𝑤)
109nfnd 1862 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 ¬ 𝑥 = 𝑤)
11 nfnae 2434 . . . . . . . 8 𝑥 ¬ ∀𝑦 𝑦 = 𝑥
12 nfnae 2434 . . . . . . . 8 𝑥 ¬ ∀𝑦 𝑦 = 𝑧
1311, 12nfan 1903 . . . . . . 7 𝑥(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
14 nfv 1918 . . . . . . . 8 𝑤(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
15 nfnae 2434 . . . . . . . . . . . . 13 𝑧 ¬ ∀𝑦 𝑦 = 𝑥
16 nfnae 2434 . . . . . . . . . . . . 13 𝑧 ¬ ∀𝑦 𝑦 = 𝑧
1715, 16nfan 1903 . . . . . . . . . . . 12 𝑧(¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧)
187, 8nfeld 2917 . . . . . . . . . . . 12 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥𝑤)
1917, 18nfexd 2327 . . . . . . . . . . 11 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑧 𝑥𝑤)
20 nfcvf 2935 . . . . . . . . . . . . . 14 (¬ ∀𝑦 𝑦 = 𝑧𝑦𝑧)
2120adantl 481 . . . . . . . . . . . . 13 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑦𝑧)
227, 21nfeld 2917 . . . . . . . . . . . 12 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑥𝑧)
2314, 22nfald 2326 . . . . . . . . . . 11 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑤 𝑥𝑧)
2419, 23nfimd 1898 . . . . . . . . . 10 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧))
2513, 24nfald 2326 . . . . . . . . 9 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧))
268, 7nfeld 2917 . . . . . . . . 9 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦 𝑤𝑥)
2725, 26nfimd 1898 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
2814, 27nfald 2326 . . . . . . 7 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
2913, 28nfexd 2327 . . . . . 6 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥))
3010, 29nfimd 1898 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑦𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)))
31 equequ2 2030 . . . . . . . . 9 (𝑤 = 𝑦 → (𝑥 = 𝑤𝑥 = 𝑦))
3231notbid 317 . . . . . . . 8 (𝑤 = 𝑦 → (¬ 𝑥 = 𝑤 ↔ ¬ 𝑥 = 𝑦))
3332adantl 481 . . . . . . 7 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (¬ 𝑥 = 𝑤 ↔ ¬ 𝑥 = 𝑦))
34 nfcvd 2907 . . . . . . . . . . . . . . 15 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑥𝑤)
35 nfcvf2 2936 . . . . . . . . . . . . . . . 16 (¬ ∀𝑦 𝑦 = 𝑥𝑥𝑦)
3635adantr 480 . . . . . . . . . . . . . . 15 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑥𝑦)
3734, 36nfeqd 2916 . . . . . . . . . . . . . 14 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑥 𝑤 = 𝑦)
3813, 37nfan1 2196 . . . . . . . . . . . . 13 𝑥((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦)
39 nfcvd 2907 . . . . . . . . . . . . . . . . 17 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑧𝑤)
40 nfcvf2 2936 . . . . . . . . . . . . . . . . . 18 (¬ ∀𝑦 𝑦 = 𝑧𝑧𝑦)
4140adantl 481 . . . . . . . . . . . . . . . . 17 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → 𝑧𝑦)
4239, 41nfeqd 2916 . . . . . . . . . . . . . . . 16 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → Ⅎ𝑧 𝑤 = 𝑦)
4317, 42nfan1 2196 . . . . . . . . . . . . . . 15 𝑧((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦)
44 elequ2 2123 . . . . . . . . . . . . . . . 16 (𝑤 = 𝑦 → (𝑥𝑤𝑥𝑦))
4544adantl 481 . . . . . . . . . . . . . . 15 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (𝑥𝑤𝑥𝑦))
4643, 45exbid 2219 . . . . . . . . . . . . . 14 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∃𝑧 𝑥𝑤 ↔ ∃𝑧 𝑥𝑦))
47 biidd 261 . . . . . . . . . . . . . . . . 17 (𝑤 = 𝑦 → (𝑥𝑧𝑥𝑧))
4847a1i 11 . . . . . . . . . . . . . . . 16 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑤 = 𝑦 → (𝑥𝑧𝑥𝑧)))
495, 22, 48cbvald 2407 . . . . . . . . . . . . . . 15 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑤 𝑥𝑧 ↔ ∀𝑦 𝑥𝑧))
5049adantr 480 . . . . . . . . . . . . . 14 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∀𝑤 𝑥𝑧 ↔ ∀𝑦 𝑥𝑧))
5146, 50imbi12d 344 . . . . . . . . . . . . 13 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → ((∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5238, 51albid 2218 . . . . . . . . . . . 12 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
53 elequ1 2115 . . . . . . . . . . . . 13 (𝑤 = 𝑦 → (𝑤𝑥𝑦𝑥))
5453adantl 481 . . . . . . . . . . . 12 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (𝑤𝑥𝑦𝑥))
5552, 54imbi12d 344 . . . . . . . . . . 11 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → ((∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5655ex 412 . . . . . . . . . 10 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑤 = 𝑦 → ((∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
575, 27, 56cbvald 2407 . . . . . . . . 9 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5813, 57exbid 2219 . . . . . . . 8 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5958adantr 480 . . . . . . 7 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → (∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
6033, 59imbi12d 344 . . . . . 6 (((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) ∧ 𝑤 = 𝑦) → ((¬ 𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)) ↔ (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
6160ex 412 . . . . 5 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (𝑤 = 𝑦 → ((¬ 𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)) ↔ (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))))
625, 30, 61cbvald 2407 . . . 4 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (∀𝑤𝑥 = 𝑤 → ∃𝑥𝑤(∀𝑥(∃𝑧 𝑥𝑤 → ∀𝑤 𝑥𝑧) → 𝑤𝑥)) ↔ ∀𝑦𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
632, 62mpbii 232 . . 3 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → ∀𝑦𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
646319.21bi 2184 . 2 ((¬ ∀𝑦 𝑦 = 𝑥 ∧ ¬ ∀𝑦 𝑦 = 𝑧) → (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
6564ex 412 1 (¬ ∀𝑦 𝑦 = 𝑥 → (¬ ∀𝑦 𝑦 = 𝑧 → (¬ 𝑥 = 𝑦 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1537  wex 1783  wnfc 2886
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-sep 5218  ax-nul 5225  ax-pow 5283  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-in 3890  df-ss 3900  df-nul 4254  df-pw 4532  df-sn 4559  df-pr 4561
This theorem is referenced by:  axpownd  10288
  Copyright terms: Public domain W3C validator