Description: Comparing two decimal integers (equal higher places). (Contributed by Mario Carneiro, 17-Apr-2015) (Revised by AV, 6-Sep-2021)
Ref | Expression | ||
---|---|---|---|
Hypotheses | declt.a | โข ๐ด โ โ0 | |
declt.b | โข ๐ต โ โ0 | ||
declt.c | โข ๐ถ โ โ | ||
declt.l | โข ๐ต < ๐ถ | ||
Assertion | declt | โข ; ๐ด ๐ต < ; ๐ด ๐ถ |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | declt.a | โข ๐ด โ โ0 | |
2 | declt.b | โข ๐ต โ โ0 | |
3 | declt.c | โข ๐ถ โ โ | |
4 | declt.l | โข ๐ต < ๐ถ | |
5 | 10nn | โข ; 1 0 โ โ | |
6 | 5 1 2 3 4 | numlt | โข ( ( ; 1 0 ยท ๐ด ) + ๐ต ) < ( ( ; 1 0 ยท ๐ด ) + ๐ถ ) |
7 | dfdec10 | โข ; ๐ด ๐ต = ( ( ; 1 0 ยท ๐ด ) + ๐ต ) | |
8 | dfdec10 | โข ; ๐ด ๐ถ = ( ( ; 1 0 ยท ๐ด ) + ๐ถ ) | |
9 | 6 7 8 | 3brtr4i | โข ; ๐ด ๐ต < ; ๐ด ๐ถ |