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

Theorem pnfaddmnf 12263
Description: Addition of positive and negative infinity. This is often taken to be a "null" value or out of the domain, but we define it (somewhat arbitrarily) to be zero so that the resulting function is total, which simplifies proofs. (Contributed by Mario Carneiro, 20-Aug-2015.)
Assertion
Ref Expression
pnfaddmnf (+∞ +𝑒 -∞) = 0

Proof of Theorem pnfaddmnf
StepHypRef Expression
1 pnfxr 10346 . . 3 +∞ ∈ ℝ*
2 mnfxr 10350 . . 3 -∞ ∈ ℝ*
3 xaddval 12256 . . 3 ((+∞ ∈ ℝ* ∧ -∞ ∈ ℝ*) → (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))))
41, 2, 3mp2an 683 . 2 (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞)))))
5 eqid 2765 . . 3 +∞ = +∞
65iftruei 4250 . 2 if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))) = if(-∞ = -∞, 0, +∞)
7 eqid 2765 . . 3 -∞ = -∞
87iftruei 4250 . 2 if(-∞ = -∞, 0, +∞) = 0
94, 6, 83eqtri 2791 1 (+∞ +𝑒 -∞) = 0
Colors of variables: wff setvar class
Syntax hints:   = wceq 1652  wcel 2155  ifcif 4243  (class class class)co 6842  0cc0 10189   + caddc 10192  +∞cpnf 10325  -∞cmnf 10326  *cxr 10327   +𝑒 cxad 12144
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-sep 4941  ax-nul 4949  ax-pow 5001  ax-pr 5062  ax-un 7147  ax-cnex 10245  ax-1cn 10247  ax-icn 10248  ax-addcl 10249  ax-mulcl 10251  ax-i2m1 10257
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ral 3060  df-rex 3061  df-rab 3064  df-v 3352  df-sbc 3597  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-nul 4080  df-if 4244  df-pw 4317  df-sn 4335  df-pr 4337  df-op 4341  df-uni 4595  df-br 4810  df-opab 4872  df-id 5185  df-xp 5283  df-rel 5284  df-cnv 5285  df-co 5286  df-dm 5287  df-iota 6031  df-fun 6070  df-fv 6076  df-ov 6845  df-oprab 6846  df-mpt2 6847  df-pnf 10330  df-mnf 10331  df-xr 10332  df-xadd 12147
This theorem is referenced by:  xnegid  12271  xaddcom  12273  xnegdi  12280  xsubge0  12293  xlesubadd  12295  xadddilem  12326  xblss2  22486
  Copyright terms: Public domain W3C validator