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

Theorem axregndlem2 9304
Description: Lemma for the Axiom of Regularity with no distinct variable conditions. (Contributed by NM, 3-Jan-2002.) (Proof shortened by Mario Carneiro, 10-Dec-2016.)
Assertion
Ref Expression
axregndlem2 (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))
Distinct variable group:   𝑦,𝑧

Proof of Theorem axregndlem2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 axreg2 8381 . . . . . 6 (𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
21ax-gen 1713 . . . . 5 𝑤(𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
3 nfnae 2306 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
4 nfnae 2306 . . . . . . 7 𝑥 ¬ ∀𝑥 𝑥 = 𝑧
53, 4nfan 1816 . . . . . 6 𝑥(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
6 nfcvd 2752 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑤)
7 nfcvf 2774 . . . . . . . . 9 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑦)
87adantr 480 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑦)
96, 8nfeld 2759 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑤𝑦)
10 nfv 1830 . . . . . . . 8 𝑤(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
11 nfnae 2306 . . . . . . . . . . 11 𝑧 ¬ ∀𝑥 𝑥 = 𝑦
12 nfnae 2306 . . . . . . . . . . 11 𝑧 ¬ ∀𝑥 𝑥 = 𝑧
1311, 12nfan 1816 . . . . . . . . . 10 𝑧(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
14 nfcvf 2774 . . . . . . . . . . . . 13 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑧)
1514adantl 481 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑧)
1615, 6nfeld 2759 . . . . . . . . . . 11 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑧𝑤)
1715, 8nfeld 2759 . . . . . . . . . . . 12 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑧𝑦)
1817nfnd 1769 . . . . . . . . . . 11 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 ¬ 𝑧𝑦)
1916, 18nfimd 1812 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑧𝑤 → ¬ 𝑧𝑦))
2013, 19nfald 2151 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑧(𝑧𝑤 → ¬ 𝑧𝑦))
219, 20nfand 1814 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
2210, 21nfexd 2153 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)))
239, 22nfimd 1812 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))))
24 simpr 476 . . . . . . . . 9 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → 𝑤 = 𝑥)
2524eleq1d 2672 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑤𝑦𝑥𝑦))
26 nfcvd 2752 . . . . . . . . . . . . . . 15 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑧𝑤)
27 nfcvf2 2775 . . . . . . . . . . . . . . . 16 (¬ ∀𝑥 𝑥 = 𝑧𝑧𝑥)
2827adantl 481 . . . . . . . . . . . . . . 15 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑧𝑥)
2926, 28nfeqd 2758 . . . . . . . . . . . . . 14 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑧 𝑤 = 𝑥)
3013, 29nfan1 2056 . . . . . . . . . . . . 13 𝑧((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥)
3124eleq2d 2673 . . . . . . . . . . . . . 14 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑧𝑤𝑧𝑥))
3231imbi1d 330 . . . . . . . . . . . . 13 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((𝑧𝑤 → ¬ 𝑧𝑦) ↔ (𝑧𝑥 → ¬ 𝑧𝑦)))
3330, 32albid 2077 . . . . . . . . . . . 12 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦) ↔ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))
3425, 33anbi12d 743 . . . . . . . . . . 11 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ (𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
3534ex 449 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ (𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
365, 21, 35cbvexd 2266 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
3736adantr 480 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦)) ↔ ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
3825, 37imbi12d 333 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))) ↔ (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
3938ex 449 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))) ↔ (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))))
405, 23, 39cbvald 2265 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∀𝑤(𝑤𝑦 → ∃𝑤(𝑤𝑦 ∧ ∀𝑧(𝑧𝑤 → ¬ 𝑧𝑦))) ↔ ∀𝑥(𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
412, 40mpbii 222 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ∀𝑥(𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
424119.21bi 2047 . . 3 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
4342ex 449 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))))
44 elirrv 8387 . . . . 5 ¬ 𝑥𝑥
45 elequ2 1991 . . . . 5 (𝑥 = 𝑦 → (𝑥𝑥𝑥𝑦))
4644, 45mtbii 315 . . . 4 (𝑥 = 𝑦 → ¬ 𝑥𝑦)
4746sps 2043 . . 3 (∀𝑥 𝑥 = 𝑦 → ¬ 𝑥𝑦)
4847pm2.21d 117 . 2 (∀𝑥 𝑥 = 𝑦 → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
49 axregndlem1 9303 . 2 (∀𝑥 𝑥 = 𝑧 → (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦))))
5043, 48, 49pm2.61ii 176 1 (𝑥𝑦 → ∃𝑥(𝑥𝑦 ∧ ∀𝑧(𝑧𝑥 → ¬ 𝑧𝑦)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383  wal 1473  wex 1695  wnfc 2738
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-sep 4709  ax-nul 4717  ax-pr 4833  ax-reg 8380
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-v 3175  df-dif 3543  df-un 3545  df-nul 3875  df-sn 4126  df-pr 4128
This theorem is referenced by:  axregnd  9305
  Copyright terms: Public domain W3C validator