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

Theorem eujustALT 2572
Description: Alternate proof of eujust 2571 illustrating the use of dvelim 2451. (Contributed by NM, 11-Mar-2010.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
eujustALT (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧))
Distinct variable groups:   𝑥,𝑦   𝑥,𝑧   𝜑,𝑦   𝜑,𝑧
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem eujustALT
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 equequ2 2030 . . . . . 6 (𝑦 = 𝑧 → (𝑥 = 𝑦𝑥 = 𝑧))
21bibi2d 342 . . . . 5 (𝑦 = 𝑧 → ((𝜑𝑥 = 𝑦) ↔ (𝜑𝑥 = 𝑧)))
32albidv 1924 . . . 4 (𝑦 = 𝑧 → (∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑥(𝜑𝑥 = 𝑧)))
43sps 2180 . . 3 (∀𝑦 𝑦 = 𝑧 → (∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑥(𝜑𝑥 = 𝑧)))
54drex1 2441 . 2 (∀𝑦 𝑦 = 𝑧 → (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧)))
6 hbnae 2432 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → ∀𝑦 ¬ ∀𝑦 𝑦 = 𝑧)
7 hbnae 2432 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → ∀𝑧 ¬ ∀𝑦 𝑦 = 𝑧)
86, 7alrimih 1827 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑧 → ∀𝑦𝑧 ¬ ∀𝑦 𝑦 = 𝑧)
9 ax-5 1914 . . . . . . . 8 (¬ ∀𝑥(𝜑𝑥 = 𝑤) → ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑤))
10 equequ2 2030 . . . . . . . . . . 11 (𝑤 = 𝑦 → (𝑥 = 𝑤𝑥 = 𝑦))
1110bibi2d 342 . . . . . . . . . 10 (𝑤 = 𝑦 → ((𝜑𝑥 = 𝑤) ↔ (𝜑𝑥 = 𝑦)))
1211albidv 1924 . . . . . . . . 9 (𝑤 = 𝑦 → (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑥(𝜑𝑥 = 𝑦)))
1312notbid 317 . . . . . . . 8 (𝑤 = 𝑦 → (¬ ∀𝑥(𝜑𝑥 = 𝑤) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑦)))
149, 13dvelim 2451 . . . . . . 7 (¬ ∀𝑧 𝑧 = 𝑦 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) → ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑦)))
1514naecoms 2429 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) → ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑦)))
16 ax-5 1914 . . . . . . 7 (¬ ∀𝑥(𝜑𝑥 = 𝑤) → ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑤))
17 equequ2 2030 . . . . . . . . . 10 (𝑤 = 𝑧 → (𝑥 = 𝑤𝑥 = 𝑧))
1817bibi2d 342 . . . . . . . . 9 (𝑤 = 𝑧 → ((𝜑𝑥 = 𝑤) ↔ (𝜑𝑥 = 𝑧)))
1918albidv 1924 . . . . . . . 8 (𝑤 = 𝑧 → (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑥(𝜑𝑥 = 𝑧)))
2019notbid 317 . . . . . . 7 (𝑤 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑤) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
2116, 20dvelim 2451 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
223notbid 317 . . . . . . 7 (𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
2322a1i 11 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑧))))
2415, 21, 23cbv2h 2406 . . . . 5 (∀𝑦𝑧 ¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
258, 24syl 17 . . . 4 (¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
2625notbid 317 . . 3 (¬ ∀𝑦 𝑦 = 𝑧 → (¬ ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
27 df-ex 1784 . . 3 (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦))
28 df-ex 1784 . . 3 (∃𝑧𝑥(𝜑𝑥 = 𝑧) ↔ ¬ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧))
2926, 27, 283bitr4g 313 . 2 (¬ ∀𝑦 𝑦 = 𝑧 → (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧)))
305, 29pm2.61i 182 1 (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wal 1537  wex 1783
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-10 2139  ax-11 2156  ax-12 2173  ax-13 2372
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator