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

Theorem pnfaddmnf 13284
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 11290 . . 3 +∞ ∈ ℝ*
2 mnfxr 11293 . . 3 -∞ ∈ ℝ*
3 xaddval 13277 . . 3 ((+∞ ∈ ℝ* ∧ -∞ ∈ ℝ*) → (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))))
41, 2, 3mp2an 705 . 2 (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞)))))
5 eqid 2762 . . 3 +∞ = +∞
65iftruei 4492 . 2 if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))) = if(-∞ = -∞, 0, +∞)
7 eqid 2762 . . 3 -∞ = -∞
87iftruei 4492 . 2 if(-∞ = -∞, 0, +∞) = 0
94, 6, 83eqtri 2789 1 (+∞ +𝑒 -∞) = 0
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  wcel 2145  ifcif 4485  (class class class)co 7416  0cc0 11127   + caddc 11130  +∞cpnf 11267  -∞cmnf 11268  *cxr 11269   +𝑒 cxad 13163
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2734  ax-sep 5255  ax-nul 5267  ax-pow 5334  ax-pr 5402  ax-un 7739  ax-cnex 11183  ax-1cn 11185  ax-icn 11186  ax-addcl 11187  ax-mulcl 11189  ax-i2m1 11195
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-rab 3415  df-v 3455  df-sbc 3743  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4283  df-if 4486  df-pw 4562  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-br 5108  df-opab 5172  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-iota 6493  df-fun 6539  df-fv 6545  df-ov 7419  df-oprab 7420  df-mpo 7421  df-pnf 11272  df-mnf 11273  df-xr 11274  df-xadd 13166
This theorem is used by:  xnegid  13292  xaddcom  13294  xnegdi  13302  xsubge0  13315  xlesubadd  13317  xadddilem  13348  xblss2  24629
  Copyright terms: Public domain W3C validator