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

Theorem axunnd 9297
Description: A version of the Axiom of Union with no distinct variable conditions. (Contributed by NM, 2-Jan-2002.)
Assertion
Ref Expression
axunnd 𝑥𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥)

Proof of Theorem axunnd
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 axunndlem1 9296 . . . 4 𝑤𝑦(∃𝑤(𝑦𝑤𝑤𝑧) → 𝑦𝑤)
2 nfnae 2306 . . . . . 6 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
3 nfnae 2306 . . . . . 6 𝑥 ¬ ∀𝑥 𝑥 = 𝑧
42, 3nfan 1816 . . . . 5 𝑥(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
5 nfnae 2306 . . . . . . 7 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
6 nfnae 2306 . . . . . . 7 𝑦 ¬ ∀𝑥 𝑥 = 𝑧
75, 6nfan 1816 . . . . . 6 𝑦(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
8 nfv 1830 . . . . . . . 8 𝑤(¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧)
9 nfcvf 2774 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑦𝑥𝑦)
109adantr 480 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑦)
11 nfcvd 2752 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑤)
1210, 11nfeld 2759 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑦𝑤)
13 nfcvf 2774 . . . . . . . . . . 11 (¬ ∀𝑥 𝑥 = 𝑧𝑥𝑧)
1413adantl 481 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑥𝑧)
1511, 14nfeld 2759 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥 𝑤𝑧)
1612, 15nfand 1814 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(𝑦𝑤𝑤𝑧))
178, 16nfexd 2153 . . . . . . 7 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑤(𝑦𝑤𝑤𝑧))
1817, 12nfimd 1812 . . . . . 6 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥(∃𝑤(𝑦𝑤𝑤𝑧) → 𝑦𝑤))
197, 18nfald 2151 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑥𝑦(∃𝑤(𝑦𝑤𝑤𝑧) → 𝑦𝑤))
20 nfcvd 2752 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑦𝑤)
21 nfcvf2 2775 . . . . . . . . . 10 (¬ ∀𝑥 𝑥 = 𝑦𝑦𝑥)
2221adantr 480 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → 𝑦𝑥)
2320, 22nfeqd 2758 . . . . . . . 8 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → Ⅎ𝑦 𝑤 = 𝑥)
247, 23nfan1 2056 . . . . . . 7 𝑦((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥)
25 elequ2 1991 . . . . . . . . . . . 12 (𝑤 = 𝑥 → (𝑦𝑤𝑦𝑥))
26 elequ1 1984 . . . . . . . . . . . 12 (𝑤 = 𝑥 → (𝑤𝑧𝑥𝑧))
2725, 26anbi12d 743 . . . . . . . . . . 11 (𝑤 = 𝑥 → ((𝑦𝑤𝑤𝑧) ↔ (𝑦𝑥𝑥𝑧)))
2827a1i 11 . . . . . . . . . 10 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → ((𝑦𝑤𝑤𝑧) ↔ (𝑦𝑥𝑥𝑧))))
294, 16, 28cbvexd 2266 . . . . . . . . 9 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∃𝑤(𝑦𝑤𝑤𝑧) ↔ ∃𝑥(𝑦𝑥𝑥𝑧)))
3029adantr 480 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∃𝑤(𝑦𝑤𝑤𝑧) ↔ ∃𝑥(𝑦𝑥𝑥𝑧)))
3125adantl 481 . . . . . . . 8 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (𝑦𝑤𝑦𝑥))
3230, 31imbi12d 333 . . . . . . 7 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → ((∃𝑤(𝑦𝑤𝑤𝑧) → 𝑦𝑤) ↔ (∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥)))
3324, 32albid 2077 . . . . . 6 (((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) ∧ 𝑤 = 𝑥) → (∀𝑦(∃𝑤(𝑦𝑤𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥)))
3433ex 449 . . . . 5 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (𝑤 = 𝑥 → (∀𝑦(∃𝑤(𝑦𝑤𝑤𝑧) → 𝑦𝑤) ↔ ∀𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥))))
354, 19, 34cbvexd 2266 . . . 4 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → (∃𝑤𝑦(∃𝑤(𝑦𝑤𝑤𝑧) → 𝑦𝑤) ↔ ∃𝑥𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥)))
361, 35mpbii 222 . . 3 ((¬ ∀𝑥 𝑥 = 𝑦 ∧ ¬ ∀𝑥 𝑥 = 𝑧) → ∃𝑥𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥))
3736ex 449 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → (¬ ∀𝑥 𝑥 = 𝑧 → ∃𝑥𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥)))
38 nfae 2304 . . . 4 𝑦𝑥 𝑥 = 𝑦
39 nfae 2304 . . . . . 6 𝑥𝑥 𝑥 = 𝑦
40 elirrv 8387 . . . . . . . . 9 ¬ 𝑦𝑦
41 elequ2 1991 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑦𝑥𝑦𝑦))
4240, 41mtbiri 316 . . . . . . . 8 (𝑥 = 𝑦 → ¬ 𝑦𝑥)
4342intnanrd 954 . . . . . . 7 (𝑥 = 𝑦 → ¬ (𝑦𝑥𝑥𝑧))
4443sps 2043 . . . . . 6 (∀𝑥 𝑥 = 𝑦 → ¬ (𝑦𝑥𝑥𝑧))
4539, 44nexd 2076 . . . . 5 (∀𝑥 𝑥 = 𝑦 → ¬ ∃𝑥(𝑦𝑥𝑥𝑧))
4645pm2.21d 117 . . . 4 (∀𝑥 𝑥 = 𝑦 → (∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥))
4738, 46alrimi 2069 . . 3 (∀𝑥 𝑥 = 𝑦 → ∀𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥))
48 19.8a 2039 . . 3 (∀𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥) → ∃𝑥𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥))
4947, 48syl 17 . 2 (∀𝑥 𝑥 = 𝑦 → ∃𝑥𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥))
50 nfae 2304 . . . 4 𝑦𝑥 𝑥 = 𝑧
51 nfae 2304 . . . . . 6 𝑥𝑥 𝑥 = 𝑧
52 elirrv 8387 . . . . . . . . 9 ¬ 𝑧𝑧
53 elequ1 1984 . . . . . . . . 9 (𝑥 = 𝑧 → (𝑥𝑧𝑧𝑧))
5452, 53mtbiri 316 . . . . . . . 8 (𝑥 = 𝑧 → ¬ 𝑥𝑧)
5554intnand 953 . . . . . . 7 (𝑥 = 𝑧 → ¬ (𝑦𝑥𝑥𝑧))
5655sps 2043 . . . . . 6 (∀𝑥 𝑥 = 𝑧 → ¬ (𝑦𝑥𝑥𝑧))
5751, 56nexd 2076 . . . . 5 (∀𝑥 𝑥 = 𝑧 → ¬ ∃𝑥(𝑦𝑥𝑥𝑧))
5857pm2.21d 117 . . . 4 (∀𝑥 𝑥 = 𝑧 → (∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥))
5950, 58alrimi 2069 . . 3 (∀𝑥 𝑥 = 𝑧 → ∀𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥))
6059, 48syl 17 . 2 (∀𝑥 𝑥 = 𝑧 → ∃𝑥𝑦(∃𝑥(𝑦𝑥𝑥𝑧) → 𝑦𝑥))
6137, 49, 60pm2.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-un 6847  ax-reg 8380
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-br 4584  df-opab 4644  df-eprel 4949  df-fr 4997
This theorem is referenced by:  zfcndun  9316  axunprim  30834
  Copyright terms: Public domain W3C validator