MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  df-xadd Structured version   Visualization version   Unicode version

Definition df-xadd 11947
Description: Define addition over extended real numbers. (Contributed by Mario Carneiro, 20-Aug-2015.)
Assertion
Ref Expression
df-xadd  |-  +e 
=  ( x  e. 
RR* ,  y  e.  RR*  |->  if ( x  = +oo ,  if ( y  = -oo , 
0 , +oo ) ,  if ( x  = -oo ,  if ( y  = +oo , 
0 , -oo ) ,  if ( y  = +oo , +oo ,  if ( y  = -oo , -oo ,  ( x  +  y ) ) ) ) ) )
Distinct variable group:    x, y

Detailed syntax breakdown of Definition df-xadd
StepHypRef Expression
1 cxad 11944 . 2  class  +e
2 vx . . 3  setvar  x
3 vy . . 3  setvar  y
4 cxr 10073 . . 3  class  RR*
52cv 1482 . . . . 5  class  x
6 cpnf 10071 . . . . 5  class +oo
75, 6wceq 1483 . . . 4  wff  x  = +oo
83cv 1482 . . . . . 6  class  y
9 cmnf 10072 . . . . . 6  class -oo
108, 9wceq 1483 . . . . 5  wff  y  = -oo
11 cc0 9936 . . . . 5  class  0
1210, 11, 6cif 4086 . . . 4  class  if ( y  = -oo , 
0 , +oo )
135, 9wceq 1483 . . . . 5  wff  x  = -oo
148, 6wceq 1483 . . . . . 6  wff  y  = +oo
1514, 11, 9cif 4086 . . . . 5  class  if ( y  = +oo , 
0 , -oo )
16 caddc 9939 . . . . . . . 8  class  +
175, 8, 16co 6650 . . . . . . 7  class  ( x  +  y )
1810, 9, 17cif 4086 . . . . . 6  class  if ( y  = -oo , -oo ,  ( x  +  y ) )
1914, 6, 18cif 4086 . . . . 5  class  if ( y  = +oo , +oo ,  if ( y  = -oo , -oo ,  ( x  +  y ) ) )
2013, 15, 19cif 4086 . . . 4  class  if ( x  = -oo ,  if ( y  = +oo ,  0 , -oo ) ,  if (
y  = +oo , +oo ,  if ( y  = -oo , -oo ,  ( x  +  y ) ) ) )
217, 12, 20cif 4086 . . 3  class  if ( x  = +oo ,  if ( y  = -oo ,  0 , +oo ) ,  if (
x  = -oo ,  if ( y  = +oo ,  0 , -oo ) ,  if (
y  = +oo , +oo ,  if ( y  = -oo , -oo ,  ( x  +  y ) ) ) ) )
222, 3, 4, 4, 21cmpt2 6652 . 2  class  ( x  e.  RR* ,  y  e. 
RR*  |->  if ( x  = +oo ,  if ( y  = -oo ,  0 , +oo ) ,  if (
x  = -oo ,  if ( y  = +oo ,  0 , -oo ) ,  if (
y  = +oo , +oo ,  if ( y  = -oo , -oo ,  ( x  +  y ) ) ) ) ) )
231, 22wceq 1483 1  wff  +e 
=  ( x  e. 
RR* ,  y  e.  RR*  |->  if ( x  = +oo ,  if ( y  = -oo , 
0 , +oo ) ,  if ( x  = -oo ,  if ( y  = +oo , 
0 , -oo ) ,  if ( y  = +oo , +oo ,  if ( y  = -oo , -oo ,  ( x  +  y ) ) ) ) ) )
Colors of variables: wff setvar class
This definition is referenced by:  xaddval  12054  xaddf  12055
  Copyright terms: Public domain W3C validator