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

Theorem eujustALT 2461
Description: Alternate proof of eujust 2460 illustrating the use of dvelim 2325. (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 1940 . . . . . 6 (𝑦 = 𝑧 → (𝑥 = 𝑦𝑥 = 𝑧))
21bibi2d 331 . . . . 5 (𝑦 = 𝑧 → ((𝜑𝑥 = 𝑦) ↔ (𝜑𝑥 = 𝑧)))
32albidv 1836 . . . 4 (𝑦 = 𝑧 → (∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑥(𝜑𝑥 = 𝑧)))
43sps 2043 . . 3 (∀𝑦 𝑦 = 𝑧 → (∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑥(𝜑𝑥 = 𝑧)))
54drex1 2315 . 2 (∀𝑦 𝑦 = 𝑧 → (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧)))
6 hbnae 2305 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → ∀𝑦 ¬ ∀𝑦 𝑦 = 𝑧)
7 hbnae 2305 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → ∀𝑧 ¬ ∀𝑦 𝑦 = 𝑧)
86, 7alrimih 1741 . . . . 5 (¬ ∀𝑦 𝑦 = 𝑧 → ∀𝑦𝑧 ¬ ∀𝑦 𝑦 = 𝑧)
9 ax-5 1827 . . . . . . . 8 (¬ ∀𝑥(𝜑𝑥 = 𝑤) → ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑤))
10 equequ2 1940 . . . . . . . . . . 11 (𝑤 = 𝑦 → (𝑥 = 𝑤𝑥 = 𝑦))
1110bibi2d 331 . . . . . . . . . 10 (𝑤 = 𝑦 → ((𝜑𝑥 = 𝑤) ↔ (𝜑𝑥 = 𝑦)))
1211albidv 1836 . . . . . . . . 9 (𝑤 = 𝑦 → (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑥(𝜑𝑥 = 𝑦)))
1312notbid 307 . . . . . . . 8 (𝑤 = 𝑦 → (¬ ∀𝑥(𝜑𝑥 = 𝑤) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑦)))
149, 13dvelim 2325 . . . . . . 7 (¬ ∀𝑧 𝑧 = 𝑦 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) → ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑦)))
1514naecoms 2301 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) → ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑦)))
16 ax-5 1827 . . . . . . 7 (¬ ∀𝑥(𝜑𝑥 = 𝑤) → ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑤))
17 equequ2 1940 . . . . . . . . . 10 (𝑤 = 𝑧 → (𝑥 = 𝑤𝑥 = 𝑧))
1817bibi2d 331 . . . . . . . . 9 (𝑤 = 𝑧 → ((𝜑𝑥 = 𝑤) ↔ (𝜑𝑥 = 𝑧)))
1918albidv 1836 . . . . . . . 8 (𝑤 = 𝑧 → (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑥(𝜑𝑥 = 𝑧)))
2019notbid 307 . . . . . . 7 (𝑤 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑤) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
2116, 20dvelim 2325 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
223notbid 307 . . . . . . 7 (𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
2322a1i 11 . . . . . 6 (¬ ∀𝑦 𝑦 = 𝑧 → (𝑦 = 𝑧 → (¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑥(𝜑𝑥 = 𝑧))))
2415, 21, 23cbv2h 2257 . . . . 5 (∀𝑦𝑧 ¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
258, 24syl 17 . . . 4 (¬ ∀𝑦 𝑦 = 𝑧 → (∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
2625notbid 307 . . 3 (¬ ∀𝑦 𝑦 = 𝑧 → (¬ ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧)))
27 df-ex 1696 . . 3 (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ¬ ∀𝑦 ¬ ∀𝑥(𝜑𝑥 = 𝑦))
28 df-ex 1696 . . 3 (∃𝑧𝑥(𝜑𝑥 = 𝑧) ↔ ¬ ∀𝑧 ¬ ∀𝑥(𝜑𝑥 = 𝑧))
2926, 27, 283bitr4g 302 . 2 (¬ ∀𝑦 𝑦 = 𝑧 → (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧)))
305, 29pm2.61i 175 1 (∃𝑦𝑥(𝜑𝑥 = 𝑦) ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wal 1473  wex 1695
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-10 2006  ax-11 2021  ax-12 2034  ax-13 2234
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator