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

Theorem rabun2 4252
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 3074 . 2 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)}
2 df-rab 3074 . . . 4 {𝑥𝐴𝜑} = {𝑥 ∣ (𝑥𝐴𝜑)}
3 df-rab 3074 . . . 4 {𝑥𝐵𝜑} = {𝑥 ∣ (𝑥𝐵𝜑)}
42, 3uneq12i 4099 . . 3 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜑}) = ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐵𝜑)})
5 elun 4087 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
65anbi1i 623 . . . . . 6 ((𝑥 ∈ (𝐴𝐵) ∧ 𝜑) ↔ ((𝑥𝐴𝑥𝐵) ∧ 𝜑))
7 andir 1005 . . . . . 6 (((𝑥𝐴𝑥𝐵) ∧ 𝜑) ↔ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑)))
86, 7bitri 274 . . . . 5 ((𝑥 ∈ (𝐴𝐵) ∧ 𝜑) ↔ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑)))
98abbii 2809 . . . 4 {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)} = {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑))}
10 unab 4237 . . . 4 ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐵𝜑)}) = {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑))}
119, 10eqtr4i 2770 . . 3 {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)} = ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐵𝜑)})
124, 11eqtr4i 2770 . 2 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜑}) = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)}
131, 12eqtr4i 2770 1 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} = ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜑})
Colors of variables: wff setvar class
Syntax hints:  wa 395  wo 843   = wceq 1541  wcel 2109  {cab 2716  {crab 3069  cun 3889
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-12 2174  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-rab 3074  df-v 3432  df-un 3896
This theorem is referenced by:  fnsuppres  7991  lfinun  22657  vtxdginducedm1  27891
  Copyright terms: Public domain W3C validator