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

Theorem rexsub 13236
Description: Extended real subtraction when both arguments are real. (Contributed by Mario Carneiro, 23-Aug-2015.)
Assertion
Ref Expression
rexsub ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 +𝑒 -𝑒𝐵) = (𝐴𝐵))

Proof of Theorem rexsub
StepHypRef Expression
1 rexneg 13214 . . . 4 (𝐵 ∈ ℝ → -𝑒𝐵 = -𝐵)
21adantl 485 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → -𝑒𝐵 = -𝐵)
32oveq2d 7412 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 +𝑒 -𝑒𝐵) = (𝐴 +𝑒 -𝐵))
4 renegcl 11494 . . 3 (𝐵 ∈ ℝ → -𝐵 ∈ ℝ)
5 rexadd 13235 . . 3 ((𝐴 ∈ ℝ ∧ -𝐵 ∈ ℝ) → (𝐴 +𝑒 -𝐵) = (𝐴 + -𝐵))
64, 5sylan2 602 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 +𝑒 -𝐵) = (𝐴 + -𝐵))
7 recn 11163 . . 3 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
8 recn 11163 . . 3 (𝐵 ∈ ℝ → 𝐵 ∈ ℂ)
9 negsub 11479 . . 3 ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴 + -𝐵) = (𝐴𝐵))
107, 8, 9syl2an 605 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 + -𝐵) = (𝐴𝐵))
113, 6, 103eqtrd 2801 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 +𝑒 -𝑒𝐵) = (𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1560  wcel 2142  (class class class)co 7396  cc 11071  cr 11072   + caddc 11076  cmin 11414  -cneg 11415  -𝑒cxne 13111   +𝑒 cxad 13112
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1815  ax-4 1829  ax-5 1930  ax-6 1987  ax-7 2028  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-sep 5246  ax-nul 5256  ax-pow 5322  ax-pr 5390  ax-un 7718  ax-cnex 11129  ax-resscn 11130  ax-1cn 11131  ax-icn 11132  ax-addcl 11133  ax-addrcl 11134  ax-mulcl 11135  ax-mulrcl 11136  ax-mulcom 11137  ax-addass 11138  ax-mulass 11139  ax-distr 11140  ax-i2m1 11141  ax-1ne0 11142  ax-1rid 11143  ax-rnegex 11144  ax-rrecex 11145  ax-cnre 11146  ax-pre-lttri 11147  ax-pre-lttrn 11148  ax-pre-ltadd 11149
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1099  df-3an 1100  df-tru 1563  df-fal 1573  df-ex 1800  df-nf 1804  df-sb 2091  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3368  df-rab 3415  df-v 3456  df-sbc 3745  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4481  df-pw 4557  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-opab 5163  df-mpt 5182  df-id 5542  df-po 5555  df-so 5556  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-iota 6477  df-fun 6523  df-fn 6524  df-f 6525  df-f1 6526  df-fo 6527  df-f1o 6528  df-fv 6529  df-riota 7353  df-ov 7399  df-oprab 7400  df-mpo 7401  df-er 8678  df-en 8928  df-dom 8929  df-sdom 8930  df-pnf 11218  df-mnf 11219  df-xr 11220  df-ltxr 11221  df-sub 11416  df-neg 11417  df-xneg 13114  df-xadd 13115
This theorem is referenced by:  xrsdsreval  21461  blss2ps  24460  blss2  24461  xrsxmet  24867  metdstri  24909  xlt2addrd  32958
  Copyright terms: Public domain W3C validator