Metamath Proof Explorer


Theorem elgz

Description: Elementhood in the gaussian integers. (Contributed by Mario Carneiro, 14-Jul-2014)

Ref Expression
Assertion elgz A i A A A

Proof

Step Hyp Ref Expression
1 fveq2 x = A x = A
2 1 eleq1d x = A x A
3 fveq2 x = A x = A
4 3 eleq1d x = A x A
5 2 4 anbi12d x = A x x A A
6 df-gz i = x | x x
7 5 6 elrab2 A i A A A
8 3anass A A A A A A
9 7 8 bitr4i A i A A A