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

Theorem rext 5343
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 4604 . . 3 𝑥 ∈ {𝑥}
2 snex 5334 . . . 4 {𝑥} ∈ V
3 eleq2 2903 . . . . 5 (𝑧 = {𝑥} → (𝑥𝑧𝑥 ∈ {𝑥}))
4 eleq2 2903 . . . . 5 (𝑧 = {𝑥} → (𝑦𝑧𝑦 ∈ {𝑥}))
53, 4imbi12d 347 . . . 4 (𝑧 = {𝑥} → ((𝑥𝑧𝑦𝑧) ↔ (𝑥 ∈ {𝑥} → 𝑦 ∈ {𝑥})))
62, 5spcv 3608 . . 3 (∀𝑧(𝑥𝑧𝑦𝑧) → (𝑥 ∈ {𝑥} → 𝑦 ∈ {𝑥}))
71, 6mpi 20 . 2 (∀𝑧(𝑥𝑧𝑦𝑧) → 𝑦 ∈ {𝑥})
8 velsn 4585 . . 3 (𝑦 ∈ {𝑥} ↔ 𝑦 = 𝑥)
9 equcomi 2024 . . 3 (𝑦 = 𝑥𝑥 = 𝑦)
108, 9sylbi 219 . 2 (𝑦 ∈ {𝑥} → 𝑥 = 𝑦)
117, 10syl 17 1 (∀𝑧(𝑥𝑧𝑦𝑧) → 𝑥 = 𝑦)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1535   = wceq 1537  wcel 2114  {csn 4569
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-v 3498  df-dif 3941  df-un 3943  df-nul 4294  df-sn 4570  df-pr 4572
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator