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

Theorem axpowndlem2 10014
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 2386. (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 5260 . . . 4 𝑤𝑦(∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤)
2 19.8a 2175 . . . . . . . 8 (𝑤𝑦 → ∃𝑧 𝑤𝑦)
3 sp 2177 . . . . . . . 8 (∀𝑦 𝑤𝑧𝑤𝑧)
42, 3imim12i 62 . . . . . . 7 ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → (𝑤𝑦𝑤𝑧))
54alimi 1808 . . . . . 6 (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → ∀𝑤(𝑤𝑦𝑤𝑧))
65imim1i 63 . . . . 5 ((∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
76alimi 1808 . . . 4 (∀𝑦(∀𝑤(𝑤𝑦𝑤𝑧) → 𝑦𝑤) → ∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
81, 7eximii 1833 . . 3 𝑤𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤)
9 nfnae 2452 . . . . 5 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
10 nfnae 2452 . . . . 5 𝑥 ¬ ∀𝑥 𝑥 = 𝑧
119, 10nfan 1896 . . . 4 𝑥(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
12 nfnae 2452 . . . . . 6 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
13 nfnae 2452 . . . . . 6 𝑦 ¬ ∀𝑥 𝑥 = 𝑧
1412, 13nfan 1896 . . . . 5 𝑦(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
15 nfv 1911 . . . . . . 7 𝑤(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
16 nfnae 2452 . . . . . . . . . 10 𝑧 ¬ ∀𝑥 𝑥 = 𝑦
17 nfcvd 2978 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑤)
18 nfcvf 3007 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑦)
1917, 18nfeld 2989 . . . . . . . . . 10 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑤𝑦)
2016, 19nfexd 2344 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥𝑧 𝑤𝑦)
2120adantr 483 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑧 𝑤𝑦)
22 nfcvd 2978 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑤)
23 nfcvf 3007 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑧)
2422, 23nfeld 2989 . . . . . . . . . 10 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑥 𝑤𝑧)
2513, 24nfald 2343 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑥𝑦 𝑤𝑧)
2625adantl 484 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑦 𝑤𝑧)
2721, 26nfimd 1891 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧))
2815, 27nfald 2343 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧))
2918, 17nfeld 2989 . . . . . . 7 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥 𝑦𝑤)
3029adantr 483 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑦𝑤)
3128, 30nfimd 1891 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
3214, 31nfald 2343 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤))
33 nfeqf2 2391 . . . . . . . . 9 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦 𝑤 = 𝑥)
3433naecoms 2447 . . . . . . . 8 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦 𝑤 = 𝑥)
3534adantr 483 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑦 𝑤 = 𝑥)
3614, 35nfan1 2195 . . . . . 6 𝑦((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥)
37 nfnae 2452 . . . . . . . . . . . . . 14 𝑧 ¬ ∀𝑥 𝑥 = 𝑧
38 nfeqf2 2391 . . . . . . . . . . . . . . 15 (¬ ∀𝑧 𝑧 = 𝑥 → Ⅎ𝑧 𝑤 = 𝑥)
3938naecoms 2447 . . . . . . . . . . . . . 14 (¬ ∀𝑥 𝑥 = 𝑧 → Ⅎ𝑧 𝑤 = 𝑥)
4037, 39nfan1 2195 . . . . . . . . . . . . 13 𝑧(¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥)
41 elequ1 2117 . . . . . . . . . . . . . 14 (𝑤 = 𝑥 → (𝑤𝑦𝑥𝑦))
4241adantl 484 . . . . . . . . . . . . 13 ((¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥) → (𝑤𝑦𝑥𝑦))
4340, 42exbid 2220 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑧𝑤 = 𝑥) → (∃𝑧 𝑤𝑦 ↔ ∃𝑧 𝑥𝑦))
4443adantll 712 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∃𝑧 𝑤𝑦 ↔ ∃𝑧 𝑥𝑦))
4512, 34nfan1 2195 . . . . . . . . . . . . 13 𝑦(¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥)
46 elequ1 2117 . . . . . . . . . . . . . 14 (𝑤 = 𝑥 → (𝑤𝑧𝑥𝑧))
4746adantl 484 . . . . . . . . . . . . 13 ((¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥) → (𝑤𝑧𝑥𝑧))
4845, 47albid 2219 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦𝑤 = 𝑥) → (∀𝑦 𝑤𝑧 ↔ ∀𝑦 𝑥𝑧))
4948adantlr 713 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑦 𝑤𝑧 ↔ ∀𝑦 𝑥𝑧))
5044, 49imbi12d 347 . . . . . . . . . 10 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5150ex 415 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ (∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧))))
5211, 27, 51cbvald 2424 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
5352adantr 483 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) ↔ ∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧)))
54 elequ2 2125 . . . . . . . 8 (𝑤 = 𝑥 → (𝑦𝑤𝑦𝑥))
5554adantl 484 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑦𝑤𝑦𝑥))
5653, 55imbi12d 347 . . . . . 6 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ (∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5736, 56albid 2219 . . . . 5 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
5857ex 415 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → (∀𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))))
5911, 32, 58cbvexd 2425 . . 3 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∃𝑤𝑦(∀𝑤(∃𝑧 𝑤𝑦 → ∀𝑦 𝑤𝑧) → 𝑦𝑤) ↔ ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
608, 59mpbii 235 . 2 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥))
6160ex 415 1 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → ∃𝑥𝑦(∀𝑥(∃𝑧 𝑥𝑦 → ∀𝑦 𝑥𝑧) → 𝑦𝑥)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wal 1531  wex 1776  wnf 1780
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-13 2386  ax-ext 2793  ax-pow 5259
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-cleq 2814  df-clel 2893  df-nfc 2963
This theorem is referenced by:  axpowndlem3  10015
  Copyright terms: Public domain W3C validator