| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > pnfaddmnf | Structured version Visualization version GIF version | ||
| 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.) |
| Ref | Expression |
|---|---|
| pnfaddmnf | ⊢ (+∞ +𝑒 -∞) = 0 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | pnfxr 11238 | . . 3 ⊢ +∞ ∈ ℝ* | |
| 2 | mnfxr 11241 | . . 3 ⊢ -∞ ∈ ℝ* | |
| 3 | xaddval 13228 | . . 3 ⊢ ((+∞ ∈ ℝ* ∧ -∞ ∈ ℝ*) → (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞)))))) | |
| 4 | 1, 2, 3 | mp2an 702 | . 2 ⊢ (+∞ +𝑒 -∞) = if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))) |
| 5 | eqid 2764 | . . 3 ⊢ +∞ = +∞ | |
| 6 | 5 | iftruei 4489 | . 2 ⊢ if(+∞ = +∞, if(-∞ = -∞, 0, +∞), if(+∞ = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (+∞ + -∞))))) = if(-∞ = -∞, 0, +∞) |
| 7 | eqid 2764 | . . 3 ⊢ -∞ = -∞ | |
| 8 | 7 | iftruei 4489 | . 2 ⊢ if(-∞ = -∞, 0, +∞) = 0 |
| 9 | 4, 6, 8 | 3eqtri 2791 | 1 ⊢ (+∞ +𝑒 -∞) = 0 |
| Colors of variables: wff setvar class |
| Syntax hints: = wceq 1562 ∈ wcel 2144 ifcif 4482 (class class class)co 7398 0cc0 11075 + caddc 11078 +∞cpnf 11215 -∞cmnf 11216 ℝ*cxr 11217 +𝑒 cxad 13114 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1817 ax-4 1831 ax-5 1932 ax-6 1989 ax-7 2030 ax-8 2146 ax-9 2154 ax-10 2177 ax-11 2193 ax-12 2214 ax-ext 2736 ax-sep 5248 ax-nul 5258 ax-pow 5324 ax-pr 5392 ax-un 7720 ax-cnex 11131 ax-1cn 11133 ax-icn 11134 ax-addcl 11135 ax-mulcl 11137 ax-i2m1 11143 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3an 1101 df-tru 1565 df-fal 1575 df-ex 1802 df-nf 1806 df-sb 2093 df-mo 2568 df-eu 2598 df-clab 2743 df-cleq 2756 df-clel 2839 df-nfc 2913 df-ne 2960 df-ral 3079 df-rex 3089 df-rab 3417 df-v 3458 df-sbc 3747 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-nul 4288 df-if 4483 df-pw 4559 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-br 5103 df-opab 5165 df-id 5544 df-xp 5655 df-rel 5656 df-cnv 5657 df-co 5658 df-dm 5659 df-iota 6479 df-fun 6525 df-fv 6531 df-ov 7401 df-oprab 7402 df-mpo 7403 df-pnf 11220 df-mnf 11221 df-xr 11222 df-xadd 13117 |
| This theorem is referenced by: xnegid 13243 xaddcom 13245 xnegdi 13253 xsubge0 13266 xlesubadd 13268 xadddilem 13299 xblss2 24464 |
| Copyright terms: Public domain | W3C validator |