This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.

Metamath Proof Explorer


Theorem nncand

Description: Cancellation law for subtraction. (Contributed by Mario Carneiro, 27-May-2016)

Ref Expression
Hypotheses negidd.1 φ A
pncand.2 φ B
Assertion nncand φ A A B = B

Proof

Step Hyp Ref Expression
1 negidd.1 φ A
2 pncand.2 φ B
3 nncan A B A A B = B
4 1 2 3 syl2anc φ A A B = B