Metamath Proof Explorer


Theorem repncan2

Description: Addition and subtraction of equals. Compare pncan2 . (Contributed by Steven Nguyen, 8-Jan-2023)

Ref Expression
Assertion repncan2 ABA+B-A=B

Proof

Step Hyp Ref Expression
1 eqid A+B=A+B
2 readdcl ABA+B
3 simpl ABA
4 simpr ABB
5 2 3 4 resubaddd ABA+B-A=BA+B=A+B
6 1 5 mpbiri ABA+B-A=B