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

Theorem rabun2 4271
Description: Abstraction restricted to a union. (Contributed by Stefan O'Rear, 5-Feb-2015.)
Assertion
Ref Expression
rabun2 {𝑥 ∈ (𝐴 ∪ 𝐵) ∣ 𝜑} = ({𝑥 ∈ 𝐴 ∣ 𝜑} ∪ {𝑥 ∈ 𝐵 ∣ 𝜑})

Proof of Theorem rabun2
StepHypRef Expression
1 df-rab 3416 . 2 {𝑥 ∈ (𝐴 ∪ 𝐵) ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝜑)}
2 df-rab 3416 . . . 4 {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)}
3 df-rab 3416 . . . 4 {𝑥 ∈ 𝐵 ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ 𝐵 ∧ 𝜑)}
42, 3uneq12i 4167 . . 3 ({𝑥 ∈ 𝐴 ∣ 𝜑} ∪ {𝑥 ∈ 𝐵 ∣ 𝜑}) = ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∪ {𝑥 ∣ (𝑥 ∈ 𝐵 ∧ 𝜑)})
5 elun 4154 . . . . . . 7 (𝑥 ∈ (𝐴 ∪ 𝐵) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵))
65anbi1i 636 . . . . . 6 ((𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ 𝜑))
7 andir 1026 . . . . . 6 (((𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ 𝜑)))
86, 7bitri 278 . . . . 5 ((𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ 𝜑)))
98abbii 2830 . . . 4 {𝑥 ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝜑)} = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ 𝜑))}
10 unab 4255 . . . 4 ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∪ {𝑥 ∣ (𝑥 ∈ 𝐵 ∧ 𝜑)}) = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ 𝜑))}
119, 10eqtr4i 2789 . . 3 {𝑥 ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝜑)} = ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ∪ {𝑥 ∣ (𝑥 ∈ 𝐵 ∧ 𝜑)})
124, 11eqtr4i 2789 . 2 ({𝑥 ∈ 𝐴 ∣ 𝜑} ∪ {𝑥 ∈ 𝐵 ∣ 𝜑}) = {𝑥 ∣ (𝑥 ∈ (𝐴 ∪ 𝐵) ∧ 𝜑)}
131, 12eqtr4i 2789 1 {𝑥 ∈ (𝐴 ∪ 𝐵) ∣ 𝜑} = ({𝑥 ∈ 𝐴 ∣ 𝜑} ∪ {𝑥 ∈ 𝐵 ∣ 𝜑})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2146  {cab 2741  {crab 3415   ∪ cun 4151
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-12 2215  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2838  df-rab 3416  df-v 3455  df-un 4153
This theorem is used by:  fnsuppres  8219  lfinun  23856  vtxdginducedm1  30136
  Copyright terms: Public domain W3C validator