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

Theorem dfrab3ss 4267
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 4093 . . 3 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴)
2 ineq1 4109 . . . 4 ((𝐴 ∩ 𝐵) = 𝐴 → ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}) = (𝐴 ∩ {𝑥 ∣ 𝜑}))
32eqcomd 2766 . . 3 ((𝐴 ∩ 𝐵) = 𝐴 → (𝐴 ∩ {𝑥 ∣ 𝜑}) = ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}))
41, 3sylbi 220 . 2 (𝐴 ⊆ 𝐵 → (𝐴 ∩ {𝑥 ∣ 𝜑}) = ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}))
5 dfrab3 4263 . 2 {𝑥 ∈ 𝐴 ∣ 𝜑} = (𝐴 ∩ {𝑥 ∣ 𝜑})
6 dfrab3 4263 . . . 4 {𝑥 ∈ 𝐵 ∣ 𝜑} = (𝐵 ∩ {𝑥 ∣ 𝜑})
76ineq2i 4113 . . 3 (𝐴 ∩ {𝑥 ∈ 𝐵 ∣ 𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥 ∣ 𝜑}))
8 inass 4123 . . 3 ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥 ∣ 𝜑}))
97, 8eqtr4i 2786 . 2 (𝐴 ∩ {𝑥 ∈ 𝐵 ∣ 𝜑}) = ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑})
104, 5, 93eqtr4g 2820 1 (𝐴 ⊆ 𝐵 → {𝑥 ∈ 𝐴 ∣ 𝜑} = (𝐴 ∩ {𝑥 ∈ 𝐵 ∣ 𝜑}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569  {cab 2738  {crab 3412   ⊆ wss 3896   ∩ cin 4088
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-ss 3897  df-in 4090
This theorem is used by:  mbfposadd  38694  proot1hash  44306
  Copyright terms: Public domain W3C validator