Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  repncan2 Structured version   Visualization version   GIF version

Theorem repncan2 40827
Description: Addition and subtraction of equals. Compare pncan2 11405. (Contributed by Steven Nguyen, 8-Jan-2023.)
Assertion
Ref Expression
repncan2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐴 + 𝐵) − 𝐴) = 𝐵)

Proof of Theorem repncan2
StepHypRef Expression
1 eqid 2736 . 2 (𝐴 + 𝐵) = (𝐴 + 𝐵)
2 readdcl 11131 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 + 𝐵) ∈ ℝ)
3 simpl 483 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐴 ∈ ℝ)
4 simpr 485 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐵 ∈ ℝ)
52, 3, 4resubaddd 40825 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (((𝐴 + 𝐵) − 𝐴) = 𝐵 ↔ (𝐴 + 𝐵) = (𝐴 + 𝐵)))
61, 5mpbiri 257 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐴 + 𝐵) − 𝐴) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1541  wcel 2106  (class class class)co 7354  cr 11047   + caddc 11051   cresub 40810
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2707  ax-sep 5255  ax-nul 5262  ax-pow 5319  ax-pr 5383  ax-un 7669  ax-resscn 11105  ax-addrcl 11109  ax-addass 11113  ax-rnegex 11119  ax-pre-lttri 11122  ax-pre-lttrn 11123  ax-pre-ltadd 11124
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3064  df-rex 3073  df-rmo 3352  df-reu 3353  df-rab 3407  df-v 3446  df-sbc 3739  df-csb 3855  df-dif 3912  df-un 3914  df-in 3916  df-ss 3926  df-nul 4282  df-if 4486  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4865  df-br 5105  df-opab 5167  df-mpt 5188  df-id 5530  df-po 5544  df-so 5545  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-iota 6446  df-fun 6496  df-fn 6497  df-f 6498  df-f1 6499  df-fo 6500  df-f1o 6501  df-fv 6502  df-riota 7310  df-ov 7357  df-oprab 7358  df-mpo 7359  df-er 8645  df-en 8881  df-dom 8882  df-sdom 8883  df-pnf 11188  df-mnf 11189  df-ltxr 11191  df-resub 40811
This theorem is referenced by:  reltsubadd2  40832  repnpcan  40837  resubidaddid1  40840
  Copyright terms: Public domain W3C validator