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 35115
Description: Generalization of inrab 4240. (Contributed by BJ, 21-Apr-2019.)
Assertion
Ref Expression
bj-inrab ({𝑥𝐴𝜑} ∩ {𝑥𝐵𝜓}) = {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}

Proof of Theorem bj-inrab
StepHypRef Expression
1 an4 653 . . . 4 (((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓)) ↔ ((𝑥𝐴𝑥𝐵) ∧ (𝜑𝜓)))
2 elin 3903 . . . . 5 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
32anbi1i 624 . . . 4 ((𝑥 ∈ (𝐴𝐵) ∧ (𝜑𝜓)) ↔ ((𝑥𝐴𝑥𝐵) ∧ (𝜑𝜓)))
41, 3bitr4i 277 . . 3 (((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓)) ↔ (𝑥 ∈ (𝐴𝐵) ∧ (𝜑𝜓)))
54abbii 2808 . 2 {𝑥 ∣ ((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓))} = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ (𝜑𝜓))}
6 df-rab 3073 . . . 4 {𝑥𝐴𝜑} = {𝑥 ∣ (𝑥𝐴𝜑)}
7 df-rab 3073 . . . 4 {𝑥𝐵𝜓} = {𝑥 ∣ (𝑥𝐵𝜓)}
86, 7ineq12i 4144 . . 3 ({𝑥𝐴𝜑} ∩ {𝑥𝐵𝜓}) = ({𝑥 ∣ (𝑥𝐴𝜑)} ∩ {𝑥 ∣ (𝑥𝐵𝜓)})
9 inab 4233 . . 3 ({𝑥 ∣ (𝑥𝐴𝜑)} ∩ {𝑥 ∣ (𝑥𝐵𝜓)}) = {𝑥 ∣ ((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓))}
108, 9eqtri 2766 . 2 ({𝑥𝐴𝜑} ∩ {𝑥𝐵𝜓}) = {𝑥 ∣ ((𝑥𝐴𝜑) ∧ (𝑥𝐵𝜓))}
11 df-rab 3073 . 2 {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)} = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ (𝜑𝜓))}
125, 10, 113eqtr4i 2776 1 ({𝑥𝐴𝜑} ∩ {𝑥𝐵𝜓}) = {𝑥 ∈ (𝐴𝐵) ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1539  wcel 2106  {cab 2715  {crab 3068  cin 3886
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-in 3894
This theorem is referenced by:  bj-inrab2  35116
  Copyright terms: Public domain W3C validator