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

Theorem rabsneq 4574
Description: Equality of class abstractions restricted to a singleton. (Contributed by AV, 17-May-2025.)
Assertion
Ref Expression
rabsneq (𝑁𝑉 → {𝑥 ∈ {𝑁} ∣ 𝜓} = {𝑥𝑉 ∣ (𝑥 = 𝑁𝜓)})
Distinct variable groups:   𝑥,𝑁   𝑥,𝑉
Allowed substitution hint:   𝜓(𝑥)

Proof of Theorem rabsneq
StepHypRef Expression
1 velsn 4571 . . . . 5 (𝑥 ∈ {𝑁} ↔ 𝑥 = 𝑁)
2 eleq1a 2834 . . . . . 6 (𝑁𝑉 → (𝑥 = 𝑁𝑥𝑉))
32pm4.71rd 567 . . . . 5 (𝑁𝑉 → (𝑥 = 𝑁 ↔ (𝑥𝑉𝑥 = 𝑁)))
41, 3bitrid 284 . . . 4 (𝑁𝑉 → (𝑥 ∈ {𝑁} ↔ (𝑥𝑉𝑥 = 𝑁)))
54anbi1d 637 . . 3 (𝑁𝑉 → ((𝑥 ∈ {𝑁} ∧ 𝜓) ↔ ((𝑥𝑉𝑥 = 𝑁) ∧ 𝜓)))
6 anass 469 . . 3 (((𝑥𝑉𝑥 = 𝑁) ∧ 𝜓) ↔ (𝑥𝑉 ∧ (𝑥 = 𝑁𝜓)))
75, 6bitrdi 288 . 2 (𝑁𝑉 → ((𝑥 ∈ {𝑁} ∧ 𝜓) ↔ (𝑥𝑉 ∧ (𝑥 = 𝑁𝜓))))
87rabbidva2 3393 1 (𝑁𝑉 → {𝑥 ∈ {𝑁} ∣ 𝜓} = {𝑥𝑉 ∣ (𝑥 = 𝑁𝜓)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1547  wcel 2119  {crab 3391  {csn 4555
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-ext 2711
This theorem depends on definitions:  df-bi 208  df-an 397  df-tru 1550  df-ex 1787  df-sb 2074  df-clab 2718  df-cleq 2731  df-clel 2814  df-rab 3392  df-v 3433  df-sn 4556
This theorem is referenced by:  dfsclnbgr6  48349
  Copyright terms: Public domain W3C validator