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

Theorem rabun2 4234
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 3115 . 2 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)}
2 df-rab 3115 . . . 4 {𝑥𝐴𝜑} = {𝑥 ∣ (𝑥𝐴𝜑)}
3 df-rab 3115 . . . 4 {𝑥𝐵𝜑} = {𝑥 ∣ (𝑥𝐵𝜑)}
42, 3uneq12i 4088 . . 3 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜑}) = ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐵𝜑)})
5 elun 4076 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
65anbi1i 626 . . . . . 6 ((𝑥 ∈ (𝐴𝐵) ∧ 𝜑) ↔ ((𝑥𝐴𝑥𝐵) ∧ 𝜑))
7 andir 1006 . . . . . 6 (((𝑥𝐴𝑥𝐵) ∧ 𝜑) ↔ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑)))
86, 7bitri 278 . . . . 5 ((𝑥 ∈ (𝐴𝐵) ∧ 𝜑) ↔ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑)))
98abbii 2863 . . . 4 {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)} = {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑))}
10 unab 4222 . . . 4 ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐵𝜑)}) = {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑))}
119, 10eqtr4i 2824 . . 3 {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)} = ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐵𝜑)})
124, 11eqtr4i 2824 . 2 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜑}) = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)}
131, 12eqtr4i 2824 1 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} = ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜑})
Colors of variables: wff setvar class
Syntax hints:  wa 399  wo 844   = wceq 1538  wcel 2111  {cab 2776  {crab 3110  cun 3879
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-rab 3115  df-v 3443  df-un 3886
This theorem is referenced by:  fnsuppres  7840  lfinun  22130  vtxdginducedm1  27333
  Copyright terms: Public domain W3C validator