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

Theorem eujustALT 2653
Description: Alternate proof of eujust 2652 illustrating the use of dvelim 2469. (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 2029 . . . . . 6 (𝑦 = 𝑧 → (𝑥 = 𝑦𝑥 = 𝑧))
21bibi2d 345 . . . . 5 (𝑦 = 𝑧 → ((𝜑𝑥 = 𝑦) ↔ (𝜑𝑥 = 𝑧)))
32albidv 1917 . . . 4 (𝑦 = 𝑧 → (∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑥(𝜑𝑥 = 𝑧)))
43sps 2179 . . 3 (∀𝑦 𝑦 = 𝑧 → (∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑥(𝜑𝑥 = 𝑧)))
54drex1 2459 . 2 (∀𝑦 𝑦 = 𝑧 → (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧)))
6 hbnae 2450 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → ∀𝑦 ¬ ∀𝑦 𝑦 = 𝑧)
7 hbnae 2450 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → ∀𝑧 ¬ ∀𝑦 𝑦 = 𝑧)
86, 7alrimih 1820 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑧 → ∀𝑦𝑧 ¬ ∀𝑦 𝑦 = 𝑧)
9 ax-5 1907 . . . . . . . 8 (¬ ∀𝑥(𝜑𝑥 = 𝑤) → ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑤))
10 equequ2 2029 . . . . . . . . . . 11 (𝑤 = 𝑦 → (𝑥 = 𝑤𝑥 = 𝑦))
1110bibi2d 345 . . . . . . . . . 10 (𝑤 = 𝑦 → ((𝜑𝑥 = 𝑤) ↔ (𝜑𝑥 = 𝑦)))
1211albidv 1917 . . . . . . . . 9 (𝑤 = 𝑦 → (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑥(𝜑𝑥 = 𝑦)))
1312notbid 320 . . . . . . . 8 (𝑤 = 𝑦 → (¬ ∀𝑥(𝜑𝑥 = 𝑤) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑦)))
149, 13dvelim 2469 . . . . . . 7 (¬ ∀𝑧 𝑧 = 𝑦 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) → ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑦)))
1514naecoms 2447 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) → ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑦)))
16 ax-5 1907 . . . . . . 7 (¬ ∀𝑥(𝜑𝑥 = 𝑤) → ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑤))
17 equequ2 2029 . . . . . . . . . 10 (𝑤 = 𝑧 → (𝑥 = 𝑤𝑥 = 𝑧))
1817bibi2d 345 . . . . . . . . 9 (𝑤 = 𝑧 → ((𝜑𝑥 = 𝑤) ↔ (𝜑𝑥 = 𝑧)))
1918albidv 1917 . . . . . . . 8 (𝑤 = 𝑧 → (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑥(𝜑𝑥 = 𝑧)))
2019notbid 320 . . . . . . 7 (𝑤 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑤) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
2116, 20dvelim 2469 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
223notbid 320 . . . . . . 7 (𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
2322a1i 11 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑧))))
2415, 21, 23cbv2h 2422 . . . . 5 (∀𝑦𝑧 ¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
258, 24syl 17 . . . 4 (¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
2625notbid 320 . . 3 (¬ ∀𝑦 𝑦 = 𝑧 → (¬ ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
27 df-ex 1777 . . 3 (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦))
28 df-ex 1777 . . 3 (∃𝑧𝑥(𝜑𝑥 = 𝑧) ↔ ¬ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧))
2926, 27, 283bitr4g 316 . 2 (¬ ∀𝑦 𝑦 = 𝑧 → (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧)))
305, 29pm2.61i 184 1 (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wal 1531  wex 1776
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-10 2141  ax-11 2156  ax-12 2172  ax-13 2386
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator