Metamath Proof Explorer
Description: If the difference between two numbers is zero, they are equal.
(Contributed by Mario Carneiro, 27-May-2016)
|
|
Ref |
Expression |
|
Hypotheses |
negidd.1 |
|
|
|
pncand.2 |
|
|
|
subeq0d.3 |
|
|
Assertion |
subeq0d |
|
Proof
Step |
Hyp |
Ref |
Expression |
1 |
|
negidd.1 |
|
2 |
|
pncand.2 |
|
3 |
|
subeq0d.3 |
|
4 |
|
subeq0 |
|
5 |
1 2 4
|
syl2anc |
|
6 |
3 5
|
mpbid |
|