Theorem: GaussInt.norm_eq_zero (MIL/C06_Structures/S03_Building_the_Gaussian_Integers.lean)

State before:
x : GaussInt
⊢ x.norm = 0 ↔ x = 0
Tactic:
rw [norm, sq_add_sq_eq_zero, GaussInt.ext_iff]
State after:
x : GaussInt
⊢ x.re = 0 ∧ x.im = 0 ↔ x.re = re 0 ∧ x.im = im 0

State before:
x : GaussInt
⊢ x.re = 0 ∧ x.im = 0 ↔ x.re = re 0 ∧ x.im = im 0
Tactic:
rfl
State after:
no goals