We prove the intermediate
claim HXsubX:
X ⊆ X.
Let x be given.
An exact proof term for the current goal is Hx.
We prove the intermediate
claim Hfun:
function_on f X Y.
We prove the intermediate
claim HImsubY:
Im ⊆ Y.
An exact proof term for the current goal is (HLsub Lray HLraySub).
An exact proof term for the current goal is (HLsub Uray HUraySub).
Set U to be the term
Lray ∩ Im.
Set V to be the term
Uray ∩ Im.
We prove the intermediate
claim HUinTim:
U ∈ Tim.
We prove the intermediate
claim HVinTim:
V ∈ Tim.
We prove the intermediate
claim HUsubIm:
U ⊆ Im.
We prove the intermediate
claim HVsubIm:
V ⊆ Im.
We prove the intermediate
claim HUpowIm:
U ∈ 𝒫 Im.
An
exact proof term for the current goal is
(PowerI Im U HUsubIm).
We prove the intermediate
claim HVpowIm:
V ∈ 𝒫 Im.
An
exact proof term for the current goal is
(PowerI Im V HVsubIm).
We prove the intermediate
claim Hdisj:
U ∩ V = Empty.
Let y be given.
We prove the intermediate
claim HyIm:
y ∈ Im.
An
exact proof term for the current goal is
(binintersectE2 Lray Im y HyU).
We prove the intermediate
claim HyY:
y ∈ Y.
An exact proof term for the current goal is (HImsubY y HyIm).
We prove the intermediate
claim HyL:
y ∈ Lray.
An
exact proof term for the current goal is
(binintersectE1 Lray Im y HyU).
We prove the intermediate
claim HyUray:
y ∈ Uray.
An
exact proof term for the current goal is
(binintersectE1 Uray Im y HyV).
We prove the intermediate
claim Hyr:
order_rel Y y r.
An
exact proof term for the current goal is
(SepE2 Y (λx0 : set ⇒ order_rel Y x0 r) y HyL).
We prove the intermediate
claim Hry:
order_rel Y r y.
An
exact proof term for the current goal is
(SepE2 Y (λx0 : set ⇒ order_rel Y r x0) y HyUray).
We prove the intermediate
claim Hyy:
order_rel Y y y.
An
exact proof term for the current goal is
(order_rel_trans Y y r y HsoY HyY Hr HyY Hyr Hry).
Apply FalseE to the current goal.
We prove the intermediate
claim HUne:
U ≠ Empty.
Apply (Hstrict (U ≠ Empty)) to the current goal.
We prove the intermediate
claim HfaIm:
apply_fun f a ∈ Im.
An
exact proof term for the current goal is
(ReplI X (λx0 : set ⇒ apply_fun f x0) a Ha).
We prove the intermediate
claim HfaY:
apply_fun f a ∈ Y.
An
exact proof term for the current goal is
(HImsubY (apply_fun f a) HfaIm).
We prove the intermediate
claim HfaL:
apply_fun f a ∈ Lray.
An
exact proof term for the current goal is
(SepI Y (λx0 : set ⇒ order_rel Y x0 r) (apply_fun f a) HfaY Hfar).
We prove the intermediate
claim HfaU:
apply_fun f a ∈ U.
We prove the intermediate
claim HfbIm:
apply_fun f b ∈ Im.
An
exact proof term for the current goal is
(ReplI X (λx0 : set ⇒ apply_fun f x0) b Hb).
We prove the intermediate
claim HfbY:
apply_fun f b ∈ Y.
An
exact proof term for the current goal is
(HImsubY (apply_fun f b) HfbIm).
We prove the intermediate
claim HfbL:
apply_fun f b ∈ Lray.
An
exact proof term for the current goal is
(SepI Y (λx0 : set ⇒ order_rel Y x0 r) (apply_fun f b) HfbY Hfbr).
We prove the intermediate
claim HfbU:
apply_fun f b ∈ U.
We prove the intermediate
claim HVne:
V ≠ Empty.
Apply (Hstrict (V ≠ Empty)) to the current goal.
We prove the intermediate
claim HfbIm:
apply_fun f b ∈ Im.
An
exact proof term for the current goal is
(ReplI X (λx0 : set ⇒ apply_fun f x0) b Hb).
We prove the intermediate
claim HfbY:
apply_fun f b ∈ Y.
An
exact proof term for the current goal is
(HImsubY (apply_fun f b) HfbIm).
We prove the intermediate
claim HfbUray:
apply_fun f b ∈ Uray.
An
exact proof term for the current goal is
(SepI Y (λx0 : set ⇒ order_rel Y r x0) (apply_fun f b) HfbY Hrfb).
We prove the intermediate
claim HfbV:
apply_fun f b ∈ V.
We prove the intermediate
claim HfaIm:
apply_fun f a ∈ Im.
An
exact proof term for the current goal is
(ReplI X (λx0 : set ⇒ apply_fun f x0) a Ha).
We prove the intermediate
claim HfaY:
apply_fun f a ∈ Y.
An
exact proof term for the current goal is
(HImsubY (apply_fun f a) HfaIm).
We prove the intermediate
claim HfaUray:
apply_fun f a ∈ Uray.
An
exact proof term for the current goal is
(SepI Y (λx0 : set ⇒ order_rel Y r x0) (apply_fun f a) HfaY Hrfa).
We prove the intermediate
claim HfaV:
apply_fun f a ∈ V.
We prove the intermediate
claim Hunion:
U ∪ V = Im.
Let y be given.
Apply (binunionE U V y Hy) to the current goal.
An
exact proof term for the current goal is
(binintersectE2 Lray Im y HyU).
An
exact proof term for the current goal is
(binintersectE2 Uray Im y HyV).
Let y be given.
We prove the intermediate
claim HyY:
y ∈ Y.
An exact proof term for the current goal is (HImsubY y HyIm).
We prove the intermediate
claim HyL:
y ∈ Lray.
An
exact proof term for the current goal is
(SepI Y (λx0 : set ⇒ order_rel Y x0 r) y HyY Hyr).
An
exact proof term for the current goal is
(binintersectI Lray Im y HyL HyIm).
Apply FalseE to the current goal.
We prove the intermediate
claim HrIm0:
r ∈ Im.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HyIm.
An exact proof term for the current goal is (HrnotIm HrIm0).
We prove the intermediate
claim HyUray:
y ∈ Uray.
An
exact proof term for the current goal is
(SepI Y (λx0 : set ⇒ order_rel Y r x0) y HyY Hry).
An
exact proof term for the current goal is
(binintersectI Uray Im y HyUray HyIm).
Apply and6I to the current goal.
An exact proof term for the current goal is HUpowIm.
An exact proof term for the current goal is HVpowIm.
An exact proof term for the current goal is Hdisj.
An exact proof term for the current goal is HUne.
An exact proof term for the current goal is HVne.
An exact proof term for the current goal is Hunion.
Apply FalseE to the current goal.
We prove the intermediate
claim Hnosep:
¬ (∃U0 V0 : set, U0 ∈ Tim ∧ V0 ∈ Tim ∧ separation_of Im U0 V0).
Apply Hnosep to the current goal.
We use U to witness the existential quantifier.
We use V to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HUinTim.
An exact proof term for the current goal is HVinTim.
An exact proof term for the current goal is HsepUV.