Metamath Proof Explorer


Theorem dfeven5

Description: Alternate definition for even numbers. (Contributed by AV, 1-Jul-2020)

Ref Expression
Assertion dfeven5 Even = z | 2 gcd z = 2

Proof

Step Hyp Ref Expression
1 iseven5 x Even x 2 gcd x = 2
2 oveq2 z = x 2 gcd z = 2 gcd x
3 2 eqeq1d z = x 2 gcd z = 2 2 gcd x = 2
4 3 elrab x z | 2 gcd z = 2 x 2 gcd x = 2
5 1 4 bitr4i x Even x z | 2 gcd z = 2
6 5 eqriv Even = z | 2 gcd z = 2