Metamath Proof Explorer


Theorem addsubi

Description: Law for subtraction and addition. (Contributed by NM, 6-Aug-2003)

Ref Expression
Hypotheses negidi.1 A
pncan3i.2 B
subadd.3 C
Assertion addsubi A + B - C = A - C + B

Proof

Step Hyp Ref Expression
1 negidi.1 A
2 pncan3i.2 B
3 subadd.3 C
4 addsub A B C A + B - C = A - C + B
5 1 2 3 4 mp3an A + B - C = A - C + B