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

Theorem pnfaddmnf 13399
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 (+∞ +e -∞) = 0

Proof of Theorem pnfaddmnf
StepHypRef Expression
1 pnfxr 11401 . . 3 +∞ ∈ ℝ*
2 mnfxr 11404 . . 3 -∞ ∈ ℝ*
3 xaddval 13392 . . 3 ((+∞ ∈ ℝ* ∧ -∞ ∈ ℝ*) → (+∞ +e -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))))
41, 2, 3mp2an 705 . 2 (+∞ +e -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞)))))
5 eqid 2766 . . 3 +∞ = +∞
65iftruei 4491 . 2 if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))) = if(-∞ = -∞, 0, +∞)
7 eqid 2766 . . 3 -∞ = -∞
87iftruei 4491 . 2 if(-∞ = -∞, 0, +∞) = 0
94, 6, 83eqtri 2793 1 (+∞ +e -∞) = 0
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572   ∈ wcel 2150  ifcif 4484  (class class class)co 7450  0cc0 11238   + caddc 11241  +∞cpnf 11378  -∞cmnf 11379  ℝ*cxr 11380   +e cxad 13278
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-cnex 11294  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-mulcl 11300  ax-i2m1 11306
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-iota 6519  df-fun 6567  df-fv 6573  df-ov 7453  df-oprab 7454  df-mpo 7455  df-pnf 11383  df-mnf 11384  df-xr 11385  df-xadd 13281
This theorem is used by:  xnegid  13407  xaddcom  13409  xnegdi  13417  xsubge0  13430  xlesubadd  13432  xadddilem  13463  xblss2  24778
  Copyright terms: Public domain W3C validator