Let X, d, x and A be given.
Let t be given.
Let a be given.
We prove the intermediate
claim HaX:
a ∈ X.
An exact proof term for the current goal is (HAsub a HaA).
We prove the intermediate
claim HxaIn:
(x,a) ∈ setprod X X.
We prove the intermediate
claim HdR:
apply_fun d (x,a) ∈ R.
An exact proof term for the current goal is (Hfun (x,a) HxaIn).
An
exact proof term for the current goal is
(metric_on_nonneg X d x a Hm HxX HaX).
rewrite the current goal using Hteq (from left to right).
∎