Intuitionistic Logic Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  ILE Home  >  Th. List  >  mnfaddpnf GIF version

 Description: Addition of negative and positive 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
mnfaddpnf (-∞ +𝑒 +∞) = 0

StepHypRef Expression
1 mnfxr 7866 . . 3 -∞ ∈ ℝ*
2 pnfxr 7862 . . 3 +∞ ∈ ℝ*
3 xaddval 9678 . . 3 ((-∞ ∈ ℝ* ∧ +∞ ∈ ℝ*) → (-∞ +𝑒 +∞) = if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))))
41, 2, 3mp2an 423 . 2 (-∞ +𝑒 +∞) = if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞)))))
5 mnfnepnf 7865 . . . 4 -∞ ≠ +∞
6 ifnefalse 3491 . . . 4 (-∞ ≠ +∞ → if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))) = if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞)))))
75, 6ax-mp 5 . . 3 if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))) = if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))
8 eqid 2140 . . . . 5 -∞ = -∞
98iftruei 3486 . . . 4 if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞)))) = if(+∞ = +∞, 0, -∞)
10 eqid 2140 . . . . 5 +∞ = +∞
1110iftruei 3486 . . . 4 if(+∞ = +∞, 0, -∞) = 0
129, 11eqtri 2161 . . 3 if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞)))) = 0
137, 12eqtri 2161 . 2 if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))) = 0
144, 13eqtri 2161 1 (-∞ +𝑒 +∞) = 0
 Colors of variables: wff set class Syntax hints:   = wceq 1332   ∈ wcel 1481   ≠ wne 2309  ifcif 3480  (class class class)co 5783  0cc0 7664   + caddc 7667  +∞cpnf 7841  -∞cmnf 7842  ℝ*cxr 7843   +𝑒 cxad 9607 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-13 1492  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4055  ax-pow 4107  ax-pr 4140  ax-un 4364  ax-setind 4461  ax-cnex 7755  ax-resscn 7756  ax-1re 7758  ax-addrcl 7761  ax-rnegex 7773 This theorem depends on definitions:  df-bi 116  df-dc 821  df-3or 964  df-3an 965  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ne 2310  df-nel 2405  df-ral 2422  df-rex 2423  df-rab 2426  df-v 2692  df-sbc 2915  df-dif 3079  df-un 3081  df-in 3083  df-ss 3090  df-if 3481  df-pw 3518  df-sn 3539  df-pr 3540  df-op 3542  df-uni 3746  df-br 3939  df-opab 3999  df-id 4224  df-xp 4554  df-rel 4555  df-cnv 4556  df-co 4557  df-dm 4558  df-iota 5097  df-fun 5134  df-fv 5140  df-ov 5786  df-oprab 5787  df-mpo 5788  df-pnf 7846  df-mnf 7847  df-xr 7848  df-xadd 9610 This theorem is referenced by:  xnegid  9692  xaddcom  9694  xnegdi  9701  xsubge0  9714  xposdif  9715  xrmaxadd  11082
 Copyright terms: Public domain W3C validator