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

Theorem exneq 5435
Description: Given any set (the "𝑦 " in the statement), there exists a set not equal to it.

The same statement without disjoint variable condition is false, since we do not have 𝑥¬ 𝑥 = 𝑥. This theorem is proved directly from set theory axioms (no class definitions) and does not depend on ax-ext 2704, ax-sep 5299, or ax-pow 5363 nor auxiliary logical axiom schemes ax-10 2138 to ax-13 2372. See dtruALT 5386 for a shorter proof using more axioms, and dtruALT2 5368 for a proof using ax-pow 5363 instead of ax-pr 5427. (Contributed by NM, 7-Nov-2006.) Avoid ax-13 2372. (Revised by BJ, 31-May-2019.) Avoid ax-8 2109. (Revised by SN, 21-Sep-2023.) Avoid ax-12 2172. (Revised by Rohan Ridenour, 9-Oct-2024.) Use ax-pr 5427 instead of ax-pow 5363. (Revised by BTernaryTau, 3-Dec-2024.) Extract this result from the proof of dtru 5436. (Revised by BJ, 2-Jan-2025.)

Assertion
Ref Expression
exneq 𝑥 ¬ 𝑥 = 𝑦
Distinct variable group:   𝑥,𝑦

Proof of Theorem exneq
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 exexneq 5434 . 2 𝑧𝑤 ¬ 𝑧 = 𝑤
2 equeuclr 2027 . . . . . 6 (𝑤 = 𝑦 → (𝑧 = 𝑦𝑧 = 𝑤))
32con3d 152 . . . . 5 (𝑤 = 𝑦 → (¬ 𝑧 = 𝑤 → ¬ 𝑧 = 𝑦))
4 ax7v1 2014 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝑦𝑧 = 𝑦))
54con3d 152 . . . . . 6 (𝑥 = 𝑧 → (¬ 𝑧 = 𝑦 → ¬ 𝑥 = 𝑦))
65spimevw 1999 . . . . 5 𝑧 = 𝑦 → ∃𝑥 ¬ 𝑥 = 𝑦)
73, 6syl6 35 . . . 4 (𝑤 = 𝑦 → (¬ 𝑧 = 𝑤 → ∃𝑥 ¬ 𝑥 = 𝑦))
8 ax7v1 2014 . . . . . . 7 (𝑥 = 𝑤 → (𝑥 = 𝑦𝑤 = 𝑦))
98con3d 152 . . . . . 6 (𝑥 = 𝑤 → (¬ 𝑤 = 𝑦 → ¬ 𝑥 = 𝑦))
109spimevw 1999 . . . . 5 𝑤 = 𝑦 → ∃𝑥 ¬ 𝑥 = 𝑦)
1110a1d 25 . . . 4 𝑤 = 𝑦 → (¬ 𝑧 = 𝑤 → ∃𝑥 ¬ 𝑥 = 𝑦))
127, 11pm2.61i 182 . . 3 𝑧 = 𝑤 → ∃𝑥 ¬ 𝑥 = 𝑦)
1312exlimivv 1936 . 2 (∃𝑧𝑤 ¬ 𝑧 = 𝑤 → ∃𝑥 ¬ 𝑥 = 𝑦)
141, 13ax-mp 5 1 𝑥 ¬ 𝑥 = 𝑦
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wex 1782
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-9 2117  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-ex 1783
This theorem is referenced by:  dtru  5436
  Copyright terms: Public domain W3C validator