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

Theorem axregndlem2 10019
Description: Lemma for the Axiom of Regularity with no distinct variable conditions. Usage of this theorem is discouraged because it depends on ax-13 2386. (Contributed by NM, 3-Jan-2002.) (Proof shortened by Mario Carneiro, 10-Dec-2016.) (New usage is discouraged.)
Assertion
Ref Expression
axregndlem2 (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))
Distinct variable group:   𝑦,𝑧

Proof of Theorem axregndlem2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 axreg2 9051 . . . . . 6 (𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
21ax-gen 1792 . . . . 5 𝑤(𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
3 nfnae 2452 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
4 nfnae 2452 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑧
53, 4nfan 1896 . . . . . 6 𝑥(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
6 nfcvd 2978 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑤)
7 nfcvf 3007 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑦)
87adantr 483 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑦)
96, 8nfeld 2989 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑤𝑦)
10 nfv 1911 . . . . . . . 8 𝑤(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
11 nfnae 2452 . . . . . . . . . . 11 𝑧 ¬ ∀𝑥 𝑥 = 𝑦
12 nfnae 2452 . . . . . . . . . . 11 𝑧 ¬ ∀𝑥 𝑥 = 𝑧
1311, 12nfan 1896 . . . . . . . . . 10 𝑧(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
14 nfcvf 3007 . . . . . . . . . . . . 13 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑧)
1514adantl 484 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑧)
1615, 6nfeld 2989 . . . . . . . . . . 11 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑧𝑤)
1715, 8nfeld 2989 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑧𝑦)
1817nfnd 1854 . . . . . . . . . . 11 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 ¬ 𝑧𝑦)
1916, 18nfimd 1891 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑧𝑤 → ¬ 𝑧𝑦))
2013, 19nfald 2343 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑧(𝑧𝑤 → ¬ 𝑧𝑦))
219, 20nfand 1894 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
2210, 21nfexd 2344 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
239, 22nfimd 1891 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))))
24 simpr 487 . . . . . . . . 9 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → 𝑤 = 𝑥)
2524eleq1d 2897 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑤𝑦𝑥𝑦))
26 nfcvd 2978 . . . . . . . . . . . . . . 15 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑧𝑤)
27 nfcvf2 3008 . . . . . . . . . . . . . . . 16 (¬ ∀𝑥 𝑥 = 𝑧𝑧𝑥)
2827adantl 484 . . . . . . . . . . . . . . 15 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑧𝑥)
2926, 28nfeqd 2988 . . . . . . . . . . . . . 14 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑧 𝑤 = 𝑥)
3013, 29nfan1 2195 . . . . . . . . . . . . 13 𝑧((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥)
3124eleq2d 2898 . . . . . . . . . . . . . 14 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑧𝑤𝑧𝑥))
3231imbi1d 344 . . . . . . . . . . . . 13 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((𝑧𝑤 → ¬ 𝑧𝑦) ↔ (𝑧𝑥 → ¬ 𝑧𝑦)))
3330, 32albid 2219 . . . . . . . . . . . 12 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦) ↔ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))
3425, 33anbi12d 632 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ (𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
3534ex 415 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ (𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
365, 21, 35cbvexd 2425 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
3736adantr 483 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
3825, 37imbi12d 347 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))) ↔ (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
3938ex 415 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))) ↔ (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))))
405, 23, 39cbvald 2424 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∀𝑤(𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))) ↔ ∀𝑥(𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
412, 40mpbii 235 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ∀𝑥(𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
424119.21bi 2183 . . 3 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
4342ex 415 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
44 elirrv 9054 . . . . 5 ¬ 𝑥𝑥
45 elequ2 2125 . . . . 5 (𝑥 = 𝑦 → (𝑥𝑥𝑥𝑦))
4644, 45mtbii 328 . . . 4 (𝑥 = 𝑦 → ¬ 𝑥𝑦)
4746sps 2179 . . 3 (∀𝑥 𝑥 = 𝑦 → ¬ 𝑥𝑦)
4847pm2.21d 121 . 2 (∀𝑥 𝑥 = 𝑦 → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
49 axregndlem1 10018 . 2 (∀𝑥 𝑥 = 𝑧 → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
5043, 48, 49pm2.61ii 185 1 (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wal 1531  wex 1776  wnfc 2961
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-sep 5196  ax-nul 5203  ax-pr 5322  ax-reg 9050
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-v 3497  df-dif 3939  df-un 3941  df-nul 4292  df-sn 4562  df-pr 4564
This theorem is referenced by:  axregnd  10020
  Copyright terms: Public domain W3C validator