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 p0 (pa x y) ∈ quaternion.
rewrite the current goal using
octonion_p0_eq x Hx y Hy (from left to right).
We will
prove x ∈ quaternion.
An exact proof term for the current goal is Hx.
∎