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

Theorem dfrab3ss 4304
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 3957 . . 3 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐴)
2 ineq1 4197 . . . 4 ((𝐴𝐵) = 𝐴 → ((𝐴𝐵) ∩ {𝑥𝜑}) = (𝐴 ∩ {𝑥𝜑}))
32eqcomd 2730 . . 3 ((𝐴𝐵) = 𝐴 → (𝐴 ∩ {𝑥𝜑}) = ((𝐴𝐵) ∩ {𝑥𝜑}))
41, 3sylbi 216 . 2 (𝐴𝐵 → (𝐴 ∩ {𝑥𝜑}) = ((𝐴𝐵) ∩ {𝑥𝜑}))
5 dfrab3 4301 . 2 {𝑥𝐴𝜑} = (𝐴 ∩ {𝑥𝜑})
6 dfrab3 4301 . . . 4 {𝑥𝐵𝜑} = (𝐵 ∩ {𝑥𝜑})
76ineq2i 4201 . . 3 (𝐴 ∩ {𝑥𝐵𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥𝜑}))
8 inass 4211 . . 3 ((𝐴𝐵) ∩ {𝑥𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥𝜑}))
97, 8eqtr4i 2755 . 2 (𝐴 ∩ {𝑥𝐵𝜑}) = ((𝐴𝐵) ∩ {𝑥𝜑})
104, 5, 93eqtr4g 2789 1 (𝐴𝐵 → {𝑥𝐴𝜑} = (𝐴 ∩ {𝑥𝐵𝜑}))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1533  {cab 2701  {crab 3424  cin 3939  wss 3940
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-ext 2695
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1536  df-ex 1774  df-sb 2060  df-clab 2702  df-cleq 2716  df-clel 2802  df-rab 3425  df-v 3468  df-in 3947  df-ss 3957
This theorem is referenced by:  mbfposadd  36991  proot1hash  42397
  Copyright terms: Public domain W3C validator