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

Theorem axpowndlem2 10098
Description: Lemma for the Axiom of Power Sets with no distinct variable conditions. Revised to remove a redundant antecedent from the consequence. Usage of this theorem is discouraged because it depends on ax-13 2372. (Contributed by NM, 4-Jan-2002.) (Proof shortened by Mario Carneiro, 6-Dec-2016.) (Revised and shortened by Wolf Lammen, 9-Jun-2019.) (New usage is discouraged.)
Assertion
Ref Expression
axpowndlem2 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
Distinct variable group:   𝑦,𝑧

Proof of Theorem axpowndlem2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 zfpow 5233 . . . 4 𝑤𝑦(∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤)
2 19.8a 2182 . . . . . . . 8 (𝑤𝑦 → ∃𝑧 𝑤𝑦)
3 sp 2184 . . . . . . . 8 (∀𝑦 𝑤𝑧𝑤𝑧)
42, 3imim12i 62 . . . . . . 7 ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → (𝑤𝑦𝑤𝑧))
54alimi 1818 . . . . . 6 (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → ∀𝑤(𝑤𝑦𝑤𝑧))
65imim1i 63 . . . . 5 ((∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
76alimi 1818 . . . 4 (∀𝑦(∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤) → ∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
81, 7eximii 1843 . . 3 𝑤𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤)
9 nfnae 2434 . . . . 5 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
10 nfnae 2434 . . . . 5 𝑥 ¬ ∀𝑥 𝑥 = 𝑧
119, 10nfan 1906 . . . 4 𝑥(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
12 nfnae 2434 . . . . . 6 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
13 nfnae 2434 . . . . . 6 𝑦 ¬ ∀𝑥 𝑥 = 𝑧
1412, 13nfan 1906 . . . . 5 𝑦(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
15 nfv 1921 . . . . . . 7 𝑤(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
16 nfnae 2434 . . . . . . . . . 10 𝑧 ¬ ∀𝑥 𝑥 = 𝑦
17 nfcvd 2900 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑤)
18 nfcvf 2928 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑦)
1917, 18nfeld 2910 . . . . . . . . . 10 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑤𝑦)
2016, 19nfexd 2331 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥𝑧 𝑤𝑦)
2120adantr 484 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑧 𝑤𝑦)
22 nfcvd 2900 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑤)
23 nfcvf 2928 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑧)
2422, 23nfeld 2910 . . . . . . . . . 10 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑥 𝑤𝑧)
2513, 24nfald 2330 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑥𝑦 𝑤𝑧)
2625adantl 485 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑦 𝑤𝑧)
2721, 26nfimd 1901 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧))
2815, 27nfald 2330 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧))
2918, 17nfeld 2910 . . . . . . 7 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑦𝑤)
3029adantr 484 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑦𝑤)
3128, 30nfimd 1901 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
3214, 31nfald 2330 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
33 nfeqf2 2377 . . . . . . . . 9 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦 𝑤 = 𝑥)
3433naecoms 2429 . . . . . . . 8 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦 𝑤 = 𝑥)
3534adantr 484 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑦 𝑤 = 𝑥)
3614, 35nfan1 2202 . . . . . 6 𝑦((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥)
37 nfnae 2434 . . . . . . . . . . . . . 14 𝑧 ¬ ∀𝑥 𝑥 = 𝑧
38 nfeqf2 2377 . . . . . . . . . . . . . . 15 (¬ ∀𝑧 𝑧 = 𝑥 → Ⅎ𝑧 𝑤 = 𝑥)
3938naecoms 2429 . . . . . . . . . . . . . 14 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑧 𝑤 = 𝑥)
4037, 39nfan1 2202 . . . . . . . . . . . . 13 𝑧(¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥)
41 elequ1 2121 . . . . . . . . . . . . . 14 (𝑤 = 𝑥 → (𝑤𝑦𝑥𝑦))
4241adantl 485 . . . . . . . . . . . . 13 ((¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥) → (𝑤𝑦𝑥𝑦))
4340, 42exbid 2225 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥) → (∃𝑧 𝑤𝑦 ↔ ∃𝑧 𝑥𝑦))
4443adantll 714 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∃𝑧 𝑤𝑦 ↔ ∃𝑧 𝑥𝑦))
4512, 34nfan1 2202 . . . . . . . . . . . . 13 𝑦(¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥)
46 elequ1 2121 . . . . . . . . . . . . . 14 (𝑤 = 𝑥 → (𝑤𝑧𝑥𝑧))
4746adantl 485 . . . . . . . . . . . . 13 ((¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥) → (𝑤𝑧𝑥𝑧))
4845, 47albid 2224 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥) → (∀𝑦 𝑤𝑧 ↔ ∀𝑦 𝑥𝑧))
4948adantlr 715 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑦 𝑤𝑧 ↔ ∀𝑦 𝑥𝑧))
5044, 49imbi12d 348 . . . . . . . . . 10 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5150ex 416 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧))))
5211, 27, 51cbvald 2407 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5352adantr 484 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
54 elequ2 2129 . . . . . . . 8 (𝑤 = 𝑥 → (𝑦𝑤𝑦𝑥))
5554adantl 485 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑦𝑤𝑦𝑥))
5653, 55imbi12d 348 . . . . . 6 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5736, 56albid 2224 . . . . 5 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5857ex 416 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → (∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
5911, 32, 58cbvexd 2408 . . 3 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∃𝑤𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
608, 59mpbii 236 . 2 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))
6160ex 416 1 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wal 1540  wex 1786  wnf 1790
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 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-13 2372  ax-ext 2710  ax-pow 5232
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-tru 1545  df-ex 1787  df-nf 1791  df-cleq 2730  df-clel 2811  df-nfc 2881
This theorem is referenced by:  axpowndlem3  10099
  Copyright terms: Public domain W3C validator