Let b be given.
Apply Hexq1 to the current goal.
Let q1 be given.
Assume Hq1pair.
Apply Hq1pair to the current goal.
Apply Hexq2 to the current goal.
Let q2 be given.
Assume Hq2pair.
rewrite the current goal using Hbeq (from left to right).
We prove the intermediate
claim Hq1R:
q1 ∈ R.
We prove the intermediate
claim Hq2R:
q2 ∈ R.
An exact proof term for the current goal is HbInGen.