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

Theorem inrab2 4263
Description: Intersection with a restricted class abstraction. (Contributed by NM, 19-Nov-2007.)
Assertion
Ref Expression
inrab2 ({𝑥 ∈ 𝐴 ∣ 𝜑} ∩ 𝐵) = {𝑥 ∈ (𝐴 ∩ 𝐵) ∣ 𝜑}
Distinct variable group:   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥)   𝐴(𝑥)

Proof of Theorem inrab2
StepHypRef Expression
1 df-rab 3414 . . 3 {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)}
2 abid1 2897 . . 3 𝐵 = {𝑥 ∣ 𝑥 ∈ 𝐵}
31, 2ineq12i 4164 . 2 ({𝑥 ∈ 𝐴 ∣ 𝜑} ∩ 𝐵) = ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∩ {𝑥 ∣ 𝑥 ∈ 𝐵})
4 df-rab 3414 . . 3 {𝑥 ∈ (𝐴 ∩ 𝐵) ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ (𝐴 ∩ 𝐵) ∧ 𝜑)}
5 inab 4255 . . . 4 ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∩ {𝑥 ∣ 𝑥 ∈ 𝐵}) = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ 𝑥 ∈ 𝐵)}
6 elin 3915 . . . . . . 7 (𝑥 ∈ (𝐴 ∩ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))
76anbi1i 636 . . . . . 6 ((𝑥 ∈ (𝐴 ∩ 𝐵) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵) ∧ 𝜑))
8 an32 659 . . . . . 6 (((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ 𝑥 ∈ 𝐵))
97, 8bitri 278 . . . . 5 ((𝑥 ∈ (𝐴 ∩ 𝐵) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ 𝑥 ∈ 𝐵))
109abbii 2828 . . . 4 {𝑥 ∣ (𝑥 ∈ (𝐴 ∩ 𝐵) ∧ 𝜑)} = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∧ 𝑥 ∈ 𝐵)}
115, 10eqtr4i 2787 . . 3 ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∩ {𝑥 ∣ 𝑥 ∈ 𝐵}) = {𝑥 ∣ (𝑥 ∈ (𝐴 ∩ 𝐵) ∧ 𝜑)}
124, 11eqtr4i 2787 . 2 {𝑥 ∈ (𝐴 ∩ 𝐵) ∣ 𝜑} = ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∩ {𝑥 ∣ 𝑥 ∈ 𝐵})
133, 12eqtr4i 2787 1 ({𝑥 ∈ 𝐴 ∣ 𝜑} ∩ 𝐵) = {𝑥 ∈ (𝐴 ∩ 𝐵) ∣ 𝜑}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {cab 2739  {crab 3413   ∩ cin 3898
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-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
This theorem is used by:  iooval2  13502  fzval2  13635  smuval2  16645  smueqlem  16653  dfphi2  16944  ordtrest  23513  ordtrest2lem  23514  rspectopn  34492  ordtrestNEW  34546  ordtrest2NEWlem  34547  itg2addnclem2  38570  isubgr0uhgr  48940  dmatALTbas  49482
  Copyright terms: Public domain W3C validator