| Metamath Proof Explorer |
< Previous
Next >
Related theorems Unicode version |
| Description: Define subtraction. Theorem subvalt 5329 shows it value (and describes how this definition works), theorem subadd 5343 relates it to addition, and theorems subcl 5338 and resubcl 5411 prove its closure laws. |
| Ref | Expression |
|---|---|
| df-sub |
|
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | cmin 5264 |
. 2
| |
| 2 | vx |
. . . . . . 7
| |
| 3 | 2 | cv 952 |
. . . . . 6
|
| 4 | cc 5204 |
. . . . . 6
| |
| 5 | 3, 4 | wcel 955 |
. . . . 5
|
| 6 | vy |
. . . . . . 7
| |
| 7 | 6 | cv 952 |
. . . . . 6
|
| 8 | 7, 4 | wcel 955 |
. . . . 5
|
| 9 | 5, 8 | wa 223 |
. . . 4
|
| 10 | vz |
. . . . . 6
| |
| 11 | 10 | cv 952 |
. . . . 5
|
| 12 | vw |
. . . . . . . . . 10
| |
| 13 | 12 | cv 952 |
. . . . . . . . 9
|
| 14 | caddc 5209 |
. . . . . . . . 9
| |
| 15 | 7, 13, 14 | co 3948 |
. . . . . . . 8
|
| 16 | 15, 3 | wceq 953 |
. . . . . . 7
|
| 17 | 16, 12, 4 | crab 1640 |
. . . . . 6
|
| 18 | 17 | cuni 2493 |
. . . . 5
|
| 19 | 11, 18 | wceq 953 |
. . . 4
|
| 20 | 9, 19 | wa 223 |
. . 3
|
| 21 | 20, 2, 6, 10 | copab2 3949 |
. 2
|
| 22 | 1, 21 | wceq 953 |
1
|
| Colors of variables: wff set class |
| This definition is referenced by: subvalt 5329 subopr 5342 |