Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-inrab Structured version   Visualization version   GIF version

Theorem bj-inrab 35042
Description: Generalization of inrab 4237. (Contributed by BJ, 21-Apr-2019.)
Assertion
Ref Expression
bj-inrab ({𝑥𝐴𝜑} ∩ {𝑥𝐵𝜓}) = {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}

Proof of Theorem bj-inrab
StepHypRef Expression
1 an4 652 . . . 4 (((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓)) ↔ ((𝑥𝐴𝑥𝐵) ∧ (𝜑𝜓)))
2 elin 3899 . . . . 5 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
32anbi1i 623 . . . 4 ((𝑥 ∈ (𝐴𝐵) ∧ (𝜑𝜓)) ↔ ((𝑥𝐴𝑥𝐵) ∧ (𝜑𝜓)))
41, 3bitr4i 277 . . 3 (((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓)) ↔ (𝑥 ∈ (𝐴𝐵) ∧ (𝜑𝜓)))
54abbii 2809 . 2 {𝑥 ∣ ((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓))} = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ (𝜑𝜓))}
6 df-rab 3072 . . . 4 {𝑥𝐴𝜑} = {𝑥 ∣ (𝑥𝐴𝜑)}
7 df-rab 3072 . . . 4 {𝑥𝐵𝜓} = {𝑥 ∣ (𝑥𝐵𝜓)}
86, 7ineq12i 4141 . . 3 ({𝑥𝐴𝜑} ∩ {𝑥𝐵𝜓}) = ({𝑥 ∣ (𝑥𝐴𝜑)} ∩ {𝑥 ∣ (𝑥𝐵𝜓)})
9 inab 4230 . . 3 ({𝑥 ∣ (𝑥𝐴𝜑)} ∩ {𝑥 ∣ (𝑥𝐵𝜓)}) = {𝑥 ∣ ((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓))}
108, 9eqtri 2766 . 2 ({𝑥𝐴𝜑} ∩ {𝑥𝐵𝜓}) = {𝑥 ∣ ((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓))}
11 df-rab 3072 . 2 {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)} = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ (𝜑𝜓))}
125, 10, 113eqtr4i 2776 1 ({𝑥𝐴𝜑} ∩ {𝑥𝐵𝜓}) = {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1539  wcel 2108  {cab 2715  {crab 3067  cin 3882
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-in 3890
This theorem is referenced by:  bj-inrab2  35043
  Copyright terms: Public domain W3C validator