Let n, f and i be given.
An exact proof term for the current goal is (Hcoords i Hi).
rewrite the current goal using Hdef (from left to right).
rewrite the current goal using HXi (from left to right).
rewrite the current goal using Hset (from right to left).
An exact proof term for the current goal is Hfi.
∎