This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: Subtracting the half of a number from the number yields the half of the number. (Contributed by AV, 28-Jun-2021)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | subhalfhalf |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | id | ||
| 2 | 2cnd | ||
| 3 | 2ne0 | ||
| 4 | 3 | a1i | |
| 5 | 1 2 4 | divcan1d | |
| 6 | 5 | eqcomd | |
| 7 | 6 | oveq1d | |
| 8 | halfcl | ||
| 9 | 8 2 | mulcomd | |
| 10 | 9 | oveq1d | |
| 11 | 2 8 | mulsubfacd | |
| 12 | 2m1e1 | ||
| 13 | 12 | a1i | |
| 14 | 13 | oveq1d | |
| 15 | 8 | mullidd | |
| 16 | 11 14 15 | 3eqtrd | |
| 17 | 7 10 16 | 3eqtrd |