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

Theorem axpowndlem2 9299
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 4770 . . . 4 𝑤𝑦(∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤)
2 19.8a 2039 . . . . . . . 8 (𝑤𝑦 → ∃𝑧 𝑤𝑦)
3 sp 2041 . . . . . . . 8 (∀𝑦 𝑤𝑧𝑤𝑧)
42, 3imim12i 60 . . . . . . 7 ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → (𝑤𝑦𝑤𝑧))
54alimi 1730 . . . . . 6 (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → ∀𝑤(𝑤𝑦𝑤𝑧))
65imim1i 61 . . . . 5 ((∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
76alimi 1730 . . . 4 (∀𝑦(∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤) → ∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
81, 7eximii 1754 . . 3 𝑤𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤)
9 nfnae 2306 . . . . 5 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
10 nfnae 2306 . . . . 5 𝑥 ¬ ∀𝑥 𝑥 = 𝑧
119, 10nfan 1816 . . . 4 𝑥(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
12 nfnae 2306 . . . . . 6 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
13 nfnae 2306 . . . . . 6 𝑦 ¬ ∀𝑥 𝑥 = 𝑧
1412, 13nfan 1816 . . . . 5 𝑦(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
15 nfv 1830 . . . . . . 7 𝑤(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
16 nfnae 2306 . . . . . . . . . 10 𝑧 ¬ ∀𝑥 𝑥 = 𝑦
17 nfcvd 2752 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑤)
18 nfcvf 2774 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑦)
1917, 18nfeld 2759 . . . . . . . . . 10 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑤𝑦)
2016, 19nfexd 2153 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥𝑧 𝑤𝑦)
2120adantr 480 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑧 𝑤𝑦)
22 nfcvd 2752 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑤)
23 nfcvf 2774 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑧)
2422, 23nfeld 2759 . . . . . . . . . 10 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑥 𝑤𝑧)
2513, 24nfald 2151 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑥𝑦 𝑤𝑧)
2625adantl 481 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑦 𝑤𝑧)
2721, 26nfimd 1812 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧))
2815, 27nfald 2151 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧))
2918, 17nfeld 2759 . . . . . . 7 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑦𝑤)
3029adantr 480 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑦𝑤)
3128, 30nfimd 1812 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
3214, 31nfald 2151 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
33 nfeqf2 2285 . . . . . . . . 9 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦 𝑤 = 𝑥)
3433naecoms 2301 . . . . . . . 8 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦 𝑤 = 𝑥)
3534adantr 480 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑦 𝑤 = 𝑥)
3614, 35nfan1 2056 . . . . . 6 𝑦((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥)
37 nfnae 2306 . . . . . . . . . . . . . 14 𝑧 ¬ ∀𝑥 𝑥 = 𝑧
38 nfeqf2 2285 . . . . . . . . . . . . . . 15 (¬ ∀𝑧 𝑧 = 𝑥 → Ⅎ𝑧 𝑤 = 𝑥)
3938naecoms 2301 . . . . . . . . . . . . . 14 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑧 𝑤 = 𝑥)
4037, 39nfan1 2056 . . . . . . . . . . . . 13 𝑧(¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥)
41 elequ1 1984 . . . . . . . . . . . . . 14 (𝑤 = 𝑥 → (𝑤𝑦𝑥𝑦))
4241adantl 481 . . . . . . . . . . . . 13 ((¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥) → (𝑤𝑦𝑥𝑦))
4340, 42exbid 2078 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥) → (∃𝑧 𝑤𝑦 ↔ ∃𝑧 𝑥𝑦))
4443adantll 746 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∃𝑧 𝑤𝑦 ↔ ∃𝑧 𝑥𝑦))
4512, 34nfan1 2056 . . . . . . . . . . . . 13 𝑦(¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥)
46 elequ1 1984 . . . . . . . . . . . . . 14 (𝑤 = 𝑥 → (𝑤𝑧𝑥𝑧))
4746adantl 481 . . . . . . . . . . . . 13 ((¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥) → (𝑤𝑧𝑥𝑧))
4845, 47albid 2077 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥) → (∀𝑦 𝑤𝑧 ↔ ∀𝑦 𝑥𝑧))
4948adantlr 747 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑦 𝑤𝑧 ↔ ∀𝑦 𝑥𝑧))
5044, 49imbi12d 333 . . . . . . . . . 10 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5150ex 449 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧))))
5211, 27, 51cbvald 2265 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5352adantr 480 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
54 elequ2 1991 . . . . . . . 8 (𝑤 = 𝑥 → (𝑦𝑤𝑦𝑥))
5554adantl 481 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑦𝑤𝑦𝑥))
5653, 55imbi12d 333 . . . . . 6 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5736, 56albid 2077 . . . . 5 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5857ex 449 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → (∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
5911, 32, 58cbvexd 2266 . . 3 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∃𝑤𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
608, 59mpbii 222 . 2 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))
6160ex 449 1 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383  wal 1473  wex 1695  wnf 1699
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-pow 4769
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-cleq 2603  df-clel 2606  df-nfc 2740
This theorem is referenced by:  axpowndlem3  9300
  Copyright terms: Public domain W3C validator