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

Theorem exneq 5375
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 2711, ax-sep 5218, or ax-pow 5294 nor auxiliary logical axiom schemes ax-10 2152 to ax-13 2380. See dtruALT 5317 for a shorter proof using more axioms, and dtruALT2 5299 for a proof using ax-pow 5294 instead of ax-pr 5362. (Contributed by NM, 7-Nov-2006.) Avoid ax-13 2380. (Revised by BJ, 31-May-2019.) Avoid ax-8 2121. (Revised by SN, 21-Sep-2023.) Avoid ax-12 2189. (Revised by Rohan Ridenour, 9-Oct-2024.) Use ax-pr 5362 instead of ax-pow 5294. (Revised by BTernaryTau, 3-Dec-2024.) Extract this result from the proof of dtru 5376. (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 5374 . 2 𝑧𝑤 ¬ 𝑧 = 𝑤
2 equeuclr 2030 . . . . . 6 (𝑤 = 𝑦 → (𝑧 = 𝑦𝑧 = 𝑤))
32con3d 152 . . . . 5 (𝑤 = 𝑦 → (¬ 𝑧 = 𝑤 → ¬ 𝑧 = 𝑦))
4 ax7v1 2017 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝑦𝑧 = 𝑦))
54con3d 152 . . . . . 6 (𝑥 = 𝑧 → (¬ 𝑧 = 𝑦 → ¬ 𝑥 = 𝑦))
65spimevw 1992 . . . . 5 𝑧 = 𝑦 → ∃𝑥 ¬ 𝑥 = 𝑦)
73, 6syl6 35 . . . 4 (𝑤 = 𝑦 → (¬ 𝑧 = 𝑤 → ∃𝑥 ¬ 𝑥 = 𝑦))
8 ax7v1 2017 . . . . . . 7 (𝑥 = 𝑤 → (𝑥 = 𝑦𝑤 = 𝑦))
98con3d 152 . . . . . 6 (𝑥 = 𝑤 → (¬ 𝑤 = 𝑦 → ¬ 𝑥 = 𝑦))
109spimevw 1992 . . . . 5 𝑤 = 𝑦 → ∃𝑥 ¬ 𝑥 = 𝑦)
1110a1d 25 . . . 4 𝑤 = 𝑦 → (¬ 𝑧 = 𝑤 → ∃𝑥 ¬ 𝑥 = 𝑦))
127, 11pm2.61i 183 . . 3 𝑧 = 𝑤 → ∃𝑥 ¬ 𝑥 = 𝑦)
1312exlimivv 1939 . 2 (∃𝑧𝑤 ¬ 𝑧 = 𝑤 → ∃𝑥 ¬ 𝑥 = 𝑦)
141, 13ax-mp 5 1 𝑥 ¬ 𝑥 = 𝑦
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wex 1786
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-9 2129  ax-nul 5228  ax-pr 5362
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-ex 1787
This theorem is referenced by:  dtru  5376
  Copyright terms: Public domain W3C validator