Metamath Proof Explorer


Theorem oddp1evenALTV

Description: An integer is odd iff its successor is even. (Contributed by Mario Carneiro, 5-Sep-2016) (Revised by AV, 19-Jun-2020)

Ref Expression
Assertion oddp1evenALTV NNOddN+1Even

Proof

Step Hyp Ref Expression
1 isodd NOddNN+12
2 1 baib NNOddN+12
3 peano2z NN+1
4 3 biantrurd NN+12N+1N+12
5 2 4 bitrd NNOddN+1N+12
6 iseven N+1EvenN+1N+12
7 5 6 bitr4di NNOddN+1Even