Metamath Proof Explorer


Definition df-gz

Description: Define the set of gaussian integers, which are complex numbers whose real and imaginary parts are integers. (Note that the [ _i ] is actually part of the symbol token and has no independent meaning.) (Contributed by Mario Carneiro, 14-Jul-2014)

Ref Expression
Assertion df-gz i = x | x x

Detailed syntax breakdown

Step Hyp Ref Expression
0 cgz class i
1 vx setvar x
2 cc class
3 cre class
4 1 cv setvar x
5 4 3 cfv class x
6 cz class
7 5 6 wcel wff x
8 cim class
9 4 8 cfv class x
10 9 6 wcel wff x
11 7 10 wa wff x x
12 11 1 2 crab class x | x x
13 0 12 wceq wff i = x | x x