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 3155 . 2 (𝜑 → ∀𝑥 ∈ 𝐴 𝑥 = 𝐵)
3 eqsnd.2 . . . 4 (𝜑 → 𝐵 ∈ 𝐴)
43ne0d 4288 . . 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 2145   ≠ wne 2956  ∀wral 3077  ∅c0 4279  {csn 4584
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-v 3453  df-dif 3902  df-ss 3916  df-nul 4280  df-sn 4585
This theorem is used by:  0ringidl  21507  tglineinsn  29105  dflring3  34022  dflring4  34023  lbsdiflsp0  34251  fiabv  43580  thinchom  50504
  Copyright terms: Public domain W3C validator