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

Theorem eqrrabd 4034
Description: Deduce equality with a restricted abstraction. (Contributed by Thierry Arnoux, 11-Apr-2024.)
Hypotheses
Ref Expression
eqrrabd.1 (𝜑𝐵𝐴)
eqrrabd.2 ((𝜑𝑥𝐴) → (𝑥𝐵𝜓))
Assertion
Ref Expression
eqrrabd (𝜑𝐵 = {𝑥𝐴𝜓})
Distinct variable groups:   𝑥,𝐵   𝜑,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝐴(𝑥)

Proof of Theorem eqrrabd
StepHypRef Expression
1 nfv 1947 . 2 𝑥𝜑
2 nfcv 2922 . 2 𝑥𝐵
3 nfrab1 3431 . 2 𝑥{𝑥𝐴𝜓}
4 eqrrabd.1 . . . . . 6 (𝜑𝐵𝐴)
54sseld 3930 . . . . 5 (𝜑 → (𝑥𝐵𝑥𝐴))
65pm4.71rd 572 . . . 4 (𝜑 → (𝑥𝐵 ↔ (𝑥𝐴𝑥𝐵)))
7 eqrrabd.2 . . . . 5 ((𝜑𝑥𝐴) → (𝑥𝐵𝜓))
87pm5.32da 590 . . . 4 (𝜑 → ((𝑥𝐴𝑥𝐵) ↔ (𝑥𝐴𝜓)))
96, 8bitrd 282 . . 3 (𝜑 → (𝑥𝐵 ↔ (𝑥𝐴𝜓)))
10 rabid 3432 . . 3 (𝑥 ∈ {𝑥𝐴𝜓} ↔ (𝑥𝐴𝜓))
119, 10bitr4di 292 . 2 (𝜑 → (𝑥𝐵𝑥 ∈ {𝑥𝐴𝜓}))
121, 2, 3, 11eqrd 3950 1 (𝜑𝐵 = {𝑥𝐴𝜓})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401   = wceq 1570  wcel 2145  {crab 3412  wss 3899
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-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-rab 3413  df-ss 3916
This theorem is used by:  tmachlem-agreeprod  47765  usgrexmpl2nb0  48947  usgrexmpl2nb1  48948  usgrexmpl2nb2  48949  usgrexmpl2nb3  48950  usgrexmpl2nb4  48951  usgrexmpl2nb5  48952
  Copyright terms: Public domain W3C validator