Description: A nonnegative integer is odd iff it is one plus twice another nonnegative integer. (Contributed by AV, 19-Jun-2021)
Ref | Expression | ||
---|---|---|---|
Assertion | oddnn02np1 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eleq1 | |
|
2 | elnn0z | |
|
3 | 2tnp1ge0ge0 | |
|
4 | 3 | biimpd | |
5 | 4 | imdistani | |
6 | 5 | expcom | |
7 | elnn0z | |
|
8 | 6 7 | syl6ibr | |
9 | 2 8 | simplbiim | |
10 | 1 9 | syl6bir | |
11 | 10 | com13 | |
12 | 11 | impcom | |
13 | 12 | pm4.71rd | |
14 | 13 | bicomd | |
15 | 14 | rexbidva | |
16 | nn0ssz | |
|
17 | rexss | |
|
18 | 16 17 | mp1i | |
19 | nn0z | |
|
20 | odd2np1 | |
|
21 | 19 20 | syl | |
22 | 15 18 21 | 3bitr4rd | |