Metamath Proof Explorer


Theorem ltsubnn0

Description: Subtracting a nonnegative integer from a nonnegative integer which is greater than the first one results in a nonnegative integer. (Contributed by Alexander van der Vekens, 6-Apr-2018)

Ref Expression
Assertion ltsubnn0 A0B0B<AAB0

Proof

Step Hyp Ref Expression
1 nn0re B0B
2 nn0re A0A
3 ltle BAB<ABA
4 1 2 3 syl2anr A0B0B<ABA
5 nn0sub B0A0BAAB0
6 5 ancoms A0B0BAAB0
7 4 6 sylibd A0B0B<AAB0