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

Theorem dfrab3ss 4271
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 4097 . . 3 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴)
2 ineq1 4113 . . . 4 ((𝐴 ∩ 𝐵) = 𝐴 → ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}) = (𝐴 ∩ {𝑥 ∣ 𝜑}))
32eqcomd 2769 . . 3 ((𝐴 ∩ 𝐵) = 𝐴 → (𝐴 ∩ {𝑥 ∣ 𝜑}) = ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}))
41, 3sylbi 220 . 2 (𝐴 ⊆ 𝐵 → (𝐴 ∩ {𝑥 ∣ 𝜑}) = ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}))
5 dfrab3 4267 . 2 {𝑥 ∈ 𝐴 ∣ 𝜑} = (𝐴 ∩ {𝑥 ∣ 𝜑})
6 dfrab3 4267 . . . 4 {𝑥 ∈ 𝐵 ∣ 𝜑} = (𝐵 ∩ {𝑥 ∣ 𝜑})
76ineq2i 4117 . . 3 (𝐴 ∩ {𝑥 ∈ 𝐵 ∣ 𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥 ∣ 𝜑}))
8 inass 4127 . . 3 ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑}) = (𝐴 ∩ (𝐵 ∩ {𝑥 ∣ 𝜑}))
97, 8eqtr4i 2789 . 2 (𝐴 ∩ {𝑥 ∈ 𝐵 ∣ 𝜑}) = ((𝐴 ∩ 𝐵) ∩ {𝑥 ∣ 𝜑})
104, 5, 93eqtr4g 2823 1 (𝐴 ⊆ 𝐵 → {𝑥 ∈ 𝐴 ∣ 𝜑} = (𝐴 ∩ {𝑥 ∈ 𝐵 ∣ 𝜑}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570  {cab 2741  {crab 3416   ⊆ wss 3900   ∩ cin 4092
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417  df-v 3456  df-ss 3901  df-in 4094
This theorem is used by:  mbfposadd  38853  proot1hash  44458
  Copyright terms: Public domain W3C validator