Metamath Proof Explorer


Theorem nppcan3

Description: Cancellation law for subtraction. (Contributed by Mario Carneiro, 14-Sep-2015)

Ref Expression
Assertion nppcan3 A B C A B + C + B = A + C

Proof

Step Hyp Ref Expression
1 subcl A B A B
2 1 3adant3 A B C A B
3 simp3 A B C C
4 simp2 A B C B
5 2 3 4 addassd A B C A B + C + B = A B + C + B
6 nppcan A B C A B + C + B = A + C
7 5 6 eqtr3d A B C A B + C + B = A + C