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

Theorem unrab 3857
 Description: Union of two restricted class abstractions. (Contributed by NM, 25-Mar-2004.)
Assertion
Ref Expression
unrab ({𝑥𝐴𝜑} ∪ {𝑥𝐴𝜓}) = {𝑥𝐴 ∣ (𝜑𝜓)}

Proof of Theorem unrab
StepHypRef Expression
1 df-rab 2905 . . 3 {𝑥𝐴𝜑} = {𝑥 ∣ (𝑥𝐴𝜑)}
2 df-rab 2905 . . 3 {𝑥𝐴𝜓} = {𝑥 ∣ (𝑥𝐴𝜓)}
31, 2uneq12i 3727 . 2 ({𝑥𝐴𝜑} ∪ {𝑥𝐴𝜓}) = ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐴𝜓)})
4 df-rab 2905 . . 3 {𝑥𝐴 ∣ (𝜑𝜓)} = {𝑥 ∣ (𝑥𝐴 ∧ (𝜑𝜓))}
5 unab 3853 . . . 4 ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐴𝜓)}) = {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐴𝜓))}
6 andi 907 . . . . 5 ((𝑥𝐴 ∧ (𝜑𝜓)) ↔ ((𝑥𝐴𝜑) ∨ (𝑥𝐴𝜓)))
76abbii 2726 . . . 4 {𝑥 ∣ (𝑥𝐴 ∧ (𝜑𝜓))} = {𝑥 ∣ ((𝑥𝐴𝜑) ∨ (𝑥𝐴𝜓))}
85, 7eqtr4i 2635 . . 3 ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐴𝜓)}) = {𝑥 ∣ (𝑥𝐴 ∧ (𝜑𝜓))}
94, 8eqtr4i 2635 . 2 {𝑥𝐴 ∣ (𝜑𝜓)} = ({𝑥 ∣ (𝑥𝐴𝜑)} ∪ {𝑥 ∣ (𝑥𝐴𝜓)})
103, 9eqtr4i 2635 1 ({𝑥𝐴𝜑} ∪ {𝑥𝐴𝜓}) = {𝑥𝐴 ∣ (𝜑𝜓)}
 Colors of variables: wff setvar class Syntax hints:   ∨ wo 382   ∧ wa 383   = wceq 1475   ∈ wcel 1977  {cab 2596  {crab 2900   ∪ cun 3538 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-rab 2905  df-v 3175  df-un 3545 This theorem is referenced by:  rabxm  3915  kmlem3  8857  hashbclem  13093  phiprmpw  15319  efgsfo  17975  dsmmacl  19904  rrxmvallem  22995  mumul  24707  ppiub  24729  lgsquadlem2  24906  numclwwlk3lem  26635  hasheuni  29474  measvuni  29604  aean  29634  subfacp1lem6  30421  lineunray  31424  cnambfre  32628  itg2addnclem2  32632  iblabsnclem  32643  orrabdioph  36363  undisjrab  37527  av-numclwwlk3lem  41538  mndpsuppss  41946
 Copyright terms: Public domain W3C validator