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

Theorem eqsnd 4785
Description: Deduce that a set is a singleton. (Contributed by Thierry Arnoux, 10-May-2023.) (Proof shortened by SN, 3-Jul-2025.)
Hypotheses
Ref Expression
eqsnd.1 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝑥 = 𝐵)
eqsnd.2 (𝜑 → 𝐵 ∈ 𝐴)
Assertion
Ref Expression
eqsnd (𝜑 → 𝐴 = {𝐵})
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝜑,𝑥

Proof of Theorem eqsnd
StepHypRef Expression
1 eqsnd.1 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝑥 = 𝐵)
21ralrimiva 3154 . 2 (𝜑 → ∀𝑥 ∈ 𝐴 𝑥 = 𝐵)
3 eqsnd.2 . . . 4 (𝜑 → 𝐵 ∈ 𝐴)
43ne0d 4287 . . 3 (𝜑 → 𝐴 ≠ ∅)
5 eqsn 4784 . . 3 (𝐴 ≠ ∅ → (𝐴 = {𝐵} ↔ ∀𝑥 ∈ 𝐴 𝑥 = 𝐵))
64, 5syl 18 . 2 (𝜑 → (𝐴 = {𝐵} ↔ ∀𝑥 ∈ 𝐴 𝑥 = 𝐵))
72, 6mpbird 260 1 (𝜑 → 𝐴 = {𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∅c0 4278  {csn 4584
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-v 3452  df-ss 3896  df-dif 4047  df-nul 4279  df-sn 4585
This theorem is used by:  0ringidl  21520  tglineinsn  29118  dflring3  34076  dflring4  34077  lbsdiflsp0  34305  fiabv  43694  thinchom  50656
  Copyright terms: Public domain W3C validator