Metamath Proof Explorer


Theorem decltc

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