Metamath Proof Explorer
Description: Comparing a digit to a decimal integer. (Contributed by Mario
Carneiro, 18-Feb-2014) (Revised by AV, 6-Sep-2021)
|
|
Ref |
Expression |
|
Hypotheses |
declti.a |
โข ๐ด โ โ |
|
|
declti.b |
โข ๐ต โ โ0 |
|
|
declti.c |
โข ๐ถ โ โ0 |
|
|
declti.l |
โข ๐ถ < ; 1 0 |
|
Assertion |
declti |
โข ๐ถ < ; ๐ด ๐ต |
Proof
Step |
Hyp |
Ref |
Expression |
1 |
|
declti.a |
โข ๐ด โ โ |
2 |
|
declti.b |
โข ๐ต โ โ0 |
3 |
|
declti.c |
โข ๐ถ โ โ0 |
4 |
|
declti.l |
โข ๐ถ < ; 1 0 |
5 |
|
10nn |
โข ; 1 0 โ โ |
6 |
5 1 2 3 4
|
numlti |
โข ๐ถ < ( ( ; 1 0 ยท ๐ด ) + ๐ต ) |
7 |
|
dfdec10 |
โข ; ๐ด ๐ต = ( ( ; 1 0 ยท ๐ด ) + ๐ต ) |
8 |
6 7
|
breqtrri |
โข ๐ถ < ; ๐ด ๐ต |