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

Theorem pnfaddmnf 13209
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 11268 . . 3 +∞ ∈ ℝ*
2 mnfxr 11271 . . 3 -∞ ∈ ℝ*
3 xaddval 13202 . . 3 ((+∞ ∈ ℝ* ∧ -∞ ∈ ℝ*) → (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))))
41, 2, 3mp2an 691 . 2 (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞)))))
5 eqid 2733 . . 3 +∞ = +∞
65iftruei 4536 . 2 if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))) = if(-∞ = -∞, 0, +∞)
7 eqid 2733 . . 3 -∞ = -∞
87iftruei 4536 . 2 if(-∞ = -∞, 0, +∞) = 0
94, 6, 83eqtri 2765 1 (+∞ +𝑒 -∞) = 0
Colors of variables: wff setvar class
Syntax hints:   = wceq 1542  wcel 2107  ifcif 4529  (class class class)co 7409  0cc0 11110   + caddc 11113  +∞cpnf 11245  -∞cmnf 11246  *cxr 11247   +𝑒 cxad 13090
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-sep 5300  ax-nul 5307  ax-pow 5364  ax-pr 5428  ax-un 7725  ax-cnex 11166  ax-1cn 11168  ax-icn 11169  ax-addcl 11170  ax-mulcl 11172  ax-i2m1 11178
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-sbc 3779  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-br 5150  df-opab 5212  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-iota 6496  df-fun 6546  df-fv 6552  df-ov 7412  df-oprab 7413  df-mpo 7414  df-pnf 11250  df-mnf 11251  df-xr 11252  df-xadd 13093
This theorem is referenced by:  xnegid  13217  xaddcom  13219  xnegdi  13227  xsubge0  13240  xlesubadd  13242  xadddilem  13273  xblss2  23908
  Copyright terms: Public domain W3C validator