Metamath Proof Explorer


Theorem npncan2

Description: Cancellation law for subtraction. (Contributed by Scott Fenton, 21-Jun-2013)

Ref Expression
Assertion npncan2 ABAB+B-A=0

Proof

Step Hyp Ref Expression
1 npncan ABAAB+B-A=AA
2 1 3anidm13 ABAB+B-A=AA
3 subid AAA=0
4 3 adantr ABAA=0
5 2 4 eqtrd ABAB+B-A=0