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

Theorem nfeqf 2301
Description: A variable is effectively not free in an equality if it is not either of the involved variables. version of ax-c9 34175. (Contributed by Mario Carneiro, 6-Oct-2016.) Remove dependency on ax-11 2034. (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 2029 . . 3 𝑧 ¬ ∀𝑧 𝑧 = 𝑥
2 nfna1 2029 . . 3 𝑧 ¬ ∀𝑧 𝑧 = 𝑦
31, 2nfan 1828 . 2 𝑧(¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦)
4 equviniva 1960 . . 3 (𝑥 = 𝑦 → ∃𝑤(𝑥 = 𝑤𝑦 = 𝑤))
5 dveeq1 2300 . . . . . . . 8 (¬ ∀𝑧 𝑧 = 𝑥 → (𝑥 = 𝑤 → ∀𝑧 𝑥 = 𝑤))
65imp 445 . . . . . . 7 ((¬ ∀𝑧 𝑧 = 𝑥𝑥 = 𝑤) → ∀𝑧 𝑥 = 𝑤)
7 dveeq1 2300 . . . . . . . 8 (¬ ∀𝑧 𝑧 = 𝑦 → (𝑦 = 𝑤 → ∀𝑧 𝑦 = 𝑤))
87imp 445 . . . . . . 7 ((¬ ∀𝑧 𝑧 = 𝑦𝑦 = 𝑤) → ∀𝑧 𝑦 = 𝑤)
9 equtr2 1954 . . . . . . . 8 ((𝑥 = 𝑤𝑦 = 𝑤) → 𝑥 = 𝑦)
109alanimi 1744 . . . . . . 7 ((∀𝑧 𝑥 = 𝑤 ∧ ∀𝑧 𝑦 = 𝑤) → ∀𝑧 𝑥 = 𝑦)
116, 8, 10syl2an 494 . . . . . 6 (((¬ ∀𝑧 𝑧 = 𝑥𝑥 = 𝑤) ∧ (¬ ∀𝑧 𝑧 = 𝑦𝑦 = 𝑤)) → ∀𝑧 𝑥 = 𝑦)
1211an4s 869 . . . . 5 (((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) ∧ (𝑥 = 𝑤𝑦 = 𝑤)) → ∀𝑧 𝑥 = 𝑦)
1312ex 450 . . . 4 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → ((𝑥 = 𝑤𝑦 = 𝑤) → ∀𝑧 𝑥 = 𝑦))
1413exlimdv 1861 . . 3 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → (∃𝑤(𝑥 = 𝑤𝑦 = 𝑤) → ∀𝑧 𝑥 = 𝑦))
154, 14syl5 34 . 2 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → (𝑥 = 𝑦 → ∀𝑧 𝑥 = 𝑦))
163, 15nf5d 2118 1 ((¬ ∀𝑧 𝑧 = 𝑥 ∧ ¬ ∀𝑧 𝑧 = 𝑦) → Ⅎ𝑧 𝑥 = 𝑦)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384  wal 1481  wex 1704  wnf 1708
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-10 2019  ax-12 2047  ax-13 2246
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710
This theorem is referenced by:  axc9  2302  dvelimf  2334  equvel  2347  2ax6elem  2449  wl-exeq  33321  wl-nfeqfb  33323  wl-equsb4  33338  wl-2sb6d  33341  wl-sbalnae  33345
  Copyright terms: Public domain W3C validator