Let A be given.
Apply HexV to the current goal.
Let V be given.
Assume HVpair.
We prove the intermediate
claim HAeq:
A = V ∩ A.
We prove the intermediate
claim HVsubR:
V ⊆ R.
We prove the intermediate
claim HA:
A ⊆ R.
Let x be given.
We prove the intermediate
claim HxVA:
x ∈ V ∩ A.
rewrite the current goal using HAeq (from right to left).
An exact proof term for the current goal is HxA.
We prove the intermediate
claim HxV:
x ∈ V.
An
exact proof term for the current goal is
(binintersectE1 V A x HxVA).
An exact proof term for the current goal is (HVsubR x HxV).
∎