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 42929
Description: Addition and subtraction of equals. Compare pncan2 11423. (Contributed by Steven Nguyen, 8-Jan-2023.)
Assertion
Ref Expression
repncan2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐴 + 𝐵) − 𝐴) = 𝐵)

Proof of Theorem repncan2
StepHypRef Expression
1 eqid 2752 . 2 (𝐴 + 𝐵) = (𝐴 + 𝐵)
2 readdcl 11142 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 + 𝐵) ∈ ℝ)
3 simpl 485 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐴 ∈ ℝ)
4 simpr 487 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐵 ∈ ℝ)
52, 3, 4resubaddd 42927 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (((𝐴 + 𝐵) − 𝐴) = 𝐵 ↔ (𝐴 + 𝐵) = (𝐴 + 𝐵)))
61, 5mpbiri 260 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐴 + 𝐵) − 𝐴) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1550  wcel 2132  (class class class)co 7381  cr 11058   + caddc 11062   cresub 42912
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1805  ax-4 1819  ax-5 1920  ax-6 1977  ax-7 2018  ax-8 2134  ax-9 2142  ax-10 2165  ax-11 2181  ax-12 2202  ax-ext 2724  ax-sep 5236  ax-nul 5246  ax-pow 5312  ax-pr 5380  ax-un 7703  ax-resscn 11116  ax-addrcl 11120  ax-addass 11124  ax-rnegex 11130  ax-pre-lttri 11133  ax-pre-lttrn 11134  ax-pre-ltadd 11135
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-3or 1096  df-3an 1097  df-tru 1553  df-fal 1563  df-ex 1790  df-nf 1794  df-sb 2081  df-mo 2556  df-eu 2586  df-clab 2731  df-cleq 2744  df-clel 2827  df-nfc 2901  df-ne 2948  df-nel 3052  df-ral 3067  df-rex 3077  df-rmo 3357  df-reu 3358  df-rab 3405  df-v 3446  df-sbc 3736  df-csb 3844  df-dif 3898  df-un 3900  df-in 3902  df-ss 3912  df-nul 4277  df-if 4471  df-pw 4547  df-sn 4573  df-pr 4575  df-op 4579  df-uni 4856  df-br 5091  df-opab 5153  df-mpt 5172  df-id 5531  df-po 5544  df-so 5545  df-xp 5642  df-rel 5643  df-cnv 5644  df-co 5645  df-dm 5646  df-rn 5647  df-res 5648  df-ima 5649  df-iota 6462  df-fun 6508  df-fn 6509  df-f 6510  df-f1 6511  df-fo 6512  df-f1o 6513  df-fv 6514  df-riota 7338  df-ov 7384  df-oprab 7385  df-mpo 7386  df-er 8662  df-en 8913  df-dom 8914  df-sdom 8915  df-pnf 11204  df-mnf 11205  df-ltxr 11207  df-resub 42913
This theorem is referenced by:  reltsubadd2  42934  repnpcan  42939  resubidaddlid  42942
  Copyright terms: Public domain W3C validator