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

Theorem eqsnd 4791
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 3158 . 2 (𝜑 → ∀𝑥 ∈ 𝐴 𝑥 = 𝐵)
3 eqsnd.2 . . . 4 (𝜑 → 𝐵 ∈ 𝐴)
43ne0d 4291 . . 3 (𝜑 → 𝐴 ≠ ∅)
5 eqsn 4790 . . 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 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∅c0 4281  {csn 4588
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-v 3456  df-ss 3901  df-dif 4050  df-nul 4282  df-sn 4589
This theorem is used by:  0ringidl  21565  tglineinsn  29169  dflring3  34133  dflring4  34134  lbsdiflsp0  34369  fiabv  43866  thinchom  50893
  Copyright terms: Public domain W3C validator