![]() |
Mathbox for Steven Nguyen |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > Mathboxes > repnpcan | Structured version Visualization version GIF version |
Description: Cancellation law for addition and real subtraction. Compare pnpcan 11464. (Contributed by Steven Nguyen, 19-May-2023.) |
Ref | Expression |
---|---|
repnpcan | ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 + 𝐵) −ℝ (𝐴 + 𝐶)) = (𝐵 −ℝ 𝐶)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | readdcl 11158 | . . 3 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 + 𝐵) ∈ ℝ) | |
2 | resubsub4 40949 | . . 3 ⊢ (((𝐴 + 𝐵) ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (((𝐴 + 𝐵) −ℝ 𝐴) −ℝ 𝐶) = ((𝐴 + 𝐵) −ℝ (𝐴 + 𝐶))) | |
3 | 1, 2 | stoic4a 1779 | . 2 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (((𝐴 + 𝐵) −ℝ 𝐴) −ℝ 𝐶) = ((𝐴 + 𝐵) −ℝ (𝐴 + 𝐶))) |
4 | repncan2 40942 | . . . 4 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → ((𝐴 + 𝐵) −ℝ 𝐴) = 𝐵) | |
5 | 4 | 3adant3 1132 | . . 3 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 + 𝐵) −ℝ 𝐴) = 𝐵) |
6 | 5 | oveq1d 7392 | . 2 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (((𝐴 + 𝐵) −ℝ 𝐴) −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) |
7 | 3, 6 | eqtr3d 2773 | 1 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 + 𝐵) −ℝ (𝐴 + 𝐶)) = (𝐵 −ℝ 𝐶)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ w3a 1087 = wceq 1541 ∈ wcel 2106 (class class class)co 7377 ℝcr 11074 + caddc 11078 −ℝ cresub 40925 |
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 2702 ax-sep 5276 ax-nul 5283 ax-pow 5340 ax-pr 5404 ax-un 7692 ax-resscn 11132 ax-addrcl 11136 ax-addass 11140 ax-rnegex 11146 ax-pre-lttri 11149 ax-pre-lttrn 11150 ax-pre-ltadd 11151 |
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 2533 df-eu 2562 df-clab 2709 df-cleq 2723 df-clel 2809 df-nfc 2884 df-ne 2940 df-nel 3046 df-ral 3061 df-rex 3070 df-rmo 3364 df-reu 3365 df-rab 3419 df-v 3461 df-sbc 3758 df-csb 3874 df-dif 3931 df-un 3933 df-in 3935 df-ss 3945 df-nul 4303 df-if 4507 df-pw 4582 df-sn 4607 df-pr 4609 df-op 4613 df-uni 4886 df-br 5126 df-opab 5188 df-mpt 5209 df-id 5551 df-po 5565 df-so 5566 df-xp 5659 df-rel 5660 df-cnv 5661 df-co 5662 df-dm 5663 df-rn 5664 df-res 5665 df-ima 5666 df-iota 6468 df-fun 6518 df-fn 6519 df-f 6520 df-f1 6521 df-fo 6522 df-f1o 6523 df-fv 6524 df-riota 7333 df-ov 7380 df-oprab 7381 df-mpo 7382 df-er 8670 df-en 8906 df-dom 8907 df-sdom 8908 df-pnf 11215 df-mnf 11216 df-ltxr 11218 df-resub 40926 |
This theorem is referenced by: reppncan 40953 remul02 40965 |
Copyright terms: Public domain | W3C validator |