Let b be given.
Assume Hb.
Let x be given.
Assume Hxb.
Apply Hbprop to the current goal.
Let c be given.
Assume Hbprop2.
Apply Hbprop2 to the current goal.
Let r0 be given.
Assume Hbcore.
We prove the intermediate
claim Hr0:
Rlt 0 r0.
rewrite the current goal using HbEq (from right to left).
An exact proof term for the current goal is Hxb.
Let r be given.
Assume Hrpair.
We use r to witness the existential quantifier.
We prove the intermediate
claim Hxr:
x ∈ r.
We prove the intermediate
claim Hrsubb:
r ⊆ b.
rewrite the current goal using HbEq (from left to right).
An exact proof term for the current goal is Hrsub.
Apply andI to the current goal.
An exact proof term for the current goal is Hr.
Apply andI to the current goal.
An exact proof term for the current goal is Hxr.
An exact proof term for the current goal is Hrsubb.
∎