| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > negsubsdi2d | Structured version Visualization version GIF version | ||
| Description: Distribution of negative over subtraction. (Contributed by Scott Fenton, 5-Feb-2025.) |
| Ref | Expression |
|---|---|
| negsubsdi2d.1 | ⊢ (𝜑 → 𝐴 ∈ No) |
| negsubsdi2d.2 | ⊢ (𝜑 → 𝐵 ∈ No) |
| Ref | Expression |
|---|---|
| negsubsdi2d | ⊢ (𝜑 → ( -s‘(𝐴 −s 𝐵)) = (𝐵 −s 𝐴)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | negsubsdi2d.1 | . . . 4 ⊢ (𝜑 → 𝐴 ∈ No) | |
| 2 | negsubsdi2d.2 | . . . . 5 ⊢ (𝜑 → 𝐵 ∈ No) | |
| 3 | 2 | negscld 28482 | . . . 4 ⊢ (𝜑 → ( -s‘𝐵) ∈ No) |
| 4 | negsdi 28495 | . . . 4 ⊢ ((𝐴 ∈ No ∧ ( -s‘𝐵) ∈ No) → ( -s‘(𝐴 +s ( -s‘𝐵))) = (( -s‘𝐴) +s ( -s‘( -s‘𝐵)))) | |
| 5 | 1, 3, 4 | syl2anc 596 | . . 3 ⊢ (𝜑 → ( -s‘(𝐴 +s ( -s‘𝐵))) = (( -s‘𝐴) +s ( -s‘( -s‘𝐵)))) |
| 6 | negnegs 28489 | . . . . 5 ⊢ (𝐵 ∈ No → ( -s‘( -s‘𝐵)) = 𝐵) | |
| 7 | 2, 6 | syl 18 | . . . 4 ⊢ (𝜑 → ( -s‘( -s‘𝐵)) = 𝐵) |
| 8 | 7 | oveq2d 7466 | . . 3 ⊢ (𝜑 → (( -s‘𝐴) +s ( -s‘( -s‘𝐵))) = (( -s‘𝐴) +s 𝐵)) |
| 9 | 1 | negscld 28482 | . . . 4 ⊢ (𝜑 → ( -s‘𝐴) ∈ No) |
| 10 | 9, 2 | addscomd 28412 | . . 3 ⊢ (𝜑 → (( -s‘𝐴) +s 𝐵) = (𝐵 +s ( -s‘𝐴))) |
| 11 | 5, 8, 10 | 3eqtrd 2805 | . 2 ⊢ (𝜑 → ( -s‘(𝐴 +s ( -s‘𝐵))) = (𝐵 +s ( -s‘𝐴))) |
| 12 | 1, 2 | subsvald 28506 | . . 3 ⊢ (𝜑 → (𝐴 −s 𝐵) = (𝐴 +s ( -s‘𝐵))) |
| 13 | 12 | fveq2d 6919 | . 2 ⊢ (𝜑 → ( -s‘(𝐴 −s 𝐵)) = ( -s‘(𝐴 +s ( -s‘𝐵)))) |
| 14 | 2, 1 | subsvald 28506 | . 2 ⊢ (𝜑 → (𝐵 −s 𝐴) = (𝐵 +s ( -s‘𝐴))) |
| 15 | 11, 13, 14 | 3eqtr4d 2811 | 1 ⊢ (𝜑 → ( -s‘(𝐴 −s 𝐵)) = (𝐵 −s 𝐴)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 = wceq 1572 ∈ wcel 2150 ‘cfv 6565 (class class class)co 7450 Nocsur 28056 +s cadds 28404 -scnegs 28464 −s csubs 28465 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2152 ax-9 2160 ax-10 2183 ax-11 2200 ax-12 2219 ax-ext 2738 ax-rep 5237 ax-sep 5254 ax-nul 5265 ax-pow 5333 ax-pr 5397 ax-un 7782 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1105 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-nf 1819 df-sb 2104 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2842 df-nfc 2916 df-ne 2963 df-ral 3084 df-rex 3094 df-rmo 3368 df-reu 3369 df-rab 3416 df-v 3455 df-sbc 3742 df-csb 3851 df-ss 3900 df-pss 4016 df-dif 4049 df-in 4093 df-un 4153 df-nul 4281 df-if 4485 df-pw 4561 df-sn 4588 df-pr 4590 df-tp 4592 df-op 4840 df-ot 4863 df-uni 4872 df-int 4912 df-iun 4957 df-br 5108 df-opab 5173 df-mpt 5192 df-tr 5218 df-id 5552 df-eprel 5557 df-po 5565 df-so 5566 df-fr 5610 df-se 5611 df-we 5612 df-xp 5663 df-rel 5664 df-cnv 5665 df-co 5666 df-dm 5667 df-rn 5668 df-res 5669 df-ima 5670 df-pred 6329 df-ord 6390 df-on 6391 df-suc 6393 df-iota 6519 df-fun 6567 df-fn 6568 df-f 6569 df-f1 6570 df-fo 6571 df-f1o 6572 df-fv 6573 df-riota 7407 df-ov 7453 df-oprab 7454 df-mpo 7455 df-1st 8034 df-2nd 8035 df-frecs 8336 df-wrecs 8367 df-recs 8416 df-1o 8513 df-2o 8514 df-nadd 8712 df-no 28059 df-lts 28060 df-bday 28061 df-les 28161 df-slts 28203 df-cuts 28205 df-0s 28252 df-made 28272 df-old 28273 df-left 28275 df-right 28276 df-norec 28383 df-norec2 28394 df-adds 28405 df-negs 28466 df-subs 28467 |
| This theorem is used by: ltsubsubs2bd 28529 subsubs2d 28540 precsexlem9 28660 abssubs 28695 znegscl 28837 elzn0s 28843 zcuts 28852 zseo 28867 |
| Copyright terms: Public domain | W3C validator |