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

Theorem axpowndlem2 10008
Description: Lemma for the Axiom of Power Sets with no distinct variable conditions. Revised to remove a redundant antecedent from the consequence. (Contributed by NM, 4-Jan-2002.) (Proof shortened by Mario Carneiro, 6-Dec-2016.) (Revised and shortened by Wolf Lammen, 9-Jun-2019.)
Assertion
Ref Expression
axpowndlem2 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
Distinct variable group:   𝑦,𝑧

Proof of Theorem axpowndlem2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 zfpow 5258 . . . 4 𝑤𝑦(∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤)
2 19.8a 2170 . . . . . . . 8 (𝑤𝑦 → ∃𝑧 𝑤𝑦)
3 sp 2172 . . . . . . . 8 (∀𝑦 𝑤𝑧𝑤𝑧)
42, 3imim12i 62 . . . . . . 7 ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → (𝑤𝑦𝑤𝑧))
54alimi 1803 . . . . . 6 (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → ∀𝑤(𝑤𝑦𝑤𝑧))
65imim1i 63 . . . . 5 ((∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
76alimi 1803 . . . 4 (∀𝑦(∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤) → ∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
81, 7eximii 1828 . . 3 𝑤𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤)
9 nfnae 2448 . . . . 5 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
10 nfnae 2448 . . . . 5 𝑥 ¬ ∀𝑥 𝑥 = 𝑧
119, 10nfan 1891 . . . 4 𝑥(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
12 nfnae 2448 . . . . . 6 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
13 nfnae 2448 . . . . . 6 𝑦 ¬ ∀𝑥 𝑥 = 𝑧
1412, 13nfan 1891 . . . . 5 𝑦(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
15 nfv 1906 . . . . . . 7 𝑤(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
16 nfnae 2448 . . . . . . . . . 10 𝑧 ¬ ∀𝑥 𝑥 = 𝑦
17 nfcvd 2975 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑤)
18 nfcvf 3004 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑦)
1917, 18nfeld 2986 . . . . . . . . . 10 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑤𝑦)
2016, 19nfexd 2339 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥𝑧 𝑤𝑦)
2120adantr 481 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑧 𝑤𝑦)
22 nfcvd 2975 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑤)
23 nfcvf 3004 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑧)
2422, 23nfeld 2986 . . . . . . . . . 10 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑥 𝑤𝑧)
2513, 24nfald 2338 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑥𝑦 𝑤𝑧)
2625adantl 482 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑦 𝑤𝑧)
2721, 26nfimd 1886 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧))
2815, 27nfald 2338 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧))
2918, 17nfeld 2986 . . . . . . 7 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑦𝑤)
3029adantr 481 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑦𝑤)
3128, 30nfimd 1886 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
3214, 31nfald 2338 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
33 nfeqf2 2386 . . . . . . . . 9 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦 𝑤 = 𝑥)
3433naecoms 2443 . . . . . . . 8 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦 𝑤 = 𝑥)
3534adantr 481 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑦 𝑤 = 𝑥)
3614, 35nfan1 2190 . . . . . 6 𝑦((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥)
37 nfnae 2448 . . . . . . . . . . . . . 14 𝑧 ¬ ∀𝑥 𝑥 = 𝑧
38 nfeqf2 2386 . . . . . . . . . . . . . . 15 (¬ ∀𝑧 𝑧 = 𝑥 → Ⅎ𝑧 𝑤 = 𝑥)
3938naecoms 2443 . . . . . . . . . . . . . 14 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑧 𝑤 = 𝑥)
4037, 39nfan1 2190 . . . . . . . . . . . . 13 𝑧(¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥)
41 elequ1 2112 . . . . . . . . . . . . . 14 (𝑤 = 𝑥 → (𝑤𝑦𝑥𝑦))
4241adantl 482 . . . . . . . . . . . . 13 ((¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥) → (𝑤𝑦𝑥𝑦))
4340, 42exbid 2215 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥) → (∃𝑧 𝑤𝑦 ↔ ∃𝑧 𝑥𝑦))
4443adantll 710 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∃𝑧 𝑤𝑦 ↔ ∃𝑧 𝑥𝑦))
4512, 34nfan1 2190 . . . . . . . . . . . . 13 𝑦(¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥)
46 elequ1 2112 . . . . . . . . . . . . . 14 (𝑤 = 𝑥 → (𝑤𝑧𝑥𝑧))
4746adantl 482 . . . . . . . . . . . . 13 ((¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥) → (𝑤𝑧𝑥𝑧))
4845, 47albid 2214 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥) → (∀𝑦 𝑤𝑧 ↔ ∀𝑦 𝑥𝑧))
4948adantlr 711 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑦 𝑤𝑧 ↔ ∀𝑦 𝑥𝑧))
5044, 49imbi12d 346 . . . . . . . . . 10 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5150ex 413 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧))))
5211, 27, 51cbvald 2419 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5352adantr 481 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
54 elequ2 2120 . . . . . . . 8 (𝑤 = 𝑥 → (𝑦𝑤𝑦𝑥))
5554adantl 482 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑦𝑤𝑦𝑥))
5653, 55imbi12d 346 . . . . . 6 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5736, 56albid 2214 . . . . 5 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5857ex 413 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → (∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
5911, 32, 58cbvexd 2420 . . 3 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∃𝑤𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
608, 59mpbii 234 . 2 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))
6160ex 413 1 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  wal 1526  wex 1771  wnf 1775
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-13 2381  ax-ext 2790  ax-pow 5257
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-cleq 2811  df-clel 2890  df-nfc 2960
This theorem is referenced by:  axpowndlem3  10009
  Copyright terms: Public domain W3C validator