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

Theorem eqrrabd 4021
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 1956 . 2 Ⅎ𝑥𝜑
2 nfcv 2937 . 2 Ⅎ𝑥𝐵
3 nfrab1 3442 . 2 Ⅎ𝑥{𝑥 ∈ 𝐴 ∣ 𝜓}
4 eqrrabd.1 . . . . . 6 (𝜑 → 𝐵 ⊆ 𝐴)
54sseld 3919 . . . . 5 (𝜑 → (𝑥 ∈ 𝐵 → 𝑥 ∈ 𝐴))
65pm4.71rd 572 . . . 4 (𝜑 → (𝑥 ∈ 𝐵 ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵)))
7 eqrrabd.2 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝑥 ∈ 𝐵 ↔ 𝜓))
87pm5.32da 590 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝜓)))
96, 8bitrd 282 . . 3 (𝜑 → (𝑥 ∈ 𝐵 ↔ (𝑥 ∈ 𝐴 ∧ 𝜓)))
10 rabid 3443 . . 3 (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓} ↔ (𝑥 ∈ 𝐴 ∧ 𝜓))
119, 10bitr4di 292 . 2 (𝜑 → (𝑥 ∈ 𝐵 ↔ 𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜓}))
121, 2, 3, 11eqrd 3939 1 (𝜑 → 𝐵 = {𝑥 ∈ 𝐴 ∣ 𝜓})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  {crab 3423   ⊆ wss 3907
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-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-rab 3424  df-ss 3908
This theorem is used by:  tmachlem-agreeprod  48360  usgrexmpl2nb0  49540  usgrexmpl2nb1  49541  usgrexmpl2nb2  49542  usgrexmpl2nb3  49543  usgrexmpl2nb4  49544  usgrexmpl2nb5  49545
  Copyright terms: Public domain W3C validator