Metamath Proof Explorer


Theorem nn0enn0exALTV

Description: For each even nonnegative integer there is a nonnegative integer which, multiplied by 2, results in the even nonnegative integer. (Contributed by AV, 30-May-2020) (Revised by AV, 22-Jun-2020)

Ref Expression
Assertion nn0enn0exALTV N 0 N Even m 0 N = 2 m

Proof

Step Hyp Ref Expression
1 nn0e N 0 N Even N 2 0
2 oveq2 m = N 2 2 m = 2 N 2
3 2 eqeq2d m = N 2 N = 2 m N = 2 N 2
4 3 adantl N 0 N Even m = N 2 N = 2 m N = 2 N 2
5 nn0cn N 0 N
6 2cnd N 0 2
7 2ne0 2 0
8 7 a1i N 0 2 0
9 divcan2 N 2 2 0 2 N 2 = N
10 9 eqcomd N 2 2 0 N = 2 N 2
11 5 6 8 10 syl3anc N 0 N = 2 N 2
12 11 adantr N 0 N Even N = 2 N 2
13 1 4 12 rspcedvd N 0 N Even m 0 N = 2 m