Metamath Proof Explorer


Theorem nppcan2

Description: Cancellation law for subtraction. (Contributed by NM, 29-Sep-2005)

Ref Expression
Assertion nppcan2 ABCA-B+C+C=AB

Proof

Step Hyp Ref Expression
1 addcl BCB+C
2 1 3adant1 ABCB+C
3 subsub AB+CCAB+C-C=A-B+C+C
4 2 3 syld3an2 ABCAB+C-C=A-B+C+C
5 pncan BCB+C-C=B
6 5 3adant1 ABCB+C-C=B
7 6 oveq2d ABCAB+C-C=AB
8 4 7 eqtr3d ABCA-B+C+C=AB