Description: Membership of an integer in a finite set of sequential integers starting at 0. (Contributed by Alexander van der Vekens, 25-May-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | elfz2z | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | elfz2nn0 | |
|
2 | df-3an | |
|
3 | 1 2 | bitri | |
4 | nn0ge0 | |
|
5 | 4 | adantr | |
6 | simpll | |
|
7 | 6 | anim1i | |
8 | elnn0z | |
|
9 | 7 8 | sylibr | |
10 | 0red | |
|
11 | zre | |
|
12 | 11 | adantr | |
13 | zre | |
|
14 | 13 | adantl | |
15 | letr | |
|
16 | 10 12 14 15 | syl3anc | |
17 | elnn0z | |
|
18 | 17 | simplbi2 | |
19 | 18 | adantl | |
20 | 16 19 | syld | |
21 | 20 | expcomd | |
22 | 21 | imp31 | |
23 | 9 22 | jca | |
24 | 23 | ex | |
25 | 5 24 | impbid2 | |
26 | 25 | ex | |
27 | 26 | pm5.32rd | |
28 | 3 27 | syl5bb | |