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

Theorem nfeqf 2289
Description: A variable is effectively not free in an equality if it is not either of the involved variables. version of ax-c9 33193. (Contributed by Mario Carneiro, 6-Oct-2016.) Remove dependency on ax-11 2021. (Revised by Wolf Lammen, 6-Sep-2018.)
Assertion
Ref Expression
nfeqf ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → Ⅎ𝑧 𝑥 = 𝑦)

Proof of Theorem nfeqf
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 nfna1 2016 . . 3 𝑧 ¬ ∀𝑧 𝑧 = 𝑥
2 nfna1 2016 . . 3 𝑧 ¬ ∀𝑧 𝑧 = 𝑦
31, 2nfan 1816 . 2 𝑧(¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦)
4 equviniva 1947 . . 3 (𝑥 = 𝑦 → ∃𝑤(𝑥 = 𝑤𝑦 = 𝑤))
5 dveeq1 2288 . . . . . . . 8 (¬ ∀𝑧 𝑧 = 𝑥 → (𝑥 = 𝑤 → ∀𝑧 𝑥 = 𝑤))
65imp 444 . . . . . . 7 ((¬ ∀𝑧 𝑧 = 𝑥𝑥 = 𝑤) → ∀𝑧 𝑥 = 𝑤)
7 dveeq1 2288 . . . . . . . 8 (¬ ∀𝑧 𝑧 = 𝑦 → (𝑦 = 𝑤 → ∀𝑧 𝑦 = 𝑤))
87imp 444 . . . . . . 7 ((¬ ∀𝑧 𝑧 = 𝑦𝑦 = 𝑤) → ∀𝑧 𝑦 = 𝑤)
9 equtr2 1941 . . . . . . . 8 ((𝑥 = 𝑤𝑦 = 𝑤) → 𝑥 = 𝑦)
109alanimi 1734 . . . . . . 7 ((∀𝑧 𝑥 = 𝑤 ∧ ∀𝑧 𝑦 = 𝑤) → ∀𝑧 𝑥 = 𝑦)
116, 8, 10syl2an 493 . . . . . 6 (((¬ ∀𝑧 𝑧 = 𝑥𝑥 = 𝑤) ∧ (¬ ∀𝑧 𝑧 = 𝑦𝑦 = 𝑤)) → ∀𝑧 𝑥 = 𝑦)
1211an4s 865 . . . . 5 (((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) ∧ (𝑥 = 𝑤𝑦 = 𝑤)) → ∀𝑧 𝑥 = 𝑦)
1312ex 449 . . . 4 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → ((𝑥 = 𝑤𝑦 = 𝑤) → ∀𝑧 𝑥 = 𝑦))
1413exlimdv 1848 . . 3 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → (∃𝑤(𝑥 = 𝑤𝑦 = 𝑤) → ∀𝑧 𝑥 = 𝑦))
154, 14syl5 33 . 2 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → (𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))
163, 15nf5d 2104 1 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → Ⅎ𝑧 𝑥 = 𝑦)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383  wal 1473  wex 1695  wnf 1699
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-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:  axc9  2290  dvelimf  2322  equvel  2335  2ax6elem  2437  wl-exeq  32500  wl-nfeqfb  32502  wl-equsb4  32517  wl-2sb6d  32520  wl-sbalnae  32524
  Copyright terms: Public domain W3C validator