rewrite the current goal using HXQ (from right to left).
An exact proof term for the current goal is Hso.
Let x be given.
Apply HexV to the current goal.
Let V be given.
Assume HVpair.
Apply HVpair to the current goal.
We prove the intermediate
claim HxVQ:
x ∈ V ∩ Q.
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is HxU.
We prove the intermediate
claim HxV:
x ∈ V.
We prove the intermediate
claim HxQ:
x ∈ Q.
We prove the intermediate
claim HxR:
x ∈ R.
Apply Hexab to the current goal.
Let a be given.
Assume Hapak.
Apply Hapak to the current goal.
Let b be given.
Assume Habpack.
Apply Habpack to the current goal.
Assume Hab1 Hxltb.
Apply Hab1 to the current goal.
Assume Hab2 Haltx.
Apply Hab2 to the current goal.
Assume Hab3 HabsubV.
Apply Hab3 to the current goal.
Assume HabR HxInab.
Apply HabR to the current goal.
Assume HaR HbR.
Apply HexRat 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.
Apply Hq2pair to the current goal.
We use Iq to witness the existential quantifier.
Apply andI to the current goal.
We prove the intermediate
claim HIqPow:
Iq ∈ 𝒫 Q.
Apply PowerI to the current goal.
Let y be given.
We use q1 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hq1Q.
We use q2 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hq2Q.
We prove the intermediate
claim HIqInB:
Iq ∈ B.
We prove the intermediate
claim HIqInBold0:
Iq ∈ Bold0.
We prove the intermediate
claim HIqIn:
Iq ∈ (Bold0 ∪ {Q}).
An
exact proof term for the current goal is
(binunionI1 Bold0 {Q} Iq HIqInBold0).
We prove the intermediate
claim HdefB:
B = (Bold0 ∪ {Q}).
rewrite the current goal using HdefB (from left to right).
An exact proof term for the current goal is HIqIn.
An exact proof term for the current goal is HIqInB.
Apply andI to the current goal.
We prove the intermediate
claim HxQprop:
Rlt q1 x ∧ Rlt x q2.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt q1 z ∧ Rlt z q2) x HxInI).
We prove the intermediate
claim Hq1x:
Rlt q1 x.
An
exact proof term for the current goal is
(andEL (Rlt q1 x) (Rlt x q2) HxQprop).
We prove the intermediate
claim Hxq2:
Rlt x q2.
An
exact proof term for the current goal is
(andER (Rlt q1 x) (Rlt x q2) HxQprop).
We prove the intermediate
claim Hord1:
order_rel Q q1 x.
We prove the intermediate
claim Hord2:
order_rel Q x q2.
Let y be given.
We prove the intermediate
claim HyQ:
y ∈ Q.
We prove the intermediate
claim Hq1y:
order_rel Q q1 y.
We prove the intermediate
claim Hyq2:
order_rel Q y q2.
We prove the intermediate
claim HyR:
y ∈ R.
We prove the intermediate
claim Hlt1:
Rlt q1 y.
We prove the intermediate
claim Hlt2:
Rlt y q2.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt q1 z ∧ Rlt z q2) y HyR (andI (Rlt q1 y) (Rlt y q2) Hlt1 Hlt2)).
An exact proof term for the current goal is (HIqSubab y HyInIq).
We prove the intermediate
claim HyV:
y ∈ V.
An exact proof term for the current goal is (HabsubV y HyInab).
We prove the intermediate
claim HyU:
y ∈ V ∩ Q.
An
exact proof term for the current goal is
(binintersectI V Q y HyV HyQ).
rewrite the current goal using HUeq (from left to right).
An exact proof term for the current goal is HyU.