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

Theorem dfrab3ss 4269
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 dfss2 3917 . . 3 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴)
2 ineq1 4159 . . . 4 ((𝐴 ∩ 𝐵) = 𝐴 → ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}) = (𝐴 ∩ {𝑥 ∣ 𝜑}))
32eqcomd 2767 . . 3 ((𝐴 ∩ 𝐵) = 𝐴 → (𝐴 ∩ {𝑥 ∣ 𝜑}) = ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}))
41, 3sylbi 220 . 2 (𝐴 ⊆ 𝐵 → (𝐴 ∩ {𝑥 ∣ 𝜑}) = ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}))
5 dfrab3 4265 . 2 {𝑥 ∈ 𝐴 ∣ 𝜑} = (𝐴 ∩ {𝑥 ∣ 𝜑})
6 dfrab3 4265 . . . 4 {𝑥 ∈ 𝐵 ∣ 𝜑} = (𝐵 ∩ {𝑥 ∣ 𝜑})
76ineq2i 4163 . . 3 (𝐴 ∩ {𝑥 ∈ 𝐵 ∣ 𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥 ∣ 𝜑}))
8 inass 4173 . . 3 ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥 ∣ 𝜑}))
97, 8eqtr4i 2787 . 2 (𝐴 ∩ {𝑥 ∈ 𝐵 ∣ 𝜑}) = ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑})
104, 5, 93eqtr4g 2821 1 (𝐴 ⊆ 𝐵 → {𝑥 ∈ 𝐴 ∣ 𝜑} = (𝐴 ∩ {𝑥 ∈ 𝐵 ∣ 𝜑}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570  {cab 2739  {crab 3413   ∩ cin 3898   ⊆ 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-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-rab 3414  df-v 3453  df-in 3906  df-ss 3916
This theorem is used by:  mbfposadd  38565  proot1hash  44181
  Copyright terms: Public domain W3C validator