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|xx

Detailed syntax breakdown

Step Hyp Ref Expression
0 cgz classi
1 vx setvarx
2 cc class
3 cre class
4 1 cv setvarx
5 4 3 cfv classx
6 cz class
7 5 6 wcel wffx
8 cim class
9 4 8 cfv classx
10 9 6 wcel wffx
11 7 10 wa wffxx
12 11 1 2 crab classx|xx
13 0 12 wceq wffi=x|xx