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

Theorem pnfaddmnf 13255
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 11262 . . 3 +∞ ∈ ℝ*
2 mnfxr 11265 . . 3 -∞ ∈ ℝ*
3 xaddval 13248 . . 3 ((+∞ ∈ ℝ* ∧ -∞ ∈ ℝ*) → (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))))
41, 2, 3mp2an 704 . 2 (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞)))))
5 eqid 2761 . . 3 +∞ = +∞
65iftruei 4493 . 2 if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))) = if(-∞ = -∞, 0, +∞)
7 eqid 2761 . . 3 -∞ = -∞
87iftruei 4493 . 2 if(-∞ = -∞, 0, +∞) = 0
94, 6, 83eqtri 2788 1 (+∞ +𝑒 -∞) = 0
Colors of variables: wff setvar class
Syntax hints:   = wceq 1568  wcel 2141  ifcif 4486  (class class class)co 7410  0cc0 11099   + caddc 11102  +∞cpnf 11239  -∞cmnf 11240  *cxr 11241   +𝑒 cxad 13134
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1823  ax-4 1837  ax-5 1938  ax-6 1995  ax-7 2036  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-sep 5256  ax-nul 5268  ax-pow 5336  ax-pr 5404  ax-un 7732  ax-cnex 11155  ax-1cn 11157  ax-icn 11158  ax-addcl 11159  ax-mulcl 11161  ax-i2m1 11167
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1571  df-fal 1581  df-ex 1808  df-nf 1812  df-sb 2095  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3415  df-v 3455  df-sbc 3744  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4487  df-pw 4563  df-sn 4589  df-pr 4591  df-op 4595  df-uni 4872  df-br 5109  df-opab 5173  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-iota 6492  df-fun 6538  df-fv 6544  df-ov 7413  df-oprab 7414  df-mpo 7415  df-pnf 11244  df-mnf 11245  df-xr 11246  df-xadd 13137
This theorem is referenced by:  xnegid  13263  xaddcom  13265  xnegdi  13273  xsubge0  13286  xlesubadd  13288  xadddilem  13319  xblss2  24538
  Copyright terms: Public domain W3C validator