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

Theorem eqsnd 4799
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 3169 . 2 (𝜑 → ∀𝑥 ∈ 𝐴 𝑥 = 𝐵)
3 eqsnd.2 . . . 4 (𝜑 → 𝐵 ∈ 𝐴)
43ne0d 4298 . . 3 (𝜑 → 𝐴 ≠ ∅)
5 eqsn 4798 . . 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 1572   ∈ wcel 2156   ≠ wne 2970  ∀wral 3091  ∅c0 4288  {csn 4595
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-ral 3092  df-v 3463  df-ss 3908  df-dif 4057  df-nul 4289  df-sn 4596
This theorem is used by:  0ringidl  21610  tglineinsn  29276  dflring3  34252  dflring4  34253  lbsdiflsp0  34460  fiabv  43965  thinchom  51078
  Copyright terms: Public domain W3C validator