Let X, d, x, r, y and z be given.
We prove the intermediate
claim HyX:
y ∈ X.
An
exact proof term for the current goal is
(open_ballE1 X d x r y Hy).
We prove the intermediate
claim HzX:
z ∈ X.
An
exact proof term for the current goal is
(open_ballE1 X d x r z Hz).
We prove the intermediate
claim Hxy:
Rlt (apply_fun d (x,y)) r.
An
exact proof term for the current goal is
(open_ballE2 X d x r y Hy).
We prove the intermediate
claim Hxz:
Rlt (apply_fun d (x,z)) r.
An
exact proof term for the current goal is
(open_ballE2 X d x r z Hz).
We prove the intermediate
claim Hyx:
Rlt (apply_fun d (y,x)) r.
rewrite the current goal using Hsymxy (from right to left).
An exact proof term for the current goal is Hxy.
∎