Description: An integer increased by another integer is an element of a half-open integer range if and only if the integer is contained in the half-open integer range with bounds decreased by the other integer. (Contributed by Alexander van der Vekens, 30-Mar-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | elfzomelpfzo | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | zsubcl | |
|
2 | 1 | ad2ant2rl | |
3 | simpl | |
|
4 | 3 | adantr | |
5 | 2 4 | 2thd | |
6 | simpl | |
|
7 | 6 | adantl | |
8 | zaddcl | |
|
9 | 8 | adantl | |
10 | 7 9 | 2thd | |
11 | zre | |
|
12 | 11 | adantr | |
13 | 12 | adantr | |
14 | zre | |
|
15 | 14 | adantl | |
16 | 15 | adantl | |
17 | zre | |
|
18 | 17 | adantr | |
19 | 18 | adantl | |
20 | 13 16 19 | lesubaddd | |
21 | 5 10 20 | 3anbi123d | |
22 | eluz2 | |
|
23 | eluz2 | |
|
24 | 21 22 23 | 3bitr4g | |
25 | zsubcl | |
|
26 | 25 | ad2ant2l | |
27 | simplr | |
|
28 | 26 27 | 2thd | |
29 | zre | |
|
30 | 29 | adantl | |
31 | 30 | adantr | |
32 | 19 16 31 | ltaddsubd | |
33 | 32 | bicomd | |
34 | 24 28 33 | 3anbi123d | |
35 | elfzo2 | |
|
36 | elfzo2 | |
|
37 | 34 35 36 | 3bitr4g | |