| Metamath Proof Explorer |
< Previous
Next >
Related theorems Unicode version |
| Description: Define subtraction. Theorem subval 4134 shows it value (and describes how this definition works), theorem subadd 4143 relates it to addition, and theorems subcl 4139 and resubcl 4174 prove its closure laws. |
| Ref | Expression |
|---|---|
| df-sub |
|
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | cmin 4089 |
. 2
| |
| 2 | vx |
. . . . . . 7
| |
| 3 | 2 | cv 1089 |
. . . . . 6
|
| 4 | cc 4026 |
. . . . . 6
| |
| 5 | 3, 4 | wcel 1092 |
. . . . 5
|
| 6 | vy |
. . . . . . 7
| |
| 7 | 6 | cv 1089 |
. . . . . 6
|
| 8 | 7, 4 | wcel 1092 |
. . . . 5
|
| 9 | 5, 8 | wa 196 |
. . . 4
|
| 10 | vz |
. . . . . 6
| |
| 11 | 10 | cv 1089 |
. . . . 5
|
| 12 | vw |
. . . . . . . . . 10
| |
| 13 | 12 | cv 1089 |
. . . . . . . . 9
|
| 14 | caddc 4031 |
. . . . . . . . 9
| |
| 15 | 7, 13, 14 | co 3001 |
. . . . . . . 8
|
| 16 | 15, 3 | wceq 1091 |
. . . . . . 7
|
| 17 | 16, 12, 4 | crab 1204 |
. . . . . 6
|
| 18 | 17 | cuni 1919 |
. . . . 5
|
| 19 | 11, 18 | wceq 1091 |
. . . 4
|
| 20 | 9, 19 | wa 196 |
. . 3
|
| 21 | 20, 2, 6, 10 | copab2 3002 |
. 2
|
| 22 | 1, 21 | wceq 1091 |
1
|
| Colors of variables: wff set class |
| This definition is referenced by: subval 4134 |