Metamath Proof Explorer


Theorem numlt

Description: Comparing two decimal integers (equal higher places). (Contributed by Mario Carneiro, 18-Feb-2014)

Ref Expression
Hypotheses numlt.1 T
numlt.2 A0
numlt.3 B0
numlt.4 C
numlt.5 B<C
Assertion numlt TA+B<TA+C

Proof

Step Hyp Ref Expression
1 numlt.1 T
2 numlt.2 A0
3 numlt.3 B0
4 numlt.4 C
5 numlt.5 B<C
6 3 nn0rei B
7 4 nnrei C
8 1 nnnn0i T0
9 8 2 nn0mulcli TA0
10 9 nn0rei TA
11 6 7 10 ltadd2i B<CTA+B<TA+C
12 5 11 mpbi TA+B<TA+C