Metamath Proof Explorer


Theorem xnn0lenn0nn0

Description: An extended nonnegative integer which is less than or equal to a nonnegative integer is a nonnegative integer. (Contributed by AV, 24-Nov-2021)

Ref Expression
Assertion xnn0lenn0nn0 M 0 * N 0 M N M 0

Proof

Step Hyp Ref Expression
1 elxnn0 M 0 * M 0 M = +∞
2 2a1 M 0 N 0 M N M 0
3 breq1 M = +∞ M N +∞ N
4 3 adantr M = +∞ N 0 M N +∞ N
5 nn0re N 0 N
6 5 rexrd N 0 N *
7 xgepnf N * +∞ N N = +∞
8 6 7 syl N 0 +∞ N N = +∞
9 pnfnre +∞
10 eleq1 N = +∞ N 0 +∞ 0
11 nn0re +∞ 0 +∞
12 elnelall +∞ +∞ M 0
13 11 12 syl +∞ 0 +∞ M 0
14 10 13 syl6bi N = +∞ N 0 +∞ M 0
15 14 com13 +∞ N 0 N = +∞ M 0
16 9 15 ax-mp N 0 N = +∞ M 0
17 8 16 sylbid N 0 +∞ N M 0
18 17 adantl M = +∞ N 0 +∞ N M 0
19 4 18 sylbid M = +∞ N 0 M N M 0
20 19 ex M = +∞ N 0 M N M 0
21 2 20 jaoi M 0 M = +∞ N 0 M N M 0
22 1 21 sylbi M 0 * N 0 M N M 0
23 22 3imp M 0 * N 0 M N M 0