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

Theorem equvel 2456
Description: A variable elimination law for equality with no distinct variable requirements. Compare equvini 2455. Usage of this theorem is discouraged because it depends on ax-13 2372. Use equvelv 2035 when possible. (Contributed by NM, 1-Mar-2013.) (Proof shortened by Mario Carneiro, 17-Oct-2016.) (Proof shortened by Wolf Lammen, 15-Jun-2019.) (New usage is discouraged.)
Assertion
Ref Expression
equvel (∀𝑧(𝑧 = 𝑥𝑧 = 𝑦) → 𝑥 = 𝑦)

Proof of Theorem equvel
StepHypRef Expression
1 albi 1822 . 2 (∀𝑧(𝑧 = 𝑥𝑧 = 𝑦) → (∀𝑧 𝑧 = 𝑥 ↔ ∀𝑧 𝑧 = 𝑦))
2 ax6e 2383 . . . 4 𝑧 𝑧 = 𝑦
3 biimpr 219 . . . . . 6 ((𝑧 = 𝑥𝑧 = 𝑦) → (𝑧 = 𝑦𝑧 = 𝑥))
4 ax7 2020 . . . . . 6 (𝑧 = 𝑥 → (𝑧 = 𝑦𝑥 = 𝑦))
53, 4syli 39 . . . . 5 ((𝑧 = 𝑥𝑧 = 𝑦) → (𝑧 = 𝑦𝑥 = 𝑦))
65com12 32 . . . 4 (𝑧 = 𝑦 → ((𝑧 = 𝑥𝑧 = 𝑦) → 𝑥 = 𝑦))
72, 6eximii 1840 . . 3 𝑧((𝑧 = 𝑥𝑧 = 𝑦) → 𝑥 = 𝑦)
8719.35i 1882 . 2 (∀𝑧(𝑧 = 𝑥𝑧 = 𝑦) → ∃𝑧 𝑥 = 𝑦)
94spsd 2182 . . . . 5 (𝑧 = 𝑥 → (∀𝑧 𝑧 = 𝑦𝑥 = 𝑦))
109sps 2180 . . . 4 (∀𝑧 𝑧 = 𝑥 → (∀𝑧 𝑧 = 𝑦𝑥 = 𝑦))
1110a1dd 50 . . 3 (∀𝑧 𝑧 = 𝑥 → (∀𝑧 𝑧 = 𝑦 → (∃𝑧 𝑥 = 𝑦𝑥 = 𝑦)))
12 nfeqf 2381 . . . . 5 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → Ⅎ𝑧 𝑥 = 𝑦)
131219.9d 2199 . . . 4 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → (∃𝑧 𝑥 = 𝑦𝑥 = 𝑦))
1413ex 412 . . 3 (¬ ∀𝑧 𝑧 = 𝑥 → (¬ ∀𝑧 𝑧 = 𝑦 → (∃𝑧 𝑥 = 𝑦𝑥 = 𝑦)))
1511, 14bija 381 . 2 ((∀𝑧 𝑧 = 𝑥 ↔ ∀𝑧 𝑧 = 𝑦) → (∃𝑧 𝑥 = 𝑦𝑥 = 𝑦))
161, 8, 15sylc 65 1 (∀𝑧(𝑧 = 𝑥𝑧 = 𝑦) → 𝑥 = 𝑦)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  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-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