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

Theorem dfrab3ss 4227
Description: Restricted class abstraction with a common superset. (Contributed by Stefan O'Rear, 12-Sep-2015.) (Proof shortened by Mario Carneiro, 8-Nov-2015.)
Assertion
Ref Expression
dfrab3ss (𝐴𝐵 → {𝑥𝐴𝜑} = (𝐴 ∩ {𝑥𝐵𝜑}))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem dfrab3ss
StepHypRef Expression
1 df-ss 3883 . . 3 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐴)
2 ineq1 4120 . . . 4 ((𝐴𝐵) = 𝐴 → ((𝐴𝐵) ∩ {𝑥𝜑}) = (𝐴 ∩ {𝑥𝜑}))
32eqcomd 2743 . . 3 ((𝐴𝐵) = 𝐴 → (𝐴 ∩ {𝑥𝜑}) = ((𝐴𝐵) ∩ {𝑥𝜑}))
41, 3sylbi 220 . 2 (𝐴𝐵 → (𝐴 ∩ {𝑥𝜑}) = ((𝐴𝐵) ∩ {𝑥𝜑}))
5 dfrab3 4224 . 2 {𝑥𝐴𝜑} = (𝐴 ∩ {𝑥𝜑})
6 dfrab3 4224 . . . 4 {𝑥𝐵𝜑} = (𝐵 ∩ {𝑥𝜑})
76ineq2i 4124 . . 3 (𝐴 ∩ {𝑥𝐵𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥𝜑}))
8 inass 4134 . . 3 ((𝐴𝐵) ∩ {𝑥𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥𝜑}))
97, 8eqtr4i 2768 . 2 (𝐴 ∩ {𝑥𝐵𝜑}) = ((𝐴𝐵) ∩ {𝑥𝜑})
104, 5, 93eqtr4g 2803 1 (𝐴𝐵 → {𝑥𝐴𝜑} = (𝐴 ∩ {𝑥𝐵𝜑}))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1543  {cab 2714  {crab 3065  cin 3865  wss 3866
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-tru 1546  df-ex 1788  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-rab 3070  df-v 3410  df-in 3873  df-ss 3883
This theorem is referenced by:  mbfposadd  35561  proot1hash  40728
  Copyright terms: Public domain W3C validator