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

Theorem xaddmnf1 13032
Description: Addition of negative infinity on the right. (Contributed by Mario Carneiro, 20-Aug-2015.)
Assertion
Ref Expression
xaddmnf1 ((𝐴 ∈ ℝ*𝐴 ≠ +∞) → (𝐴 +𝑒 -∞) = -∞)

Proof of Theorem xaddmnf1
StepHypRef Expression
1 mnfxr 11102 . . 3 -∞ ∈ ℝ*
2 xaddval 13027 . . 3 ((𝐴 ∈ ℝ* ∧ -∞ ∈ ℝ*) → (𝐴 +𝑒 -∞) = if(𝐴 = +∞, if(-∞ = -∞, 0, +∞), if(𝐴 = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞))))))
31, 2mpan2 688 . 2 (𝐴 ∈ ℝ* → (𝐴 +𝑒 -∞) = if(𝐴 = +∞, if(-∞ = -∞, 0, +∞), if(𝐴 = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞))))))
4 ifnefalse 4481 . . 3 (𝐴 ≠ +∞ → if(𝐴 = +∞, if(-∞ = -∞, 0, +∞), if(𝐴 = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞))))) = if(𝐴 = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞)))))
5 mnfnepnf 11101 . . . . . 6 -∞ ≠ +∞
6 ifnefalse 4481 . . . . . 6 (-∞ ≠ +∞ → if(-∞ = +∞, 0, -∞) = -∞)
75, 6ax-mp 5 . . . . 5 if(-∞ = +∞, 0, -∞) = -∞
8 ifnefalse 4481 . . . . . . 7 (-∞ ≠ +∞ → if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞))) = if(-∞ = -∞, -∞, (𝐴 + -∞)))
95, 8ax-mp 5 . . . . . 6 if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞))) = if(-∞ = -∞, -∞, (𝐴 + -∞))
10 eqid 2737 . . . . . . 7 -∞ = -∞
1110iftruei 4476 . . . . . 6 if(-∞ = -∞, -∞, (𝐴 + -∞)) = -∞
129, 11eqtri 2765 . . . . 5 if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞))) = -∞
13 ifeq12 4487 . . . . 5 ((if(-∞ = +∞, 0, -∞) = -∞ ∧ if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞))) = -∞) → if(𝐴 = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞)))) = if(𝐴 = -∞, -∞, -∞))
147, 12, 13mp2an 689 . . . 4 if(𝐴 = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞)))) = if(𝐴 = -∞, -∞, -∞)
15 ifid 4509 . . . 4 if(𝐴 = -∞, -∞, -∞) = -∞
1614, 15eqtri 2765 . . 3 if(𝐴 = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞)))) = -∞
174, 16eqtrdi 2793 . 2 (𝐴 ≠ +∞ → if(𝐴 = +∞, if(-∞ = -∞, 0, +∞), if(𝐴 = -∞, if(-∞ = +∞, 0, -∞), if(-∞ = +∞, +∞, if(-∞ = -∞, -∞, (𝐴 + -∞))))) = -∞)
183, 17sylan9eq 2797 1 ((𝐴 ∈ ℝ*𝐴 ≠ +∞) → (𝐴 +𝑒 -∞) = -∞)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1540  wcel 2105  wne 2941  ifcif 4469  (class class class)co 7313  0cc0 10941   + caddc 10944  +∞cpnf 11076  -∞cmnf 11077  *cxr 11078   +𝑒 cxad 12916
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2708  ax-sep 5236  ax-nul 5243  ax-pow 5301  ax-pr 5365  ax-un 7626  ax-cnex 10997  ax-1cn 10999  ax-icn 11000  ax-addcl 11001  ax-mulcl 11003  ax-i2m1 11009
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3405  df-v 3443  df-sbc 3726  df-dif 3899  df-un 3901  df-in 3903  df-ss 3913  df-nul 4267  df-if 4470  df-pw 4545  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4849  df-br 5086  df-opab 5148  df-id 5505  df-xp 5611  df-rel 5612  df-cnv 5613  df-co 5614  df-dm 5615  df-iota 6415  df-fun 6465  df-fv 6471  df-ov 7316  df-oprab 7317  df-mpo 7318  df-pnf 11081  df-mnf 11082  df-xr 11083  df-xadd 12919
This theorem is referenced by:  xaddnepnf  13041  xaddcom  13044  xnegdi  13052  xleadd1a  13057  xsubge0  13065  xlesubadd  13067  xadddilem  13098  xblss2ps  23625  xblss2  23626
  Copyright terms: Public domain W3C validator