Let z be given.
Assume Hz.
Let x be given.
Assume Hx.
Let y be given.
Assume Hy Hzxy.
rewrite the current goal using Hzxy (from left to right).
We will
prove p1 (pa x y) ∈ quaternion.
rewrite the current goal using
octonion_p1_eq x Hx y Hy (from left to right).
We will
prove y ∈ quaternion.
An exact proof term for the current goal is Hy.
∎