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

Theorem equvel 2479
Description: A variable elimination law for equality with no distinct variable requirements. Compare equvini 2477. Usage of this theorem is discouraged because it depends on ax-13 2390. Use equvelv 2038 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 1819 . 2 (∀𝑧(𝑧 = 𝑥𝑧 = 𝑦) → (∀𝑧 𝑧 = 𝑥 ↔ ∀𝑧 𝑧 = 𝑦))
2 ax6e 2401 . . . 4 𝑧 𝑧 = 𝑦
3 biimpr 222 . . . . . 6 ((𝑧 = 𝑥𝑧 = 𝑦) → (𝑧 = 𝑦𝑧 = 𝑥))
4 ax7 2023 . . . . . 6 (𝑧 = 𝑥 → (𝑧 = 𝑦𝑥 = 𝑦))
53, 4syli 39 . . . . 5 ((𝑧 = 𝑥𝑧 = 𝑦) → (𝑧 = 𝑦𝑥 = 𝑦))
65com12 32 . . . 4 (𝑧 = 𝑦 → ((𝑧 = 𝑥𝑧 = 𝑦) → 𝑥 = 𝑦))
72, 6eximii 1837 . . 3 𝑧((𝑧 = 𝑥𝑧 = 𝑦) → 𝑥 = 𝑦)
8719.35i 1879 . 2 (∀𝑧(𝑧 = 𝑥𝑧 = 𝑦) → ∃𝑧 𝑥 = 𝑦)
94spsd 2186 . . . . 5 (𝑧 = 𝑥 → (∀𝑧 𝑧 = 𝑦𝑥 = 𝑦))
109sps 2184 . . . 4 (∀𝑧 𝑧 = 𝑥 → (∀𝑧 𝑧 = 𝑦𝑥 = 𝑦))
1110a1dd 50 . . 3 (∀𝑧 𝑧 = 𝑥 → (∀𝑧 𝑧 = 𝑦 → (∃𝑧 𝑥 = 𝑦𝑥 = 𝑦)))
12 nfeqf 2399 . . . . 5 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → Ⅎ𝑧 𝑥 = 𝑦)
131219.9d 2203 . . . 4 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → (∃𝑧 𝑥 = 𝑦𝑥 = 𝑦))
1413ex 415 . . 3 (¬ ∀𝑧 𝑧 = 𝑥 → (¬ ∀𝑧 𝑧 = 𝑦 → (∃𝑧 𝑥 = 𝑦𝑥 = 𝑦)))
1511, 14bija 384 . 2 ((∀𝑧 𝑧 = 𝑥 ↔ ∀𝑧 𝑧 = 𝑦) → (∃𝑧 𝑥 = 𝑦𝑥 = 𝑦))
161, 8, 15sylc 65 1 (∀𝑧(𝑧 = 𝑥𝑧 = 𝑦) → 𝑥 = 𝑦)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wal 1535  wex 1780
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-10 2145  ax-12 2177  ax-13 2390
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator