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

Theorem rabun2 4284
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 3149 . 2 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)}
2 df-rab 3149 . . . 4 {𝑥𝐴𝜑} = {𝑥 ∣ (𝑥𝐴𝜑)}
3 df-rab 3149 . . . 4 {𝑥𝐵𝜑} = {𝑥 ∣ (𝑥𝐵𝜑)}
42, 3uneq12i 4139 . . 3 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜑}) = ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐵𝜑)})
5 elun 4127 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
65anbi1i 625 . . . . . 6 ((𝑥 ∈ (𝐴𝐵) ∧ 𝜑) ↔ ((𝑥𝐴𝑥𝐵) ∧ 𝜑))
7 andir 1005 . . . . . 6 (((𝑥𝐴𝑥𝐵) ∧ 𝜑) ↔ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑)))
86, 7bitri 277 . . . . 5 ((𝑥 ∈ (𝐴𝐵) ∧ 𝜑) ↔ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑)))
98abbii 2888 . . . 4 {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)} = {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑))}
10 unab 4272 . . . 4 ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐵𝜑)}) = {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐵𝜑))}
119, 10eqtr4i 2849 . . 3 {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)} = ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐵𝜑)})
124, 11eqtr4i 2849 . 2 ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜑}) = {𝑥 ∣ (𝑥 ∈ (𝐴𝐵) ∧ 𝜑)}
131, 12eqtr4i 2849 1 {𝑥 ∈ (𝐴𝐵) ∣ 𝜑} = ({𝑥𝐴𝜑} ∪ {𝑥𝐵𝜑})
Colors of variables: wff setvar class
Syntax hints:  wa 398  wo 843   = wceq 1537  wcel 2114  {cab 2801  {crab 3144  cun 3936
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-rab 3149  df-v 3498  df-un 3943
This theorem is referenced by:  fnsuppres  7859  lfinun  22135  vtxdginducedm1  27327
  Copyright terms: Public domain W3C validator