Metamath Proof Explorer


Theorem pncan2

Description: Cancellation law for subtraction. (Contributed by NM, 17-Apr-2005)

Ref Expression
Assertion pncan2 A B A + B - A = B

Proof

Step Hyp Ref Expression
1 addcom B A B + A = A + B
2 1 oveq1d B A B + A - A = A + B - A
3 pncan B A B + A - A = B
4 2 3 eqtr3d B A A + B - A = B
5 4 ancoms A B A + B - A = B