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