| Metamath Proof Explorer |
< Previous
Next >
Related theorems Unicode version |
| Description: Define subtraction. Theorem subvalt 5337 shows it value (and describes how this definition works), theorem subadd 5351 relates it to addition, and theorems subcl 5346 and resubcl 5419 prove its closure laws. |
| Ref | Expression |
|---|---|
| df-sub |
|
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | cmin 5272 |
. 2
| |
| 2 | vx |
. . . . . . 7
| |
| 3 | 2 | cv 953 |
. . . . . 6
|
| 4 | cc 5212 |
. . . . . 6
| |
| 5 | 3, 4 | wcel 956 |
. . . . 5
|
| 6 | vy |
. . . . . . 7
| |
| 7 | 6 | cv 953 |
. . . . . 6
|
| 8 | 7, 4 | wcel 956 |
. . . . 5
|
| 9 | 5, 8 | wa 223 |
. . . 4
|
| 10 | vz |
. . . . . 6
| |
| 11 | 10 | cv 953 |
. . . . 5
|
| 12 | vw |
. . . . . . . . . 10
| |
| 13 | 12 | cv 953 |
. . . . . . . . 9
|
| 14 | caddc 5217 |
. . . . . . . . 9
| |
| 15 | 7, 13, 14 | co 3954 |
. . . . . . . 8
|
| 16 | 15, 3 | wceq 954 |
. . . . . . 7
|
| 17 | 16, 12, 4 | crab 1645 |
. . . . . 6
|
| 18 | 17 | cuni 2498 |
. . . . 5
|
| 19 | 11, 18 | wceq 954 |
. . . 4
|
| 20 | 9, 19 | wa 223 |
. . 3
|
| 21 | 20, 2, 6, 10 | copab2 3955 |
. 2
|
| 22 | 1, 21 | wceq 954 |
1
|
| Colors of variables: wff set class |
| This definition is referenced by: subvalt 5337 subopr 5350 |