rw [Prod.mk.injEq] at h
p q r : ℤ
h : ((p + p, q + q, r + r), Q.e) = ((0, 0, 0), Q.e)
fst snd : Fin 2
⊢ ((p, q, r), Q.e) = ((0, 0, 0), Q.e)
p q r : ℤ
h : (p + p, q + q, r + r) = (0, 0, 0) ∧ Q.e = Q.e
fst snd : Fin 2
⊢ ((p, q, r), Q.e) = ((0, 0, 0), Q.e)