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

Theorem axregndlem2 10343
Description: Lemma for the Axiom of Regularity with no distinct variable conditions. Usage of this theorem is discouraged because it depends on ax-13 2373. (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 9313 . . . . . 6 (𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
21ax-gen 1801 . . . . 5 𝑤(𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
3 nfnae 2435 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
4 nfnae 2435 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑧
53, 4nfan 1905 . . . . . 6 𝑥(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
6 nfcvd 2909 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑤)
7 nfcvf 2937 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑦)
87adantr 480 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑦)
96, 8nfeld 2919 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑤𝑦)
10 nfv 1920 . . . . . . . 8 𝑤(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
11 nfnae 2435 . . . . . . . . . . 11 𝑧 ¬ ∀𝑥 𝑥 = 𝑦
12 nfnae 2435 . . . . . . . . . . 11 𝑧 ¬ ∀𝑥 𝑥 = 𝑧
1311, 12nfan 1905 . . . . . . . . . 10 𝑧(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
14 nfcvf 2937 . . . . . . . . . . . . 13 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑧)
1514adantl 481 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑧)
1615, 6nfeld 2919 . . . . . . . . . . 11 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑧𝑤)
1715, 8nfeld 2919 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑧𝑦)
1817nfnd 1864 . . . . . . . . . . 11 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 ¬ 𝑧𝑦)
1916, 18nfimd 1900 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑧𝑤 → ¬ 𝑧𝑦))
2013, 19nfald 2325 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑧(𝑧𝑤 → ¬ 𝑧𝑦))
219, 20nfand 1903 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
2210, 21nfexd 2326 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
239, 22nfimd 1900 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))))
24 simpr 484 . . . . . . . . 9 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → 𝑤 = 𝑥)
2524eleq1d 2824 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑤𝑦𝑥𝑦))
26 nfcvd 2909 . . . . . . . . . . . . . . 15 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑧𝑤)
27 nfcvf2 2938 . . . . . . . . . . . . . . . 16 (¬ ∀𝑥 𝑥 = 𝑧𝑧𝑥)
2827adantl 481 . . . . . . . . . . . . . . 15 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑧𝑥)
2926, 28nfeqd 2918 . . . . . . . . . . . . . 14 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑧 𝑤 = 𝑥)
3013, 29nfan1 2196 . . . . . . . . . . . . 13 𝑧((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥)
3124eleq2d 2825 . . . . . . . . . . . . . 14 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑧𝑤𝑧𝑥))
3231imbi1d 341 . . . . . . . . . . . . 13 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((𝑧𝑤 → ¬ 𝑧𝑦) ↔ (𝑧𝑥 → ¬ 𝑧𝑦)))
3330, 32albid 2218 . . . . . . . . . . . 12 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦) ↔ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))
3425, 33anbi12d 630 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ (𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
3534ex 412 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ (𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
365, 21, 35cbvexd 2409 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
3736adantr 480 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
3825, 37imbi12d 344 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))) ↔ (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
3938ex 412 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))) ↔ (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))))
405, 23, 39cbvald 2408 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∀𝑤(𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))) ↔ ∀𝑥(𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
412, 40mpbii 232 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ∀𝑥(𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
424119.21bi 2185 . . 3 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
4342ex 412 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
44 elirrv 9316 . . . . 5 ¬ 𝑥𝑥
45 elequ2 2124 . . . . 5 (𝑥 = 𝑦 → (𝑥𝑥𝑥𝑦))
4644, 45mtbii 325 . . . 4 (𝑥 = 𝑦 → ¬ 𝑥𝑦)
4746sps 2181 . . 3 (∀𝑥 𝑥 = 𝑦 → ¬ 𝑥𝑦)
4847pm2.21d 121 . 2 (∀𝑥 𝑥 = 𝑦 → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
49 axregndlem1 10342 . 2 (∀𝑥 𝑥 = 𝑧 → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
5043, 48, 49pm2.61ii 183 1 (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1539  wex 1785  wnfc 2888
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-13 2373  ax-ext 2710  ax-sep 5226  ax-nul 5233  ax-pr 5355  ax-reg 9312
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ral 3070  df-rex 3071  df-v 3432  df-dif 3894  df-un 3896  df-nul 4262  df-sn 4567  df-pr 4569
This theorem is referenced by:  axregnd  10344
  Copyright terms: Public domain W3C validator