Metamath Proof Explorer


Theorem nn0enn0ex

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)

Ref Expression
Assertion nn0enn0ex N 0 N 2 0 m 0 N = 2 m

Proof

Step Hyp Ref Expression
1 simpr N 0 N 2 0 N 2 0
2 oveq2 m = N 2 2 m = 2 N 2
3 2 adantl N 0 N 2 0 m = N 2 2 m = 2 N 2
4 3 eqeq2d N 0 N 2 0 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 2 0 N = 2 N 2
13 1 4 12 rspcedvd N 0 N 2 0 m 0 N = 2 m