Metamath Proof Explorer
Description: Comparing two decimal integers (unequal higher places). (Contributed by Mario Carneiro, 18-Feb-2014) (Revised by AV, 6-Sep-2021)
|
|
Ref |
Expression |
|
Hypotheses |
declt.a |
โข ๐ด โ โ0 |
|
|
declt.b |
โข ๐ต โ โ0 |
|
|
decltc.c |
โข ๐ถ โ โ0 |
|
|
decltc.d |
โข ๐ท โ โ0 |
|
|
decltc.s |
โข ๐ถ < ; 1 0 |
|
|
decltc.l |
โข ๐ด < ๐ต |
|
Assertion |
decltc |
โข ; ๐ด ๐ถ < ; ๐ต ๐ท |
Proof
Step |
Hyp |
Ref |
Expression |
1 |
|
declt.a |
โข ๐ด โ โ0 |
2 |
|
declt.b |
โข ๐ต โ โ0 |
3 |
|
decltc.c |
โข ๐ถ โ โ0 |
4 |
|
decltc.d |
โข ๐ท โ โ0 |
5 |
|
decltc.s |
โข ๐ถ < ; 1 0 |
6 |
|
decltc.l |
โข ๐ด < ๐ต |
7 |
|
10nn |
โข ; 1 0 โ โ |
8 |
7 1 2 3 4 5 6
|
numltc |
โข ( ( ; 1 0 ยท ๐ด ) + ๐ถ ) < ( ( ; 1 0 ยท ๐ต ) + ๐ท ) |
9 |
|
dfdec10 |
โข ; ๐ด ๐ถ = ( ( ; 1 0 ยท ๐ด ) + ๐ถ ) |
10 |
|
dfdec10 |
โข ; ๐ต ๐ท = ( ( ; 1 0 ยท ๐ต ) + ๐ท ) |
11 |
8 9 10
|
3brtr4i |
โข ; ๐ด ๐ถ < ; ๐ต ๐ท |