Metamath Proof Explorer


Theorem addsub4i

Description: Rearrangement of 4 terms in a mixed addition and subtraction. (Contributed by NM, 17-Oct-1999)

Ref Expression
Hypotheses negidi.1 A
pncan3i.2 B
subadd.3 C
addsub4i.4 D
Assertion addsub4i A+B-C+D=AC+B-D

Proof

Step Hyp Ref Expression
1 negidi.1 A
2 pncan3i.2 B
3 subadd.3 C
4 addsub4i.4 D
5 addsub4 ABCDA+B-C+D=AC+B-D
6 1 2 3 4 5 mp4an A+B-C+D=AC+B-D