Description: The difference between two elements in a half-open range of nonnegative integers is greater than the negation of the upper bound and less than the upper bound of the range. (Contributed by AV, 20-Mar-2021)
Ref | Expression | ||
---|---|---|---|
Assertion | subfzo0 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | elfzo0 | |
|
2 | elfzo0 | |
|
3 | nn0re | |
|
4 | 3 | adantr | |
5 | nnre | |
|
6 | nn0re | |
|
7 | resubcl | |
|
8 | 5 6 7 | syl2an | |
9 | 8 | ancoms | |
10 | 9 | 3adant3 | |
11 | 4 10 | anim12i | |
12 | nn0ge0 | |
|
13 | 12 | adantr | |
14 | posdif | |
|
15 | 6 5 14 | syl2an | |
16 | 15 | biimp3a | |
17 | 13 16 | anim12i | |
18 | addgegt0 | |
|
19 | 11 17 18 | syl2anc | |
20 | nn0cn | |
|
21 | 20 | adantr | |
22 | 21 | adantr | |
23 | nn0cn | |
|
24 | 23 | 3ad2ant1 | |
25 | 24 | adantl | |
26 | nncn | |
|
27 | 26 | 3ad2ant2 | |
28 | 27 | adantl | |
29 | 22 25 28 | subadd23d | |
30 | 19 29 | breqtrrd | |
31 | 6 | 3ad2ant1 | |
32 | resubcl | |
|
33 | 4 31 32 | syl2an | |
34 | 5 | 3ad2ant2 | |
35 | 34 | adantl | |
36 | 33 35 | possumd | |
37 | 30 36 | mpbid | |
38 | 3 | adantr | |
39 | 34 | adantl | |
40 | readdcl | |
|
41 | 6 5 40 | syl2an | |
42 | 41 | 3adant3 | |
43 | 42 | adantl | |
44 | 38 39 43 | 3jca | |
45 | nn0ge0 | |
|
46 | 45 | 3ad2ant1 | |
47 | 46 | adantl | |
48 | 5 6 | anim12i | |
49 | 48 | ancoms | |
50 | 49 | 3adant3 | |
51 | 50 | adantl | |
52 | addge02 | |
|
53 | 51 52 | syl | |
54 | 47 53 | mpbid | |
55 | 44 54 | lelttrdi | |
56 | 55 | impancom | |
57 | 56 | imp | |
58 | 4 | adantr | |
59 | 31 | adantl | |
60 | 58 59 35 | ltsubadd2d | |
61 | 57 60 | mpbird | |
62 | 37 61 | jca | |
63 | 62 | ex | |
64 | 2 63 | biimtrid | |
65 | 64 | 3adant2 | |
66 | 1 65 | sylbi | |
67 | 66 | imp | |