Metamath Proof Explorer


Theorem declt

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 ๐ด ๐ต < ๐ด ๐ถ

Proof

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 โŠข ๐ด ๐ต < ๐ด ๐ถ