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

Theorem resubsub4 38595
Description: Law for double subtraction. Compare subsub4 10712. (Contributed by Steven Nguyen, 14-Jan-2023.)
Assertion
Ref Expression
resubsub4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 𝐵) − 𝐶) = (𝐴 (𝐵 + 𝐶)))

Proof of Theorem resubsub4
StepHypRef Expression
1 readdcl 10410 . . 3 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝐵 + 𝐶) ∈ ℝ)
213adant1 1110 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝐵 + 𝐶) ∈ ℝ)
3 rersubcl 38586 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 𝐵) ∈ ℝ)
433adant3 1112 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝐴 𝐵) ∈ ℝ)
5 simp3 1118 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → 𝐶 ∈ ℝ)
6 rersubcl 38586 . . 3 (((𝐴 𝐵) ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 𝐵) − 𝐶) ∈ ℝ)
74, 5, 6syl2anc 576 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 𝐵) − 𝐶) ∈ ℝ)
8 simp2 1117 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → 𝐵 ∈ ℝ)
98recnd 10460 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → 𝐵 ∈ ℂ)
105recnd 10460 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → 𝐶 ∈ ℂ)
117recnd 10460 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 𝐵) − 𝐶) ∈ ℂ)
129, 10, 11addassd 10454 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐵 + 𝐶) + ((𝐴 𝐵) − 𝐶)) = (𝐵 + (𝐶 + ((𝐴 𝐵) − 𝐶))))
13 repncan3 38591 . . . . 5 ((𝐶 ∈ ℝ ∧ (𝐴 𝐵) ∈ ℝ) → (𝐶 + ((𝐴 𝐵) − 𝐶)) = (𝐴 𝐵))
145, 4, 13syl2anc 576 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝐶 + ((𝐴 𝐵) − 𝐶)) = (𝐴 𝐵))
1514oveq2d 6986 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝐵 + (𝐶 + ((𝐴 𝐵) − 𝐶))) = (𝐵 + (𝐴 𝐵)))
16 simp1 1116 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → 𝐴 ∈ ℝ)
17 repncan3 38591 . . . 4 ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (𝐵 + (𝐴 𝐵)) = 𝐴)
188, 16, 17syl2anc 576 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝐵 + (𝐴 𝐵)) = 𝐴)
1912, 15, 183eqtrd 2812 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐵 + 𝐶) + ((𝐴 𝐵) − 𝐶)) = 𝐴)
202, 7, 19reladdrsub 38593 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 𝐵) − 𝐶) = (𝐴 (𝐵 + 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1068   = wceq 1507  wcel 2048  (class class class)co 6970  cr 10326   + caddc 10330   cresub 38572
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1964  ax-8 2050  ax-9 2057  ax-10 2077  ax-11 2091  ax-12 2104  ax-13 2299  ax-ext 2745  ax-sep 5054  ax-nul 5061  ax-pow 5113  ax-pr 5180  ax-un 7273  ax-resscn 10384  ax-addrcl 10388  ax-addass 10392  ax-rnegex 10398  ax-pre-lttri 10401  ax-pre-lttrn 10402  ax-pre-ltadd 10403
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-3or 1069  df-3an 1070  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2014  df-mo 2544  df-eu 2580  df-clab 2754  df-cleq 2765  df-clel 2840  df-nfc 2912  df-ne 2962  df-nel 3068  df-ral 3087  df-rex 3088  df-reu 3089  df-rmo 3090  df-rab 3091  df-v 3411  df-sbc 3678  df-csb 3783  df-dif 3828  df-un 3830  df-in 3832  df-ss 3839  df-nul 4174  df-if 4345  df-pw 4418  df-sn 4436  df-pr 4438  df-op 4442  df-uni 4707  df-br 4924  df-opab 4986  df-mpt 5003  df-id 5305  df-po 5319  df-so 5320  df-xp 5406  df-rel 5407  df-cnv 5408  df-co 5409  df-dm 5410  df-rn 5411  df-res 5412  df-ima 5413  df-iota 6146  df-fun 6184  df-fn 6185  df-f 6186  df-f1 6187  df-fo 6188  df-f1o 6189  df-fv 6190  df-riota 6931  df-ov 6973  df-oprab 6974  df-mpo 6975  df-er 8081  df-en 8299  df-dom 8300  df-sdom 8301  df-pnf 10468  df-mnf 10469  df-ltxr 10471  df-resub 38573
This theorem is referenced by:  rennncan2  38596  repnpcan  38598
  Copyright terms: Public domain W3C validator