Metamath Proof Explorer


Theorem epoo

Description: The sum of an even and an odd is odd. (Contributed by AV, 24-Jul-2020)

Ref Expression
Assertion epoo AEvenBOddA+BOdd

Proof

Step Hyp Ref Expression
1 evenz AEvenA
2 1 zcnd AEvenA
3 oddz BOddB
4 3 zcnd BOddB
5 addcom ABA+B=B+A
6 2 4 5 syl2an AEvenBOddA+B=B+A
7 opeoALTV BOddAEvenB+AOdd
8 7 ancoms AEvenBOddB+AOdd
9 6 8 eqeltrd AEvenBOddA+BOdd