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

Theorem rabsnt 4694
Description: Truth implied by equality of a restricted class abstraction and a singleton. (Contributed by NM, 29-May-2006.) (Proof shortened by Mario Carneiro, 23-Dec-2016.)
Hypotheses
Ref Expression
rabsnt.1 𝐵 ∈ V
rabsnt.2 (𝑥 = 𝐵 → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
rabsnt ({𝑥 ∈ 𝐴 ∣ 𝜑} = {𝐵} → 𝜓)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝜓,𝑥
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem rabsnt
StepHypRef Expression
1 rabsnt.1 . . . 4 𝐵 ∈ V
21snid 4624 . . 3 𝐵 ∈ {𝐵}
3 id 23 . . 3 ({𝑥 ∈ 𝐴 ∣ 𝜑} = {𝐵} → {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝐵})
42, 3eleqtrrid 2871 . 2 ({𝑥 ∈ 𝐴 ∣ 𝜑} = {𝐵} → 𝐵 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑})
5 rabsnt.2 . . . 4 (𝑥 = 𝐵 → (𝜑 ↔ 𝜓))
65elrab 3648 . . 3 (𝐵 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑} ↔ (𝐵 ∈ 𝐴 ∧ 𝜓))
76simprbi 503 . 2 (𝐵 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑} → 𝜓)
84, 7syl 18 1 ({𝑥 ∈ 𝐴 ∣ 𝜑} = {𝐵} → 𝜓)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1570   ∈ wcel 2147  {crab 3416  Vcvv 3454  {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-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417  df-v 3456  df-sn 4589
This theorem is used by:  ddemeas  34980
  Copyright terms: Public domain W3C validator