Let X, Tx and A be given.
Apply Hmet to the current goal.
Let d be given.
We prove the intermediate
claim Hd:
metric_on X d.
Apply andI to the current goal.
rewrite the current goal using Hsubeq (from left to right).
rewrite the current goal using Heq (from left to right).
Use reflexivity.
∎