This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: Cancellation law for mixed addition and subtraction. (Contributed by NM, 4-Mar-2005) (Revised by Mario Carneiro, 27-May-2016) (Proof shortened by SN, 13-Nov-2023)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | pnpcan |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | addcl | ||
| 2 | subsub4 | ||
| 3 | 1 2 | stoic4a | |
| 4 | pncan2 | ||
| 5 | 4 | 3adant3 | |
| 6 | 5 | oveq1d | |
| 7 | 3 6 | eqtr3d |