Mathbox for Steven Nguyen |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > resubcan2 | Structured version Visualization version GIF version |
Description: Cancellation law for real subtraction. Compare subcan2 11086. (Contributed by Steven Nguyen, 8-Jan-2023.) |
Ref | Expression |
---|---|
resubcan2 | ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶) ↔ 𝐴 = 𝐵)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simpr 488 | . . . . 5 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) ∧ (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) → (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) | |
2 | simpl1 1193 | . . . . . 6 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) ∧ (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) → 𝐴 ∈ ℝ) | |
3 | simpl3 1195 | . . . . . 6 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) ∧ (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) → 𝐶 ∈ ℝ) | |
4 | simpl2 1194 | . . . . . . 7 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) ∧ (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) → 𝐵 ∈ ℝ) | |
5 | rersubcl 40021 | . . . . . . 7 ⊢ ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝐵 −ℝ 𝐶) ∈ ℝ) | |
6 | 4, 3, 5 | syl2anc 587 | . . . . . 6 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) ∧ (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) → (𝐵 −ℝ 𝐶) ∈ ℝ) |
7 | 2, 3, 6 | resubaddd 40023 | . . . . 5 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) ∧ (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) → ((𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶) ↔ (𝐶 + (𝐵 −ℝ 𝐶)) = 𝐴)) |
8 | 1, 7 | mpbid 235 | . . . 4 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) ∧ (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) → (𝐶 + (𝐵 −ℝ 𝐶)) = 𝐴) |
9 | repncan3 40026 | . . . . 5 ⊢ ((𝐶 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐶 + (𝐵 −ℝ 𝐶)) = 𝐵) | |
10 | 3, 4, 9 | syl2anc 587 | . . . 4 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) ∧ (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) → (𝐶 + (𝐵 −ℝ 𝐶)) = 𝐵) |
11 | 8, 10 | eqtr3d 2776 | . . 3 ⊢ (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) ∧ (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) → 𝐴 = 𝐵) |
12 | 11 | ex 416 | . 2 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶) → 𝐴 = 𝐵)) |
13 | oveq1 7209 | . 2 ⊢ (𝐴 = 𝐵 → (𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶)) | |
14 | 12, 13 | impbid1 228 | 1 ⊢ ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → ((𝐴 −ℝ 𝐶) = (𝐵 −ℝ 𝐶) ↔ 𝐴 = 𝐵)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 209 ∧ wa 399 ∧ w3a 1089 = wceq 1543 ∈ wcel 2110 (class class class)co 7202 ℝcr 10711 + caddc 10715 −ℝ cresub 40008 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1803 ax-4 1817 ax-5 1918 ax-6 1976 ax-7 2016 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2158 ax-12 2175 ax-ext 2706 ax-sep 5181 ax-nul 5188 ax-pow 5247 ax-pr 5311 ax-un 7512 ax-resscn 10769 ax-addrcl 10773 ax-addass 10777 ax-rnegex 10783 ax-pre-lttri 10786 ax-pre-lttrn 10787 ax-pre-ltadd 10788 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-3or 1090 df-3an 1091 df-tru 1546 df-fal 1556 df-ex 1788 df-nf 1792 df-sb 2071 df-mo 2537 df-eu 2566 df-clab 2713 df-cleq 2726 df-clel 2812 df-nfc 2882 df-ne 2936 df-nel 3040 df-ral 3059 df-rex 3060 df-reu 3061 df-rmo 3062 df-rab 3063 df-v 3403 df-sbc 3688 df-csb 3803 df-dif 3860 df-un 3862 df-in 3864 df-ss 3874 df-nul 4228 df-if 4430 df-pw 4505 df-sn 4532 df-pr 4534 df-op 4538 df-uni 4810 df-br 5044 df-opab 5106 df-mpt 5125 df-id 5444 df-po 5457 df-so 5458 df-xp 5546 df-rel 5547 df-cnv 5548 df-co 5549 df-dm 5550 df-rn 5551 df-res 5552 df-ima 5553 df-iota 6327 df-fun 6371 df-fn 6372 df-f 6373 df-f1 6374 df-fo 6375 df-f1o 6376 df-fv 6377 df-riota 7159 df-ov 7205 df-oprab 7206 df-mpo 7207 df-er 8380 df-en 8616 df-dom 8617 df-sdom 8618 df-pnf 10852 df-mnf 10853 df-ltxr 10855 df-resub 40009 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |