Metamath Proof Explorer


Theorem npncan

Description: Cancellation law for subtraction. (Contributed by NM, 8-Feb-2005)

Ref Expression
Assertion npncan ABCAB+B-C=AC

Proof

Step Hyp Ref Expression
1 subcl ABAB
2 1 3adant3 ABCAB
3 addsubass ABBCAB+B-C=AB+B-C
4 2 3 syld3an1 ABCAB+B-C=AB+B-C
5 npcan ABA-B+B=A
6 5 oveq1d ABAB+B-C=AC
7 6 3adant3 ABCAB+B-C=AC
8 4 7 eqtr3d ABCAB+B-C=AC