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

Theorem rext 5358
Description: A theorem similar to extensionality, requiring the existence of a singleton. Exercise 8 of [TakeutiZaring] p. 16. (Contributed by NM, 10-Aug-1993.)
Assertion
Ref Expression
rext (∀𝑧(𝑥𝑧𝑦𝑧) → 𝑥 = 𝑦)
Distinct variable group:   𝑥,𝑦,𝑧

Proof of Theorem rext
StepHypRef Expression
1 vsnid 4595 . . 3 𝑥 ∈ {𝑥}
2 snex 5349 . . . 4 {𝑥} ∈ V
3 eleq2 2827 . . . . 5 (𝑧 = {𝑥} → (𝑥𝑧𝑥 ∈ {𝑥}))
4 eleq2 2827 . . . . 5 (𝑧 = {𝑥} → (𝑦𝑧𝑦 ∈ {𝑥}))
53, 4imbi12d 344 . . . 4 (𝑧 = {𝑥} → ((𝑥𝑧𝑦𝑧) ↔ (𝑥 ∈ {𝑥} → 𝑦 ∈ {𝑥})))
62, 5spcv 3534 . . 3 (∀𝑧(𝑥𝑧𝑦𝑧) → (𝑥 ∈ {𝑥} → 𝑦 ∈ {𝑥}))
71, 6mpi 20 . 2 (∀𝑧(𝑥𝑧𝑦𝑧) → 𝑦 ∈ {𝑥})
8 velsn 4574 . . 3 (𝑦 ∈ {𝑥} ↔ 𝑦 = 𝑥)
9 equcomi 2021 . . 3 (𝑦 = 𝑥𝑥 = 𝑦)
108, 9sylbi 216 . 2 (𝑦 ∈ {𝑥} → 𝑥 = 𝑦)
117, 10syl 17 1 (∀𝑧(𝑥𝑧𝑦𝑧) → 𝑥 = 𝑦)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1537   = wceq 1539  wcel 2108  {csn 4558
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-sn 4559  df-pr 4561
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator