Let X and T be given.
Assume HT.
We prove the intermediate
claim Hempty:
Empty ∈ T.
We prove the intermediate
claim HX:
X ∈ T.
Let U be given.
rewrite the current goal using HUempty (from left to right).
An exact proof term for the current goal is Hempty.
rewrite the current goal using HUX (from left to right).
An exact proof term for the current goal is HX.
∎