Let b0 be given.
Apply Hexa to the current goal.
Let a0 be given.
We prove the intermediate
claim Ha0R:
a0 ∈ R.
An
exact proof term for the current goal is
(ReplE R (λbb0 : set ⇒ open_interval a0 bb0) b0 Hb0Fam).
Apply Hexb to the current goal.
Let bb be given.
We prove the intermediate
claim HbbR:
bb ∈ R.
rewrite the current goal using Hb0eq (from left to right).