| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > mnfaddpnf | Structured version Visualization version 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.) |
| Ref | Expression |
|---|---|
| mnfaddpnf | ⊢ (-∞ +𝑒 +∞) = 0 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | mnfxr 11292 | . . 3 ⊢ -∞ ∈ ℝ* | |
| 2 | pnfxr 11289 | . . 3 ⊢ +∞ ∈ ℝ* | |
| 3 | xaddval 13239 | . . 3 ⊢ ((-∞ ∈ ℝ* ∧ +∞ ∈ ℝ*) → (-∞ +𝑒 +∞) = if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞)))))) | |
| 4 | 1, 2, 3 | mp2an 692 | . 2 ⊢ (-∞ +𝑒 +∞) = if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))) |
| 5 | mnfnepnf 11291 | . . . 4 ⊢ -∞ ≠ +∞ | |
| 6 | ifnefalse 4512 | . . . 4 ⊢ (-∞ ≠ +∞ → if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))) = if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))) | |
| 7 | 5, 6 | ax-mp 5 | . . 3 ⊢ if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))) = if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞)))) |
| 8 | eqid 2735 | . . . . 5 ⊢ -∞ = -∞ | |
| 9 | 8 | iftruei 4507 | . . . 4 ⊢ if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞)))) = if(+∞ = +∞, 0, -∞) |
| 10 | eqid 2735 | . . . . 5 ⊢ +∞ = +∞ | |
| 11 | 10 | iftruei 4507 | . . . 4 ⊢ if(+∞ = +∞, 0, -∞) = 0 |
| 12 | 9, 11 | eqtri 2758 | . . 3 ⊢ if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞)))) = 0 |
| 13 | 7, 12 | eqtri 2758 | . 2 ⊢ if(-∞ = +∞, if(+∞ = -∞, 0, +∞), if(-∞ = -∞, if(+∞ = +∞, 0, -∞), if(+∞ = +∞, +∞, if(+∞ = -∞, -∞, (-∞ + +∞))))) = 0 |
| 14 | 4, 13 | eqtri 2758 | 1 ⊢ (-∞ +𝑒 +∞) = 0 |
| Colors of variables: wff setvar class |
| Syntax hints: = wceq 1540 ∈ wcel 2108 ≠ wne 2932 ifcif 4500 (class class class)co 7405 0cc0 11129 + caddc 11132 +∞cpnf 11266 -∞cmnf 11267 ℝ*cxr 11268 +𝑒 cxad 13126 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-10 2141 ax-11 2157 ax-12 2177 ax-ext 2707 ax-sep 5266 ax-nul 5276 ax-pow 5335 ax-pr 5402 ax-un 7729 ax-cnex 11185 ax-1cn 11187 ax-icn 11188 ax-addcl 11189 ax-mulcl 11191 ax-i2m1 11197 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2065 df-mo 2539 df-eu 2568 df-clab 2714 df-cleq 2727 df-clel 2809 df-nfc 2885 df-ne 2933 df-ral 3052 df-rex 3061 df-rab 3416 df-v 3461 df-sbc 3766 df-dif 3929 df-un 3931 df-in 3933 df-ss 3943 df-nul 4309 df-if 4501 df-pw 4577 df-sn 4602 df-pr 4604 df-op 4608 df-uni 4884 df-br 5120 df-opab 5182 df-id 5548 df-xp 5660 df-rel 5661 df-cnv 5662 df-co 5663 df-dm 5664 df-iota 6484 df-fun 6533 df-fv 6539 df-ov 7408 df-oprab 7409 df-mpo 7410 df-pnf 11271 df-mnf 11272 df-xr 11273 df-xadd 13129 |
| This theorem is referenced by: xnegid 13254 xaddcom 13256 xnegdi 13264 xsubge0 13277 xadddilem 13310 xrsnsgrp 21370 |
| Copyright terms: Public domain | W3C validator |