Apply Hexa to the current goal.
Let a be given.
Assume Hapair.
We prove the intermediate
claim HaR:
a ∈ R.
An
exact proof term for the current goal is
(ReplE R (λb0 : set ⇒ open_interval a b0) bU HbUfam).
Apply Hexb to the current goal.
Let b be given.
Assume Hbpair.
We prove the intermediate
claim HbR:
b ∈ R.
rewrite the current goal using HbUeq (from right to left).
An exact proof term for the current goal is H0bU.
We prove the intermediate
claim H0cond:
Rlt a 0 ∧ Rlt 0 b.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a x0 ∧ Rlt x0 b) 0 H0I).
We prove the intermediate
claim H0b:
Rlt 0 b.
An
exact proof term for the current goal is
(andER (Rlt a 0) (Rlt 0 b) H0cond).
Apply HexN to the current goal.
Let N be given.
Assume HNpair.
We prove the intermediate
claim HNO:
N ∈ ω.
We prove the intermediate
claim HsN:
ordsucc N ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc N HNO).
We prove the intermediate
claim HsNnot0:
ordsucc N ∉ {0}.
We prove the intermediate
claim Heq0:
ordsucc N = 0.
An
exact proof term for the current goal is
(SingE 0 (ordsucc N) Hs0).
An
exact proof term for the current goal is
((neq_ordsucc_0 N) Heq0).
We prove the intermediate
claim HyK:
y ∈ K_set.
We prove the intermediate
claim HyU:
y ∈ U.
We prove the intermediate
claim HyR:
y ∈ R.
We prove the intermediate
claim HyPos:
Rlt 0 y.
We prove the intermediate
claim Ha0:
Rlt a 0.
An
exact proof term for the current goal is
(andEL (Rlt a 0) (Rlt 0 b) H0cond).
We prove the intermediate
claim Hay:
Rlt a y.
An
exact proof term for the current goal is
(Rlt_tra a 0 y Ha0 HyPos).
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a x0 ∧ Rlt x0 b) y HyR (andI (Rlt a y) (Rlt y b) Hay Hyltb)).
We prove the intermediate
claim HybU:
y ∈ bU.
rewrite the current goal using HbUeq (from left to right).
An exact proof term for the current goal is HyI.
An exact proof term for the current goal is (HbUsub y HybU).
We prove the intermediate
claim HyV:
y ∈ V.
An exact proof term for the current goal is (HKsubV y HyK).
We prove the intermediate
claim HyUV:
y ∈ U ∩ V.
An
exact proof term for the current goal is
(binintersectI U V y HyU HyV).
We prove the intermediate
claim HyEmpty:
y ∈ Empty.
rewrite the current goal using Hdisj (from right to left).
An exact proof term for the current goal is HyUV.
An
exact proof term for the current goal is
(EmptyE y HyEmpty).
Apply Hexa to the current goal.
Let a be given.
Assume Hapair.
We prove the intermediate
claim HaR:
a ∈ R.
Apply Hexb to the current goal.
Let b be given.
Assume Hbpair.
We prove the intermediate
claim HbR:
b ∈ R.
rewrite the current goal using HbUeq (from right to left).
An exact proof term for the current goal is H0bU.
We prove the intermediate
claim H0cond:
Rlt a 0 ∧ Rlt 0 b.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a x0 ∧ Rlt x0 b) 0 H0bU').
We prove the intermediate
claim H0b:
Rlt 0 b.
An
exact proof term for the current goal is
(andER (Rlt a 0) (Rlt 0 b) H0cond).
Apply HexN to the current goal.
Let N be given.
Assume HNpair.
We prove the intermediate
claim HNO:
N ∈ ω.
We prove the intermediate
claim HsN:
ordsucc N ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc N HNO).
We prove the intermediate
claim HsNnot0:
ordsucc N ∉ {0}.
We prove the intermediate
claim Heq0:
ordsucc N = 0.
An
exact proof term for the current goal is
(SingE 0 (ordsucc N) Hs0).
An
exact proof term for the current goal is
((neq_ordsucc_0 N) Heq0).
We prove the intermediate
claim HyK:
y ∈ K_set.
We prove the intermediate
claim HyR:
y ∈ R.
We prove the intermediate
claim HyPos:
Rlt 0 y.
We prove the intermediate
claim Ha0:
Rlt a 0.
An
exact proof term for the current goal is
(andEL (Rlt a 0) (Rlt 0 b) H0cond).
We prove the intermediate
claim Hay:
Rlt a y.
An
exact proof term for the current goal is
(Rlt_tra a 0 y Ha0 HyPos).
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a x0 ∧ Rlt x0 b) y HyR (andI (Rlt a y) (Rlt y b) Hay Hyltb)).
We prove the intermediate
claim HyV:
y ∈ V.
An exact proof term for the current goal is (HKsubV y HyK).
We prove the intermediate
claim HexbV:
∃bV ∈ B, y ∈ bV ∧ bV ⊆ V.
An exact proof term for the current goal is (HVprop y HyV).
Apply HexbV to the current goal.
Let bV be given.
Assume HbVpair.
We prove the intermediate
claim HbVB:
bV ∈ B.
An
exact proof term for the current goal is
(andEL (bV ∈ B) (y ∈ bV ∧ bV ⊆ V) HbVpair).
We prove the intermediate
claim HbVrest:
y ∈ bV ∧ bV ⊆ V.
An
exact proof term for the current goal is
(andER (bV ∈ B) (y ∈ bV ∧ bV ⊆ V) HbVpair).
We prove the intermediate
claim HybV:
y ∈ bV.
An
exact proof term for the current goal is
(andEL (y ∈ bV) (bV ⊆ V) HbVrest).
We prove the intermediate
claim HbVsubV:
bV ⊆ V.
An
exact proof term for the current goal is
(andER (y ∈ bV) (bV ⊆ V) HbVrest).
Apply Hexc to the current goal.
Let c be given.
Assume Hcpair.
We prove the intermediate
claim HcR:
c ∈ R.
An
exact proof term for the current goal is
(ReplE R (λd0 : set ⇒ open_interval c d0) bV HbVfam).
Apply Hexd to the current goal.
Let d be given.
Assume Hdpair.
We prove the intermediate
claim HdR:
d ∈ R.
rewrite the current goal using HbVeq (from right to left).
An exact proof term for the current goal is HybV.
Apply Hexz to the current goal.
Let z be given.
Assume Hzpair.
We prove the intermediate
claim HznotK:
z ∉ K_set.
We prove the intermediate
claim HzbU:
z ∈ bU.
rewrite the current goal using HbUeq (from left to right).
We prove the intermediate
claim HzU:
z ∈ U.
An exact proof term for the current goal is (HbUsub z HzbU).
We prove the intermediate
claim HzbV:
z ∈ bV.
rewrite the current goal using HbVeq (from left to right).
An exact proof term for the current goal is Hzcd.
We prove the intermediate
claim HzV:
z ∈ V.
An exact proof term for the current goal is (HbVsubV z HzbV).
We prove the intermediate
claim HzUV:
z ∈ U ∩ V.
An
exact proof term for the current goal is
(binintersectI U V z HzU HzV).
We prove the intermediate
claim HzEmpty:
z ∈ Empty.
rewrite the current goal using Hdisj (from right to left).
An exact proof term for the current goal is HzUV.
An
exact proof term for the current goal is
(EmptyE z HzEmpty).
Apply Hexc to the current goal.
Let c be given.
Assume Hcpair.
We prove the intermediate
claim HcR:
c ∈ R.
Apply Hexd to the current goal.
Let d be given.
Assume Hdpair.
We prove the intermediate
claim HyNotK:
y ∉ K_set.
rewrite the current goal using HbVeq (from right to left).
An exact proof term for the current goal is HybV.
An exact proof term for the current goal is (HyNotK HyK).
∎