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

Theorem rext 5306
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 4562 . . 3 𝑥 ∈ {𝑥}
2 snex 5297 . . . 4 {𝑥} ∈ V
3 eleq2 2878 . . . . 5 (𝑧 = {𝑥} → (𝑥𝑧𝑥 ∈ {𝑥}))
4 eleq2 2878 . . . . 5 (𝑧 = {𝑥} → (𝑦𝑧𝑦 ∈ {𝑥}))
53, 4imbi12d 348 . . . 4 (𝑧 = {𝑥} → ((𝑥𝑧𝑦𝑧) ↔ (𝑥 ∈ {𝑥} → 𝑦 ∈ {𝑥})))
62, 5spcv 3554 . . 3 (∀𝑧(𝑥𝑧𝑦𝑧) → (𝑥 ∈ {𝑥} → 𝑦 ∈ {𝑥}))
71, 6mpi 20 . 2 (∀𝑧(𝑥𝑧𝑦𝑧) → 𝑦 ∈ {𝑥})
8 velsn 4541 . . 3 (𝑦 ∈ {𝑥} ↔ 𝑦 = 𝑥)
9 equcomi 2024 . . 3 (𝑦 = 𝑥𝑥 = 𝑦)
108, 9sylbi 220 . 2 (𝑦 ∈ {𝑥} → 𝑥 = 𝑦)
117, 10syl 17 1 (∀𝑧(𝑥𝑧𝑦𝑧) → 𝑥 = 𝑦)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1536   = wceq 1538  wcel 2111  {csn 4525
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-v 3443  df-dif 3884  df-un 3886  df-nul 4244  df-sn 4526  df-pr 4528
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator