Metamath Proof Explorer


Theorem pnncani

Description: Cancellation law for mixed addition and subtraction. (Contributed by NM, 14-Jan-2006)

Ref Expression
Hypotheses negidi.1 A
pncan3i.2 B
subadd.3 C
Assertion pnncani A + B - A C = B + C

Proof

Step Hyp Ref Expression
1 negidi.1 A
2 pncan3i.2 B
3 subadd.3 C
4 pnncan A B C A + B - A C = B + C
5 1 2 3 4 mp3an A + B - A C = B + C