MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  unopab Structured version   Unicode version

Theorem unopab 4462
Description: Union of two ordered pair class abstractions. (Contributed by NM, 30-Sep-2002.)
Assertion
Ref Expression
unopab  |-  ( {
<. x ,  y >.  |  ph }  u.  { <. x ,  y >.  |  ps } )  =  { <. x ,  y
>.  |  ( ph  \/  ps ) }

Proof of Theorem unopab
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 unab 3712 . . 3  |-  ( { z  |  E. x E. y ( z  = 
<. x ,  y >.  /\  ph ) }  u.  { z  |  E. x E. y ( z  = 
<. x ,  y >.  /\  ps ) } )  =  { z  |  ( E. x E. y ( z  = 
<. x ,  y >.  /\  ph )  \/  E. x E. y ( z  =  <. x ,  y
>.  /\  ps ) ) }
2 19.43 1661 . . . . 5  |-  ( E. x ( E. y
( z  =  <. x ,  y >.  /\  ph )  \/  E. y
( z  =  <. x ,  y >.  /\  ps ) )  <->  ( E. x E. y ( z  =  <. x ,  y
>.  /\  ph )  \/ 
E. x E. y
( z  =  <. x ,  y >.  /\  ps ) ) )
3 andi 862 . . . . . . . 8  |-  ( ( z  =  <. x ,  y >.  /\  ( ph  \/  ps ) )  <-> 
( ( z  = 
<. x ,  y >.  /\  ph )  \/  (
z  =  <. x ,  y >.  /\  ps ) ) )
43exbii 1635 . . . . . . 7  |-  ( E. y ( z  = 
<. x ,  y >.  /\  ( ph  \/  ps ) )  <->  E. y
( ( z  = 
<. x ,  y >.  /\  ph )  \/  (
z  =  <. x ,  y >.  /\  ps ) ) )
5 19.43 1661 . . . . . . 7  |-  ( E. y ( ( z  =  <. x ,  y
>.  /\  ph )  \/  ( z  =  <. x ,  y >.  /\  ps ) )  <->  ( E. y ( z  = 
<. x ,  y >.  /\  ph )  \/  E. y ( z  = 
<. x ,  y >.  /\  ps ) ) )
64, 5bitr2i 250 . . . . . 6  |-  ( ( E. y ( z  =  <. x ,  y
>.  /\  ph )  \/ 
E. y ( z  =  <. x ,  y
>.  /\  ps ) )  <->  E. y ( z  = 
<. x ,  y >.  /\  ( ph  \/  ps ) ) )
76exbii 1635 . . . . 5  |-  ( E. x ( E. y
( z  =  <. x ,  y >.  /\  ph )  \/  E. y
( z  =  <. x ,  y >.  /\  ps ) )  <->  E. x E. y ( z  = 
<. x ,  y >.  /\  ( ph  \/  ps ) ) )
82, 7bitr3i 251 . . . 4  |-  ( ( E. x E. y
( z  =  <. x ,  y >.  /\  ph )  \/  E. x E. y ( z  = 
<. x ,  y >.  /\  ps ) )  <->  E. x E. y ( z  = 
<. x ,  y >.  /\  ( ph  \/  ps ) ) )
98abbii 2583 . . 3  |-  { z  |  ( E. x E. y ( z  = 
<. x ,  y >.  /\  ph )  \/  E. x E. y ( z  =  <. x ,  y
>.  /\  ps ) ) }  =  { z  |  E. x E. y ( z  = 
<. x ,  y >.  /\  ( ph  \/  ps ) ) }
101, 9eqtri 2479 . 2  |-  ( { z  |  E. x E. y ( z  = 
<. x ,  y >.  /\  ph ) }  u.  { z  |  E. x E. y ( z  = 
<. x ,  y >.  /\  ps ) } )  =  { z  |  E. x E. y
( z  =  <. x ,  y >.  /\  ( ph  \/  ps ) ) }
11 df-opab 4446 . . 3  |-  { <. x ,  y >.  |  ph }  =  { z  |  E. x E. y
( z  =  <. x ,  y >.  /\  ph ) }
12 df-opab 4446 . . 3  |-  { <. x ,  y >.  |  ps }  =  { z  |  E. x E. y
( z  =  <. x ,  y >.  /\  ps ) }
1311, 12uneq12i 3603 . 2  |-  ( {
<. x ,  y >.  |  ph }  u.  { <. x ,  y >.  |  ps } )  =  ( { z  |  E. x E. y
( z  =  <. x ,  y >.  /\  ph ) }  u.  { z  |  E. x E. y ( z  = 
<. x ,  y >.  /\  ps ) } )
14 df-opab 4446 . 2  |-  { <. x ,  y >.  |  (
ph  \/  ps ) }  =  { z  |  E. x E. y
( z  =  <. x ,  y >.  /\  ( ph  \/  ps ) ) }
1510, 13, 143eqtr4i 2489 1  |-  ( {
<. x ,  y >.  |  ph }  u.  { <. x ,  y >.  |  ps } )  =  { <. x ,  y
>.  |  ( ph  \/  ps ) }
Colors of variables: wff setvar class
Syntax hints:    \/ wo 368    /\ wa 369    = wceq 1370   E.wex 1587   {cab 2436    u. cun 3421   <.cop 3978   {copab 4444
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1952  ax-ext 2430
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-clab 2437  df-cleq 2443  df-clel 2446  df-nfc 2599  df-v 3067  df-un 3428  df-opab 4446
This theorem is referenced by:  xpundi  4986  xpundir  4987  cnvun  5337  coundi  5434  coundir  5435  mptun  5636  opsrtoslem1  17669  lgsquadlem3  22808
  Copyright terms: Public domain W3C validator